Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

Windows PPTP VPN and Static Routes

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
kommgroup
Asked:
kommgroup
1 Solution
 
Miguel Angel Perez MuñozCommented:
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
 
kommgroupAuthor Commented:
this looks very promising. thanks!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now