Link to home
Create AccountLog in
Avatar of kommgroup
kommgroup

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Miguel Angel Perez Muñoz
Miguel Angel Perez Muñoz
Flag of Spain image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of kommgroup
kommgroup

ASKER

this looks very promising. thanks!