Windows – How to automatically assign a route to client in Windows Server PPTP VPN

networkingstatic-routestcpipvpnwindows

Is there a way to configure PPTP VPN on Windows Server which automatically tells the client to add a route for the private network?

I have to do it manually on every PC (once) using following command for example:

 route add 192.168.111.0 mask 255.255.255.0 192.168.112.101 -p

and assigning a fixed IP address for every account.

Best Answer

I haven't actually tried it, but I believe this should do what you want if you're using a windows (?2003+) domain.

At the bottom of the 'Dial-in' tab of the active directory user properties for the user you want to enable it for there's an 'Apply static routes' checkbox, and a button for entering those routes.

Related Topic