View Single Post
Old 04-23-2005, 07:10 AM  
airix
Junior Member
 
Join Date: Apr 2005
Posts: 3
Question Why my ioFTPD only work in lan

I install ioFTPD on the computer which is the NAT with two netcard.
one net card's ip is external IP(202.X.X.X), the other's ip is 192.168.1.1 as the gateway of my lan.
in ioFTPD.ini, I have set the host is "host = 0.0.0.0"
and in the Hosts.Rules I only have the next 5 line:

POLICY ACCEPT 1
CLASS NORDIC 25
CLASS ADMIN -1
DENY I 10. "Banned network address"
DENY H .jp "Access from Japan is prohibited"

now ioFTPD works well in my lan, I can login on ip 192.168.1.?
either to connect 192.168.1.1 or to connect external ip (202.X.X.X).
It both ok. but other external ip 202.Y.Y.Y (not 192.168.1.?) can not
connect to 202.X.X.X, why

I have check the listening list with "netstat -ano", it HAS the listening port on 0.0.0.0:2021 (2021 is my ftp port).

I don't know why it works on lan, but can't be conncet by internet?
airix is offline   Reply With Quote