On Friday 08 October 2010 10:17 AM, Dattatray Kamble wrote:
Hi,
The setup is as follows --
Internet ---> Proxy (Squid) ------> FTP server eth0-192.y.y.y 192.y.y.y eth1-118.x.x.x
I have few public IP's. I want to nat a public ip to FTP server.So that anyone can access FTP
server from outside. FTP configured with port no 1111 with listen_port=1111. It is working fine --#ftp 192.y.y.y:1111 I want this should work with public ip& same port no.
If you want a particular machine on lan to be accessible from outside then you have to forward the port traffic from the public ip to your private machine ip in your routing device like ADSL router, firewall (iptables) box, etc. Use static ips for those LAN machines.