How to connect VPN via PPTP with Ubuntu

November 28, 2009
Filed under: Featured, Karmic Koala, Ubuntu 

First, I had to install PPTP for NetworkManager

sudo apt-get install network-manager-pptp

Now, we can do setting PPTP VPN.

Just enter gateway, username and password your PPTP VPN will be now ready to work.

But for me, I want to go out to normal internet with my internet router not to go through my office network. I have to do something a bit.

In editing vpn, click on tab IPv4 setting -> Routes.

Enter ip(s) that want to use vpn and netmark.

You can leave another 2 columns, gateway and metric blank.

Thick in box “Use this connection only for resources on its network”


Credit : VPN – Ubuntu Wiki, Howto configure PPTP VPN in Ubuntu Intrepid and Jaunty


One Comment on How to connect VPN via PPTP with Ubuntu

  1. Kim on Fri, 7th May 2010 6:50 am
  2. Good article,

    I will try this setup. Today I’m using there I get unlimited bandwidth for only €5 a month which is fine.

Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image