|
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. Mark the package network-manager-pptp for installation. 4. Press the apply 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
How to configure the PPTP VPN connection in Ubuntu Linux:
1. Click on the Network-Manager icon on your desktop bar "Notification Area" (also called system tray on windows). This icon can be in the shape of 2 computer screens in the case of wired connection or the signal strength of the wireless connection in case of wireless connection.
2. Choose "VPN Connections" -> "Configure VPN".
Supervpn.ir - Ubuntu setup part 1
3. Press "Add" to add a new connection configuration.
Supervpn.ir - Ubuntu setup part 2
4. 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.
Supervpn.ir - Ubuntu setup part 3
5. Fill in a name for the new connection. The name can be office, work or anything else. It is there to distinguish between this connection and others which you might want to create in the future, so you can enter whatever you like. The "Gateway" field should be entered with your account's gateway, e.g. uk1.Supervpn.net. The "User name" and "Password" field are self explanatory. After you have filled them in, click onto the "Advanced" button.
Supervpn.ir - Ubuntu setup part 4
6. On the "Authentication" tab, make sure that all options are marked (this is the default). Afterwards check all of the options below "Security and compression" as shown on the screenshot, as well as "Send PPP echo packets". Click on "OK".
Supervpn.ir - Ubuntu setup part 5
7. After that you should see something similar to the screen below.
Supervpn.ir - Ubuntu setup part 6
Connecting to the configured PPTP VPN server:
1. Click on the Network-Manager icon on your desktop bar's "Notification Area". 2. Choose "VPN Connections" and then choose the VPN connection that you just created.
Supervpn.ir - Ubuntu setup part 7
While ubuntu tries to connect to the VPN server you will see yellow circles around the Network-Manager icon. If the connection is established successfully, you will see a lock sign on the Network-Manager icon. This sign indicates that you are connected to the VPN server.
Supervpn.ir - Ubuntu setup part 8
Disconnecting from an established PPTP VPN connection:
1. Click on the Network-Manager icon on your desktop bar "Notification Area". 2. Choose "VPN Connections" and then choose "Disconnect VPN".
Supervpn.ir - Ubuntu setup part 9
TROUBLESHOOTING
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
|