June 23rd, 2011, 08:27 PM
VPN Route Command
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...
These are how everything is configured once I *think* the tunnel is up and ready, but routing hasn't been adjusted. I can ping 184.108.40.206, 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.
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
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 18.104.22.168
would work, but that causes the tunnel to hang up altogether.
Can anyone help out here?
June 26th, 2011, 08:22 AM
Your default route is set to 192.168.6.1 you probably want to remove that and try again,
See if that helps.