baldercm
November 22nd, 2006, 03:58 PM
Hi!
I've setup my ftp server and everything works ok... but only in mi local LAN.
I've dynamic IP address, and I've got a dyndns domain with ddclient, so ddclient it's configured to get the IP from http://checkip.dyndns.org/. I think it's working fine.
My ftp port(2000) and passive ports(60000-60100) are open in my router's (Comtrend CT536+) virtual servers configuration, and I added
MasqueradeAddress mydomain.serveftp.org
PassivePorts 60000 60100
to the proftpd.conf file.
When I start proftp I get
balder@PortatilBalder:~$ sudo /etc/init.d/proftpd restart
* Stopping ftp server proftpd [ ok ]
* Starting ftp server proftpd
- IPv6 getaddrinfo 'PortatilBalder' error: Name or service not known
PortatilBalder - 127.0.1.1:2000 masquerading as 88.10.240.228 [ ok ]
Is that an error or it's ok?
My ftp site can't be accessed from outside my NAT right now and I really need it to work as soon as possible.
I've read some howtos talking about proftp and NAT (like this one (http://www.proftpd.org/localsite/Userguide/linked/config-nat.html)), but it uses ipchains and ipmasqadm, and I use iptables, but don't know how to manage it to achieve the same result.
Thanks
I've setup my ftp server and everything works ok... but only in mi local LAN.
I've dynamic IP address, and I've got a dyndns domain with ddclient, so ddclient it's configured to get the IP from http://checkip.dyndns.org/. I think it's working fine.
My ftp port(2000) and passive ports(60000-60100) are open in my router's (Comtrend CT536+) virtual servers configuration, and I added
MasqueradeAddress mydomain.serveftp.org
PassivePorts 60000 60100
to the proftpd.conf file.
When I start proftp I get
balder@PortatilBalder:~$ sudo /etc/init.d/proftpd restart
* Stopping ftp server proftpd [ ok ]
* Starting ftp server proftpd
- IPv6 getaddrinfo 'PortatilBalder' error: Name or service not known
PortatilBalder - 127.0.1.1:2000 masquerading as 88.10.240.228 [ ok ]
Is that an error or it's ok?
My ftp site can't be accessed from outside my NAT right now and I really need it to work as soon as possible.
I've read some howtos talking about proftp and NAT (like this one (http://www.proftpd.org/localsite/Userguide/linked/config-nat.html)), but it uses ipchains and ipmasqadm, and I use iptables, but don't know how to manage it to achieve the same result.
Thanks