[lvs-users] IPVS with SNAT support on the kernel 2.6.36 + iptables v1.4.10

Malcolm Turnbull malcolm at loadbalancer.org
Tue Nov 9 12:32:09 GMT 2010


On 9 November 2010 09:30, Ivan Havlicek <ivan at modulix.org> wrote:
>
> Hi,
>
> I try to use IPVS with SNAT support on the kernel 2.6.36 + iptables
> v1.4.10 without success :
>
>
> So, Adding the SNAT :
> iptables -t nat -I POSTROUTING -m ipvs --vaddr 88.190.12.128 --vport
> 80 -j SNAT --to-source 10.1.3.254
>

Ivan,
I think you need a subnet mask on the --vaddr i.e.
--vaddr 88.190.12.128/24


--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/




More information about the lvs-users mailing list