search for: ipaddressoftap0

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

Did you mean: ipaddressofppp0
2004 Oct 15
1
mark & owner for local connections
Hi, Host A has two interfaces: eth0, tap0. I want that all locally generated traffic from user 1004 goes through tap0. This is what I did: iptables -A OUTPUT -t mangle -m owner --uid-owner 1004 -j MARK --set-mark 2 echo 202 bigmac.out >> /etc/iproute2/rt_tables ip rule add fwmark 2 table bigmac.out ip route add default via 10.0.0.1 dev tap0 table bigmac.out ip route flush cache