Problems with LVS+heartbeat+ldirectord+iptables w/ SNAT/DNAT

Siim Põder windo at p6drad-teel.net
Wed Jan 31 12:36:41 GMT 2007


Yo!

Ordway, Ryan wrote:
>> But then, of course when I get a connection on 192.168.1.100, the
>> director sends the packets to the real server, the real server shoots
>> back its response, but the POSTROUTING rule rewrites the source to the
>> "direct" IP, 192.168.1.3 instead of the load balanced IP. I just
> haven't
>> figured out a simple way to change the SNAT address depending on the
>> source of the initial communication, the virtual IP.

Should be a fairly standard module:

iptables -m conntrack --ctorigdst ...

Helps?

Siim Põder

Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list