Can't login to vsftpd

Kevin Martin kevintm at ameritech.net
Sun Feb 24 16:44:53 UTC 2008


I now think I was using the wrong IP address to try to connect - I was
using my public domain name, which means access from ouside the
firewall.

If instead I use 10.0.0.2 I get a staright: connection refused.

Do I have to tell vsftpd to listen on a special IP address? Shouldn't
10.0.0.2 be equal to localhost on the host OS? I have -net nic -net
user specified.

Or maybe I have to configure the router to forward ports 20/21 to the
host OS. Not sure how to do this at all.
-- Colin Adams Preston Lancashire



What's your firewall?  If it's iptables, do an "iptables-save > somefile" and then vi the somefile and add forwarding rules and make 
sure you accept connections in to the outside for ftp, to the destination host for ftp, and from the destination host for ftp.




for tcpdump you would do something like:

tcpdump -vv -l host <ip_address_of_client_machine_attempting_the_connection>


You'll be able to see what port it's connecting from and to on your host.


Kevin




More information about the fedora-list mailing list