search for: ipaddressoftheohtergateway

Displaying 1 result from an estimated 1 matches for "ipaddressoftheohtergateway".

2006 Oct 05
0
Re: LARTC Digest, Vol 20, Issue 4
...ther link (link2) , via this link, web traffic will be routed. echo 210 link1 >> /etc/iproute2/rt_tables echo 211 link2 >> /etc/iproute2/rt_tables ip route add ipaddressofonegateway dev eth0 table link1 ip route add default via ipaddressofonegateway dev eth0 table link1 ip route add ipaddressoftheohtergateway dev eth1 table link2 ip route add default via ipaddressoftheohtergateway dev eth1 table link2 iptables -t mangle -A OUTPUT -p tcp --dport 80 -j MARK --set-mark 1 ip rule add fwmark 1 pri 100 table link2 iptables -t nat -o eth1 -j SNAT --to-source ipaddressofeh1 echo 0 > /proc/sys/net/ipv4/co...