Displaying 1 result from an estimated 1 matches for "p2p_01".
Did you mean:
p2p_02
2005 Nov 29
0
fwmark port - dual adsl line
...tella
$IPTABLES -t mangle -A PREROUTING -i tun0 -p tcp -m
multiport destination-ports 6346,6347 -j MARK
-set-mark 15
$IPTABLES -t mangle -A PREROUTING -i tun0 -p udp -m
multiport destination-ports 6346,6347 -j MARK
-set-mark 15
Below is the iproute scripting: -
#
ip rule add fwmark 11 table p2p_01
ip rule add fwmark 12 table p2p_02
ip rule add fwmark 13 table p2p_03
ip rule add fwmark 14 table p2p_04
ip rule add fwmark 15 table p2p_05
#
ip route add default via 192.168.3.1 dev eth0 table
p2p_01
ip route add default via 192.168.3.1 dev eth0 table
p2p_02
ip route add default via 192.168.3.1 d...