ftp doesnt accept non-local connections
im running redhat 9 with vsftpd, and for some strange reason only local connections can connect to my box via ftp. firewall is set to accept ftp, http, ssh, dhcp.. it allows http connections from non local users and ssh, just not ftp...
heres vsftpd.conf --- anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES xferlog_std_format=YES ascii_upload_enable=YES ascii_download_enable=YES ftpd_banner=You are being watched. pam_service_name=vsftpd userlist_enable=NO listen=YES tcp_wrappers=YES passwd_chroot_enable=YES chroot_local_user=YES --- any ideas? |
It does sound like a firewall problem can you post the output of:
iptables -L |
Oh - what error do you get from the clients?
|
a
iptables -L
Chain INPUT (policy ACCEPT) target prot opt source destination RH-Lokkit-0-50-INPUT all -- anywhere anywhere Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Lokkit-0-50-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Lokkit-0-50-INPUT (2 references) target prot opt source destination ACCEPT udp -- ns5.attbi.com anywhere udp spt:domain dpts: 1025:65535 ACCEPT udp -- ns2.attbi.com anywhere udp spt:domain dpts: 1025:65535 ACCEPT tcp -- anywhere anywhere tcp dpt:http flags:S YN,RST,ACK/SYN ACCEPT tcp -- anywhere anywhere tcp dpt:ftp flags:SY N,RST,ACK/SYN ACCEPT tcp -- anywhere anywhere tcp dpt:ssh flags:SY N,RST,ACK/SYN ACCEPT udp -- anywhere anywhere udp spts:bootps:boot pc dpts:bootps:bootpc ACCEPT udp -- anywhere anywhere udp spts:bootps:boot pc dpts:bootps:bootpc ACCEPT all -- anywhere anywhere REJECT tcp -- anywhere anywhere tcp flags:SYN,RST,AC K/SYN reject-with icmp-port-unreachable REJECT udp -- anywhere anywhere udp reject-with icmp -port-unreachable when attempting to connect i get a generic error message basically stating there it no connection to the server whatsoever |
All times are GMT -5. The time now is 03:38 PM. |