How To Connect Ubuntu via openVPN

Step1: 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

Step 2: Restart the Network Manger. 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:

sudo restart network-manager

Step 3: Download our OpenVPN configuration files, and save them to a convenient location.

ub 13

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

ub 4

Step 5: Click on ‘Add’.

ub 15

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

ub 6

Step 7: Ensure the ‘VPN’ tab is selected, and enter "" 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’…

ub 9

Step 8: Check ‘Use LZO data compression’. Note that is step may not be required. Click ‘OK’ and ‘Save’, and setup is complete!

ub 10

Step 9: To start the VPN connection, simply go to Network Manger -> VPN Connections -> your connection

ub 11

Step 10: 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.

ub 12