VPNUK - The Virtual Private Network Specialists
Setting up PPTP VPN access under Ubuntu GNU/Linux.
This tutorial describes how to configure and setup a PPTP VPN connection in Ubuntu GNU/Linux using the network manager.
First you will need to install the Ubuntu PPTP VPN package:
One way to do that is to install the Ubuntu network-manager-pptp package with synaptic:
1. Go to System -> Administration -> Synaptic Package Manager and open Synaptic.
2. Search for 'vpn'.
3. Press the install button.

Another way is to install the Ubuntu network-manager-pptp package is from the command line: sudo apt-get install network-manager-pptp

Now, in order for the installation to take affect, you need to restart the dbus service. You can do that by either restarting your Ubuntu, or a better way is by the following command line
sudo /etc/init.d/dbus restart
1. Network Manager
Click on the 'Network Manager' icon on your desktop bar 'Notification Area'. This icon can be in the shape of 2 computer screens or arrows or a signal meter if its a wi-fi connection that you use.

2. Configure VPN
Choose 'VPN Connections' then click onto 'Configure VPN' from the sub menu.

3. Create VPN
Press the 'VPN' tab to ensure you are on the correct setup.

4. Add new connection
Press 'Add' to add a new connection configuration.

5. Create PPTP
On the new 'Create VPN Connection' window, choose 'Point-to-Point Tunneling Protocol (PPTP)' as the VPN connection type and click on the 'Create' button.

6. Name the connection
Fill in a friendly name for the new connection.
7. Server IP
Enter the IP of the server you are connecting to in the 'Gateway' field.

8. Login Details
Enter your vpnuk login details into the username and password fields.

9. Advanced Options
Click onto the 'Advanced' button.

10. PPTP Advanced options
Check all of the 'Security and compression' options, this usually means placing a check in the 'Use point to point encryption MPPE', 'Allow Stateful Encryption' and 'Send PPP echo packets' checkboxes, then click on 'OK'.

11. Apply Settings
Click onto the 'Apply' button to save your configuration settings.

12. Connection setup complete
Thats it! You can now close the 'Network Connections' window.

[END]
1. Open Network Manager
Click onto the Network Managfer icon in the taskbar.

2. Choose Connection
Click onto the newly created VPN Connection from the 'VPN Connections' sub menu.

3. Connected!
Once Connected you will see a small padlock on the network manager icon.

[END]
1. Open Network Manager
Click on the Network Manager icon on your taskbar.

2. Click Disconnect
Click onto 'Disconnect VPN' from the PPTP VPN sub menu of 'VPN Connections'.

[END]
Q. I am struggling to set it up on an eeepc laptop...
A 1. You have to open linux console window
2. kwrite /etc/ppp/peers/vpn1
3. After the name and remotename entries, add mtu 1436
4. At end of file, add refuse-eap
5. Save it, and restart the network connection for VPN
|