How to Configure PPTP VPN Connection in Ubuntu Linux
How to configure a PPTP VPN connection in Ubuntu Linux 8.04?
This Linux tutorial describes how to configure and set up a PPTP VPN connection in Ubuntu Linux 8.04 using the network manager. If you are using Ubuntu 9.04 or 8.10 then take a look at how to set up and configure a PPTP VPN connection in Ubuntu Linux 8.10 and 9.04.How to install Ubuntu PPTP VPN package:
One way is to install the Ubuntu network-manager-pptp package using synaptic:- Open synaptic (System -> Administration -> Synaptic Package Manager).
- Search for vpn.
- Mark for installation the network-manager-pptp package.
- Press the apply button.
Another way is to install the Ubuntu network-manager-pptp package using 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:
- 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.
- Choose "VPN Connections" -> "Configure VPN".
- Press "Add" to add a new connection configuration.
- On the new "Create VPN Connection" window click the forward button, choose "PPTP tunnel" as the VPN connection type and click on the forward button again.
- Fill in a name for that 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. The Type option should be left as "Windows VPN (PPTP)" and in the Gateway you should insert your VPN server IP. If you don't know the IP address you should ask for it from the system administration of the network that you are trying to connect to.
- On the "Authentication" tab, make sure that "Authenticate Peer", "Refuse EAP" and "Refuse CHAP" are marked.
- On the "PPP Options" tab make sure that "Use Peer DNS" is unmarked.
- On the "Routing" tab, make sure that "Peer DNS through tunnel" is unmarked.
- If you don't want to route all the traffic through the VPN connection and you know what is the range of the IP address of the network that you are trying to connect to, you should mark "Use only VPN connection for these addresses" together with the range of the address.
- Click on the "Forward"button and then on the "Apply" button.
How to connect to PPTP VPN server using the VPN connection in Ubuntu Linux:
- Click on the Network-Manager icon on your desktop bar "Notification Area".
- Choose "VPN Connections" and then choose the VPN connection that you just created.
How to disconnect the PPTP VPN connection in Ubuntu Linux:
- Click on the Network-Manager icon on your desktop bar "Notification Area".
- Choose "VPN Connections" and then choose "Disconnect VPN".
Subscribe to:
Post Comments (Atom)
Post a Comment