Results 1 to 5 of 5
Hi, well I am running a VPN (Juniper Networks client) and an ifconfig shows me that its opening a tunnel and also adding routing instructions (I think). Anyway the problem ...
- 11-04-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 14
Routing problem (Tunneling)
Hi, well I am running a VPN (Juniper Networks client) and an ifconfig shows me that its opening a tunnel and also adding routing instructions (I think). Anyway the problem is that when I'm connected to the VPN, I lose route to all my local machines and this is getting annoying when I want to use ssh.
Does anyone know how to not route a certain range of IP's through the VPN?
Thanks.
- 11-04-2010 #2
Depends on you network(s).
Something along the lines
Use route after the vpn is established.Code:route add -net <YOUR_NET> netmask <YOUR_NETMASK> dev <YOUR_DEV> and/or route add -net <YOUR_NET> netmask <YOUR_NETMASK> gw <YOUR_GATEWAY
This is jsut a quick hack, maybe that vpn client takes configuration (no idea)
or you can at least wrap the vpn client call + the routes in a script.You must always face the curtain with a bow.
- 11-05-2010 #3
What you want is called "split tunneling" in VPN jargon. You may be able to configure it in the Juniper client, but you may find that the VPN server you're connecting to force pushes a "no split tunnel policy". Many corporate security policies require that they be configured that way to avoid the possibility of the client being used to establish a backdoor route.
- 11-05-2010 #4Just Joined!
- Join Date
- Jul 2010
- Posts
- 14
- 11-06-2010 #5Just Joined!
- Join Date
- Jul 2010
- Posts
- 14
Right, that was stupid.
I figured it out.
Thanks both of you.


Reply With Quote

