Connect to a Microsoft PPTP VPN

From Knowledge76

Jump to: navigation, search

Feisty/Edgy

You will need NetworkManager installed:
Code:

sudo apt-get install network-manager-gnome network-manager-pptp

Then, a network icon will appear in your notification area. Select it, and then select VPN Connections > Configure VPN. Add your VPN to the list, and then in the terminal do the following:

Code:

sudo NetworkManager restart

Click the icon again, and go to VPN Connections and then select your VPN. Voila. You're connected!

Dapper/Breezy/Hoary
After much searching for how to connect to a plain old PPTP VPN, I finally figured out how to do it, and since there's no guide on here that doesn't relate to the Cisco client, I figured I'd post one. The source of this information is at the bottom of the post. Here goes:

1. First, you need to install the pptp-client for Linux. Open up the terminal and type in:

Code:

sudo apt-get install pptp-linux

2. Next, you will need to add a source to your sources.list file. Here's how.
Run this command.

Code:

sudo gedit /etc/apt/sources.list

When the window pops up (gedit), append the following lines to the end of the file:

Code:

  1. James Cameron's PPTP GUI packaging

deb http://quozl.netrek.org/pptp/pptpconfig ./

Save it and close gedit.

3. Run these commands in the terminal:

Code:

sudo apt-get update sudo apt-get install pptpconfig

4. To run pptpconfig, simply use this command in the terminal:

Code:

sudo pptpconfig

    • NOTE: You must run pptpconfig as root, otherwise, it will not work.

5. Enter in the info for your VPN to the GUI, click "Add," select the server you just added by clicking on it, and then hit "Start." Make sure that your options are set, as well. If you are unsure of what options your VPN needs, contact your system administrator.

For a more complete guide, check out this site: http://pptpclient.sourceforge.net/ho....phtml#install

Personal tools