Solved

Windows PPTP VPN and Static Routes

Posted on 2014-11-11
2
290 Views
Last Modified: 2014-11-11
Hi everyone. I'm looking for a way to add a static route automatically when a client connects to the VPN via the Windows PPTP client. If I do the steps manually, everything works fine as intended, but to ask my remote people to perform these steps is asking way too much. The challenge I see is that once the connection is created, the automation would have to be able to get the IP address that was assigned and then create the static route based on that.

I tried adding the static route on the VPN server as part of the RRAS, but it doesn't seem to work. I assume that is because we uncheck the gateway option in the VPN client.
0
Comment
Question by:kommgroup
2 Comments
 
LVL 19

Accepted Solution

by:
Miguel Angel Perez Muñoz earned 500 total points
ID: 40435200
Since you can not inject any route using your VPN server, you can use CMAK to configure a route when VPN is connected: http://blogs.technet.com/b/rrasblog/archive/2007/06/11/split-tunnelling-using-cmak.aspx
0
 

Author Comment

by:kommgroup
ID: 40435446
this looks very promising. thanks!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question