Displaying 1 result from an estimated 1 matches for "vpn_to_server2".
Did you mean:
vpn_to_server3
2012 May 03
1
Strange behaviour of ssh client on arch
...erver 1 - IP 10.1.0.1 (on server 2) and IP
10.1.0.6 (on server 1)
I mark the traffic of the tunnel with the owner (me => uid 2000):
iptables -t mangle -I OUTPUT -m owner --uid-owner 2000 -j MARK
--set-mark 0x1
and add a rule on server 1 with iproute2:
ip rule from 123.1.1.1 fwmark 0x1 lookup vpn_to_server2
This table sets the default gateway on tun0, so the traffic is
redirected. I can connect to server 1 and surf the web with the ip of
server 2 - fine!
Server 3 is in a remote network, let's say public ip 132.1.1.3. It is
connected on tun1 with server 1 - IP 10.2.0.1 (on server3) an IP
10.2.0.6...