LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Lvs and Trans-Proxy

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Lvs and Trans-Proxy
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Fri, 24 Jun 2005 11:40:00 -0700 (PDT)
On Fri, 24 Jun 2005, Bikrant Neupane wrote:


Director Configuration:

ipvsadm -A -f 1 -s sh
ipvsadm -a -f 1 -r 202.79.xx.241:80

I don't think you need the :80 here. For LVS-DR it's just
ignored now.

iptables -t mangle -A PREROUTING -p tcp --dport 80 -j MARK --set-mark 1

//magic commands for me
ip rule add prio 100 fwmark 1 table 100
ip route add local 0/0 dev lo table 100

I looked in the HOWTO in section 10.17.1,
having forgotten what's in there, to find
that a lot of what you were looking for is in there.

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!

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