[ILUG-BOM] Regarding accessing public ip in lan

Mehul Ved mehul.n.ved at gmail.com
Fri Oct 8 10:34:03 IST 2010


On Fri, Oct 8, 2010 at 10:17 AM, Dattatray Kamble <meet2dsk at gmail.com> 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.

You need to forward the port on your proxy server using iptables.
An example http://www.debian-administration.org/articles/73


-- 
With Regards,
Mehul Ved


More information about the Linuxers mailing list