ftp virtualhost

Discussion in 'General' started by Hellbound, Jan 1, 2008.

  1. Hellbound

    Hellbound New Member

    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:

    Code:
    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
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Please forward the ports 20 and 21 from your router to your FTP server.
     
  3. Hellbound

    Hellbound New Member

    I didn't do anything and it is working, I gotta check again what happened
     
  4. Rockdrala

    Rockdrala New Member

    It may have taken time for your dns to delegate.

    Thats why it may work now.
     

Share This Page