VPN configuration – VPN configuration – Debian 6 Wheezy (Testing) with Gnome Shell

First, make sure your packages are all up to date. It’s easiest/simplest to do in Terminal:

[code]
sudo apt-get update

sudo apt-get upgrade
[/code]

Then, install he proper plugins (Ubuntu has this by default, Debian doesn’t):

[code]
sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-vpnc libnm-glib-vpn-dev network-manager-vpnc-gnome network-manager-pptp-gnome libglib2.0-doc resolvconf
[/code]

I use Gnome Shell, so I press the Meta (Win) key (or move the mouse over to the Activities overview), and type Network Connections. This will launch Gnome NetworkManager. Click on the VPN tab,then Add, and select Point-to-point Tunneling (PPTP) as the protocol. Put in whatever connection name you want, and use vpn3.near.uiuc.edu as the Gateway. Put in your AD username and password, make sure that NT Domain is blank, and then click Advanced… Here, do the following:

uncheck PAP, CHAP, and EAP, leaving MSCHAP and MSCHAP2 checked.

Check ‘Use Point-to-Point Encryption (MPPE)’, and select ’40-bit (less secure)’

Check ‘Allow stateful exception’

Uncheck everything else.

Click Save…

Now, under the Network Manager icon, you will see a VPN section. Turn it on, and Voila!