0
As noted above, some providers have dedicated VPN clients for Ubuntu (or Linux), but others simply supply manual configuration guides for setting up Ubuntu’s native Network Manager (which absolutely fine, as Network Manager is a great VPN client.)

Even when providers do not have Ubuntu (or even Linux) specific setup instructions on their websites, OpenVPN is easy to setup. This means that any OpenVPN service can be used with Ubuntu, regardless of what support available for this from your provider.

1. Download and install the Ubuntu OpenVPN packages for Network Manager by opening a Terminal window and typing:
sudo apt-get install network-manager-openvpn openvpn

Note that Network manager should already be installed. If for some reason it is not, install it by entering:
sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome

2. Restart the Network Manager. This can be done by restarting Ubuntu or logging out and in again, but the easiest way is to enter the following at the Terminal command prompt:
sudo restart network-manager

3. Download the VPN provider’s OpenVPN configuration files (.ovpn and .crt), and Extract them to a convenient location.

ubuntu

4. Open Network Manager and click VPN Connections -> Configure VPN…

ubuntu-vpn-connections

5. Click on ‘Add’.

ubuntu-network-connections

6. Select ‘OpenVPN’ from the drop-down menu and click ‘Create…’

ubuntu-connection-type

7. Ensure the ‘VPN’ tab is selected, and enter the VPN server address supplied by your provider in the ‘Gateway’ field. Under ‘Authentication’, select ‘Password’ from the dropdown ‘Type’ menu, and enter your account details.

Then Click on the ‘CA Certificate Field’ and navigate to the .crt file at the location you unzipped the OpenVPN config files to in Step 2. Click on ‘Advanced’…

ubuntu-openvpn-settings

8. Check ‘Use LZO data compression’. Note that is step may not be required, or may require different settings depending on your VPN provider. Click ‘OK’ and ‘Save’, and setup is complete!

ubuntu-openvpn-advanced

9. To start the VPN connection, simply go to Network Manager -> VPN Connections -> your connection

ununtu-connections-2

You are now connected! Notice that the Network Manager taskbar icon now has a tiny padlock on the bottom right, to let you know the VPN connection is active.

ubuntu-vpn-log

Hurray! you are good to go. :)

Post a Comment

 
Top