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

To: " 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


Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at
Homepage It's GNU/Linux!

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

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