PDA

View Full Version : ftp virtualhost


Hellbound
1st January 2008, 21:28
hi guys

I don't know how to setup my ftp server that is behind the nat to respond according to the domain name.

if I connect to BLAHBLAH.com it won't accept user/pass I only have to connect to local ip address: 192.168.1.100 to connect to ftp server and accept the password.

but again if I connect using PASV it won't connect and it takes forever to load, but using PORT it works so I added this to conf file but stilll the same:

MasqueradeAddress www.persiasys.com # using a DNS name
PassivePorts 20201 20400

I also forwarded the port from 20201-20400 to local ip but still doesn't work

falko
1st January 2008, 23:06
Please forward the ports 20 and 21 from your router to your FTP server.

Hellbound
1st January 2008, 23:12
I didn't do anything and it is working, I gotta check again what happened

Rockdrala
6th January 2008, 00:12
It may have taken time for your dns to delegate.

Thats why it may work now.