Step by step guide to setting up a Windows PPTP VPN client in Ubuntu 8.10

I just upgraded to Ubuntu 8.10 yesterday, and found that the standard method for setting up a PPTP VPN with NetworkManager didn’t work. I followed these steps to get my VPN working. Also note that this helped out a lot, I suggest looking there if this solution doesn’t work for you.

1) You need to install the PPTP plugin for NetworkManager: sudo apt-get install network-manager-pptp

2) Left click on the NetworkManger icon in the top panel (its in the notifications area) and select “VPN Connections -> Configure VPN”

3) Click “Add” and choose PPTP when it asks for type. Fill out the form with the following values:
Connection name:
Gateway:
User name: “NTDOMAINNAME\yourusername”
Leave everything else BLANK, included the NTDOMAIN field.

4) Go to the advanced tab and select “Use Point to Point encryption (MPPE)” also unselect PAP, CHAP, and MSCHAP.

5) Close the menus by clicking “Ok”

6) Go to a terminal as a normal user and type gconf-editor. Go to system->networking->connections->1->vpn

7) Right click on the window and select “New Key”, and add a key called refuse-eap, make it of type “String” and put “yes” in the string field.

8 ) Close gconf-editor and click on NetworkManager, you’ll see your VPN connection, click on it to activate and enter your domain password when prompted.

Hope this helps people who are having issues with PPTP VPNs on Ubuntu 8.10. Leave a comment if it didn’t work, and I’ll see if I can help. Also, tail -f /var/log/syslog can be helpful.

2 Responses to “Step by step guide to setting up a Windows PPTP VPN client in Ubuntu 8.10”

  1. GreggC2006 Says:

    Thanks for this, Ive been trying to get this working for a month!! I’ve had a real ‘Heath Robinson’ situation going on with kvpnc that has fallen over due to it’s ropey nature.

    This should be made into a wizard that pops up when you first press the ‘configure vpn’ button.

  2. Remote desktop via VPN from SUSE 11.1 « Evgeny Pokhilko’s Weblog Says:

    [...] http://pmhaddad.wordpress.com/2009/03/15/step-by-step-guide-to-setting-up-a-windows-pptp-vpn-client-... [...]

Leave a Reply