NetworkManager PPTP Windows-based VPN

by Herb on 7 December 2009

Getting connected:

Configure the connection as you would normally: hostname, username, password, domain (usually blank). Now lets get to the advanced settings that are not so well documented.

Default settings will likely result in LCP (host refused authentication) errors, which indicate that your authentication request is being denied by the server. Windows VPNs can be tricky to connect to, but with the right settings there’s no issue.

Dec  7 10:16:50 chater pppd[3919]: CHAP authentication succeeded
Dec  7 10:16:50 chater pppd[3919]: MPPE 128-bit 40-bit stateless compression enabled
Dec  7 10:16:50 chater pppd[3919]: LCP terminated by peer

Lets disable compression algorithms we know can’t be used in this case. To connect to Windows PPTP servers you need to enable MPPE encryption, easy; but problems above arise if you leave it to networkmanager to determine whether to use 40-bit or 128-bit. Force 128-bit encryption and make sure your advanced configuration looks like this:

nm-pptp vpn advanced configuration

nm-pptp vpn advanced configuration

{ 1 comment… read it below or add one }

Pat 25 June 2011 at 20:02

Thanks for the post, helped me (an awesome noob) conect!

Leave a Comment

Previous post:

Next post: