Displaying 1 result from an estimated 1 matches for "gwipaddr".
Did you mean:
gnipaddr
2005 Jun 08
2
General Traffic Control Question
...tables -t mangle -A OUTPUT -p tcp --dport $PORT3 -j MARK --set-mark 3
iptables -t mangle -A OUTPUT -p tcp --dport $PORT4 -j MARK --set-mark 4
ip rule add fwmark 1 table isp1
ip rule add fwmark 2 table isp2
ip rule add fwmark 3 table isp3
ip rule add fwmark 4 table isp4
ip route add default via $GWIPADDR dev ppp0 table isp1
ip route add default via $GWIPADDR dev ppp1 table isp2
ip route add default via $GWIPADDR dev ppp2 table isp3
ip route add default via $GWIPADDR dev ppp3 table isp4
$PORT1 thru $PORT4 are unique and $GWIPADDR is the same for all 4 ppp links.
Using these rules, data going out o...