Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

4 Answers 4

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.

share|improve this answer
    
Never worked for me. Don't know why... –  splattne May 6 '09 at 13:34

I'd recommend you configure your DHCP server to provide the proper routes to the client via option 121, "Classless Static Routes". The VPN client's DHCP client will send a DHCPINFORM after connecting to the VPN and should receive the routes from the DHCP server. This works in Windows 7 and, if memory serves, in both Vista and XP as well.

share|improve this answer

Not really an answer, but I know that openvpn can do this.

share|improve this answer

You can add the routes via a DHCP option, I think it's 249. Add it to the scope that is providing addresses ro RRAS server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.