[nylug-talk] dumb iptables question...how to translate from one IP to another?
Brian Gupta
brian.gupta at gmail.com
Thu Jan 3 21:42:33 EST 2008
Something like?:
forward:proto=tcp dest=64.181.214.4 dport=80:192.168.1.227:8001
On Jan 3, 2008 7:40 PM, Henning Follmann <hfollmann at itcfollmann.com> wrote:
> On Thu, Jan 03, 2008 at 06:53:47PM -0500, C Thala wrote:
> > 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?
>
> I think what you are looking for is "proxy arp".
> google for it.
>
> Henning
>
> --
> Henning Follmann | hfollmann at itcfollmann.com
> it consultant | www.itcfollmann.com
>
>
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>
--
- Brian Gupta
http://opensolaris.org/os/project/nycosug/
More information about the nylug-talk
mailing list