Re: [squid-users] squid prosy with multi wan links and load balancer

2010-03-02 Thread luke
why iptables can't not control the traffic iptables can not control the initial ip assignment of outgoing connections, that's done by the routing table. You created a multilink default gateway route, and here the routing table distributes traffic among those links, which also means outgoing con

Re: [squid-users] squid prosy with multi wan links and load balancer

2010-03-02 Thread Henrik Nordström
tis 2010-03-02 klockan 09:05 +0800 skrev luke: > why iptables can't not control the traffic iptables can not control the initial ip assignment of outgoing connections, that's done by the routing table. You created a multilink default gateway route, and here the routing table distributes traffic

Re: [squid-users] squid prosy with multi wan links and load balancer

2010-03-01 Thread Amos Jeffries
On Tue, 2 Mar 2010 09:05:53 +0800, "luke" wrote: > hi all > my netowrk interface > eth0 wan1 > eht1 wan2 > ent2 wan3 > eth3 lan 192.168.1.0/24 > > my iptable T1 > wan1 ip dev eth0 scope link > 192.168.1.0/24 dev eth3 scope link > default via wan1's dev eth0 > > iptables -t mangle -A PREROUTING -

[squid-users] squid prosy with multi wan links and load balancer

2010-03-01 Thread luke
hi all my netowrk interface eth0 wan1 eht1 wan2 ent2 wan3 eth3 lan 192.168.1.0/24 my iptable T1 wan1 ip dev eth0 scope link 192.168.1.0/24 dev eth3 scope link default via wan1's dev eth0 iptables -t mangle -A PREROUTING -s 192.168.1.0/24 -j MARK --set-mark 1 http traffic not follow the iptables