LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] NAT in POSTROUTING and LVS possible?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] NAT in POSTROUTING and LVS possible?
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Fri, 16 Apr 2010 02:12:23 -0700 (PDT)
On Fri, 16 Apr 2010, Michael Schwartzkopff wrote:

> Hi,
>
> I have a situation where I want to use NAT (masq) for my LVS service but
> cannot change the routing table of my real servers. So I thought adding a rule
> to my iptables like:
>
> iptables -t nat -A POSTROUTING -p tcp --dport 80 -d <realservers> \
>  -j SNAT --to-source DIP
>
> so the director would masquerade the source of all packets and thus all
> packates would be routed back to the director and NAT mech would work.

look in the HOWTO for F5-SNAT

Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>