Community Support Forum
 
  OpenVPN.net  •  Forum Index  •  FAQ  

It is currently Wed May 16, 2012 2:57 pm




Post new topic Reply to topic  [ 7 posts ] 
 Split tunnel tweaks? 
Author Message
 Post subject: Split tunnel tweaks?
PostPosted: Tue Oct 05, 2010 8:38 am 
OpenVpn Newbie

Joined: Tue Oct 05, 2010 8:34 am
Posts: 3
Heya,

So, I have a cool little openvpn server, works great. I have all client traffic being routed through the VPN server, so no split tunneling enabled. But, on a couple client hosts, I'm finding the need to have one type of traffic (to one network specifically) NOT go through the VPN. Does anyone know if there is a way *on the client side* to add a route to a network such that it will not go through the VPN, but all other traffic to all other networks goes through the VPN?

Thanks for any advice!!


Offline
 Profile  
 
 Post subject: Re: Split tunnel tweaks?
PostPosted: Tue Oct 05, 2010 8:44 am 
I should be on the dev team.
User avatar

Joined: Fri Aug 29, 2008 5:42 pm
Posts: 652
viewtopic.php?f=12&t=7065
he came in the IRC channel, figured it out, and i asked him to post there because i KNEW it would help someone later :D


Offline
 Profile  
 
 Post subject: Re: Split tunnel tweaks?
PostPosted: Tue Oct 05, 2010 8:59 am 
OpenVpn Newbie

Joined: Tue Oct 05, 2010 8:34 am
Posts: 3
Thanks! I think I'm closer but still no dice... I added this to my client.conf (under linux):

push "route 155.98.10.0 255.255.252.0 155.98.50.1"
push "redirect-gateway def1"

but it still doesn't seem to work... Forgive my ignorance here... ;) I don't see a 'route add' command in the logs for that network when the client fires up. Maybe I'm getting the syntax wrong?

Thanks again!


Offline
 Profile  
 
 Post subject: Re: Split tunnel tweaks?
PostPosted: Tue Oct 05, 2010 9:08 am 
I should be on the dev team.
User avatar

Joined: Fri Aug 29, 2008 5:42 pm
Posts: 652
he added those to his SERVER
you can not push from client to server
your server already pushes redirect-gateway to you
just use this:
route 155.98.10.0 255.255.252.0 net_gateway
in your client config

note, net_gateway is a variable accepted by openvpn, do not replace it with an IP


Offline
 Profile  
 
 Post subject: Re: Split tunnel tweaks?
PostPosted: Tue Oct 05, 2010 9:45 am 
OpenVpn Newbie

Joined: Tue Oct 05, 2010 8:34 am
Posts: 3
Gravy! That did the trick! Thanks so much.


Offline
 Profile  
 
 Post subject: Re: Split tunnel tweaks?
PostPosted: Thu Dec 22, 2011 11:50 am 
OpenVpn Newbie

Joined: Thu Dec 22, 2011 11:46 am
Posts: 1
I have a local server running Small Business Server 2008 that has a bunch of data on it.

I have a server running Windows Server 2008 R2 that is hosted out on the internet (Rackspace).

I need to securely copy some data from the SBS server to the Rackspace server. My first thought was that since VPN is already configured on the SBS server, I would just set up a connection from the Rackspace server to the SBS server and copy the files I need that way. However when I establish the VPN connection I lose RDP access to the Rackspace server. I believe what I need to do is allow split tunneling, is that right? Can anyone point me in the right direction on either how to do that, or give me another suggestion on how to securely copy the files between servers? I am not opposed to loading (free) software on either server for this purpose but I can't buy anything just for this purpose.


Offline
 Profile  
 
 Post subject: Re: Split tunnel tweaks?
PostPosted: Sun Dec 25, 2011 11:04 am 
I should be on the dev team.
User avatar

Joined: Wed Sep 22, 2010 3:18 am
Posts: 1180
Just reconnect to the server with RDP using its VPN ip.


Offline
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


 Who is online 

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


phpBB SEO
[ Time : 0.060s | 11 Queries | GZIP : On ]

 
Index  |  FAQ


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group