On my Linux box, I got a tun0 dev by ipip like:
tun0 Link encap:IPIP Tunnel HWaddr
inet addr:10.10.10.2 P-t-P:10.10.10.1 Mask:255.255.255.255
and I running a ipsec vpn server(ipsec-tools) on this box, how can I route all vpn traffic through the dev tun0 on the server, (like Openswan's leftnexthop ).
my vpn client got ip address like 10.9.0.1.
0 Answers