LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] full-nat support in mainline kernel?

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] full-nat support in mainline kernel?
From: Stefan Bauer <stefan.bauer@xxxxxxxxxxx>
Date: Fri, 1 Feb 2013 10:43:16 +0100
-----Ursprüngliche Nachricht-----
Von:    Jan Kasprzak <kas@xxxxxxxxxx>
> for ldirectord:
> 
> virtual=virtualip:srvport
>       real=realserver1:srvport masq 100
>       real=realserver2:srvport masq 100
>       [... scheduler and other parameters omitted for brevity ...]
> 
> for iptables:
> 
> iptables -t nat -A POSTROUTING -d realserver1 \
>       -p tcp --dport srvport -j MASQUERADE
> iptables -t nat -A POSTROUTING -d realserver2 \
>       -p tcp --dport srvport -j MASQUERADE
> 
> Is this what you are looking for?

Well, a simple SNAT is what i want but i prefer to get it done by ipvsadm/ip_vs 
in Kernel. Thats how i understood the implementation by Jiaming Wu and Jian 
Chen according to 
http://kb.linuxvirtualserver.org/wiki/IPVS_FULLNAT_and_SYNPROXY. I just dont 
want to mess in userland with iptables manually.

Cheers

Stefan

_______________________________________________
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>