Solved

Windows PPTP VPN and Static Routes

Posted on 2014-11-11
2
297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Move WSUS to Server 2016 3 42
ESXI update version 5.5.0.1623387 7 74
Hyper v replication 9 41
Windows 2008 Server Mouse Stops 5 20
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Configuring Remote Assistance for use with SCCM
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…

752 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