[nylug-talk] dumb iptables question...how to translate from one IP to another?

C Thala cthala at gmail.com
Thu Jan 3 18:53:47 EST 2008


I have two boxes set up, gw, and local.

On gw, I have a public IP setup. I want all connections on this public
IP to be translated to the local box on its local IP.


So if the public ip is 64.233.1.4 and the private IP is 192.168.1.1

I want a connection to 64.233.1.4 port 75 to go to 192.68.1.1 port 75.

I think I want NAT here, but I am not sure. I basically want something
like pound or haproxy.

Suggestions?


More information about the nylug-talk mailing list