Windows PPTP VPN and Static Routes

kommgroup
kommgroup used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
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

Author

Commented:
this looks very promising. thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial