FlyerTalk Forums - View Single Post - Selective VPN tunnel?
View Single Post
Old Apr 6, 2009 | 10:03 am
  #15  
star_world
Suspended
 
Join Date: Jan 2001
Location: ORD / DUB / LHR
Programs: UA 1K MM; BA Silver; Marriott Plat
Posts: 8,240
Originally Posted by gfunkdave
Ah yes, I thought I'd be using the trusty route add command.

Each of our locations has a different subnet on the 192.168.x.x scheme. The one I connect to is 192.168.134.0. I'm quite happy to just make a blanket route for all 192.168.0.0/16 addresses to go through VPN. The only thing is that our router here (a Linksys home router) allocates IPs on the 192.168.1.0/24 network. How do I add that route properly?
If you add a route for the 192.168.1.0/24 that points at the default gateway (192.168.1.1)? in addition to the 192.168.0.0/16 route then this will be seen as a more specific route and should still work. Alternatively you could change it to 10.x.x.x to make things even easier.
star_world is offline