VPN Setup Guide on Linux ( Ubuntu )
Setting up a VPN connection is a bit more involved on a Linux box but for the better as you get easier access to some more advanced functionality. Start by browsing to System » Preferences » Network Connections » VPN.
If you have never setup a VPN connection before there is a good chance that all the buttons, like "Add", are grayed out. Fix this by opening a terminal and running this command:
sudo apt-get install pptp-linux network-manager-pptp
Now go back to the Network Connections window and the VPN tab inside of it; the Add button should now be clickable. Click it, select Point-to-Point Tunneling Protocol (PPTP) in the drop-down and click Create.
Type something like VPNSOLUTION in for Connection name. For Gateway, supply one of the following depending on which you live closest to:
Type in the VPNSOLUTION-provided password and then click Advanced.
In the Authentication section, uncheck all but MSCHAPv2. More on why we're setting that at the end of this post.
In the Security and Compression section, check the box for Use Point-to-Point encryption (MPPE) and select 128-bit (most secure) in the drop-down below it. Then check the box for Allow stateful encryption and click OK and Apply.
If at any point during the VPN setup you see a keyring message like the one below, click Always Allow.
Restart the network manager by running this command in the terminal:
sudo /etc/init.d/network-manager restart
Now you are ready to take your new VPNSOLUTION connection for a test drive. Click the network icon in the taskbar and click on your new VPN connection.
A few seconds later you should be successfully connected!