LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Cannot get ipvs fwmark service to work

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Cannot get ipvs fwmark service to work
From: "Mindaugas" <mind@xxxxx>
Date: Mon, 9 Oct 2006 16:20:20 +0300

 ipvsadm -Sn shows:
-A -f 1 -s wlc -p 10
-a -f 1 -r 192.168.110.10:0 -m -w 1

Reread documentation and found myself. The problem was that LVS handles packets on LOCAL_IN and my passing packets did not get there. Now I made those packets as local using "ip rule add prio 1000 fwmark 1 table 100;ip route add local 0/0 table 100 dev lo" and LVS started to handle them.

 Now little question. I changed setup above to:
-A -f 1 -s wlc -p 10
-a -f 1 -r 192.168.110.10:3128 -m -w 1

But packets are still redirected to 192.168.110.10:80. Is it possible to redirect them to port 3128 or I have to reconfigure Squid or add REDIRECT to port 3128 rule on realservers?

 Mindaugas


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