I'm trying to route some traffic but cannot figure out the route commands necessary. I'm setting up a VPN tunnel but no matter what I try I cannot seem to get all traffic routed through the tunnel...here are some numbers that may help...
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.35.117 * 255.255.255.255 UH 0 0 0 ppp0
192.168.6.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.6.1 0.0.0.0 UG 0 0 0 wlan0
default 192.168.6.1 0.0.0.0 UG 100 0 0 wlan0
ppp0 Link encap:Point-to-Point Protocol
inet addr:220.127.116.11 P-t-P:192.168.35.117 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400
Link encap: Ethernet inet addr:192.168.6.104 Bcast:192.168.6.255 Mask:255.255.255.0
These are how everything is configured once I *think* the tunnel is up and ready, but routing hasn't been adjusted. I can ping 18.104.22.168, and traceroute shows it as 1 hop away. I cannot ping 192.168.35.117. I can connect to external sites, but it's not going through the tunnel.
I've tried a handful of stuff seen across the net while trying to get it to work. The majority of `route add` commands I enter result in a no such process error. A few are actually successful, but either cause me to lose connection altogether, or kills the tunnel.
I thought maybe
route add default gw 22.214.171.124
would work, but that causes the tunnel to hang up altogether.
Can anyone help out here?