Displaying 1 result from an estimated 1 matches for "easynews1".
Did you mean:
easynews
2004 Mar 31
0
load balance a file download across two connections - success!
...uot;
$IPTABLES -A PREROUTING -i $IFI -t mangle -p tcp --dport 80 -j MARK
--set-mark 1
$IPTABLES -A PREROUTING -i $IFI -t mangle -p tcp --dport 81 -j MARK
--set-mark 2
# I manually added tables 206 and 207 to rt_tables, but for a one time
config you could uncomment
# the two lines below
#echo 206 easynews1.out >> /etc/iproute2/rt_tables
#echo 207 easynews2.out >> /etc/iproute2/rt_tables
ip rule add fwmark 1 table easynews1.out
ip rule add fwmark 2 table easynews2.out
ip route add $EASYNEWS via $GWE1 dev $IFE1 table easynews1.out
ip route add $EASYNEWS via $GWE2 dev $IFE2 table easynews2.o...