Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Any way to -only- have Remote Desktop connection use my VPN?

Status
Not open for further replies.

gchet

Technical User
Oct 11, 2006
3
CA
Is there any way to have it so that only my Remote Desktop connection uses my VPN?

There are certain programs on my local system that I'd like to run just through my LAN, but as soon as I connect to my office's VPN it takes over all network access. Is there any way to have everything go through the LAN and only have Remote Desktop use the VPN?
 
What VPN client are you using? You need to use "Split Tunnelling", which may or may-not be configurable on your end.
 
I'm just using whatever it is that comes with XP, nothing fancy.

I actually saw some discussions online about split tunelling, and I looked around in the settings but couldn't find anything like that.

I'm guessing I'd need to use some other type of VPN software to connect to my office in order to do this?
 
Split Tunnelling is a concept, not a specific setting.

If you're using the built in VPN client then you want to disable the default remote gateway option.

Open the DialUp networking connection, goto:
-Properties
-Networking
-Select "Internet Protocal (TCP/IP)"
-Click Properties
-Click Advanced
-On the "General" tab, UNCHECK the option "Use Default Gateway on Remote Network" option
 
Well that seemed to work like a charm in regards to running local programs through my LAN that are blocked through my VPN (and would previously not connect), but now my Remote Desktop won't connect.

The IP I connect to for my RD is a local 10.x.x.x IP, which is why I need the VPN running first, but now it won't connect.
 
Ok, what IP are you getting assign via VPN? It sounds like the RD is in a different subnet then the VPN IP. What the setting change I gave you does is send all traffic in the same subnet as yout VPN IP up the tunnel and everything thing else stays local.

If you need to send a second subnet up the tunnel then you need to adjust the routing table.

Once you connect to your VPN, do a IPCONFIG and post the full IPAddress and Subnet Mask that is bind to the VPN Adapter (it will be 10.xxx or 192.xxx or 153.xxxx)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top