Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 23rd, 2011, 08:27 PM
Superman859 Superman859 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2007
Posts: 313 Superman859 User rank is Sergeant Major (2000 - 5000 Reputation Level)Superman859 User rank is Sergeant Major (2000 - 5000 Reputation Level)Superman859 User rank is Sergeant Major (2000 - 5000 Reputation Level)Superman859 User rank is Sergeant Major (2000 - 5000 Reputation Level)Superman859 User rank is Sergeant Major (2000 - 5000 Reputation Level)Superman859 User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 9 h 51 m 59 sec
Reputation Power: 29
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...

Code:
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:206.222.178.239  P-t-P:192.168.35.117  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  

wlan0     
          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 206.222.178.239, 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 206.222.178.139

would work, but that causes the tunnel to hang up altogether.

Can anyone help out here?

Reply With Quote
  #2  
Old June 26th, 2011, 08:22 AM
Eddie_D Eddie_D is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 15 Eddie_D User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 h 59 m 32 sec
Reputation Power: 0
Hi,

Your default route is set to 192.168.6.1 you probably want to remove that and try again,

Quote:
route del default gw 192.168.6.1


See if that helps.

Eddie

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > VPN Route Command

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap