OpenVPN for Linux Ubuntu
Open a terminal and enter the following command to install the Gnome Network Manager Plugin for OpenVPN. As a dependency, the required OpenVPN binaries are also installed.
$ sudo apt-get install network-manager-openvpn
To make the Gnome Network Mangager aware of the newly installed component, it needs to be restarted:
$ sudo service network-manager restart
From the Gnome menu bar, open the Network Manager menu and select Edit Connections.
An overview of configured network connection appears. Switch to the VPN tab.
To import the downloaded configuration file, click Import.
Navigate to your folders and select openvpn.ovpn file. You can find this file in your welcome email or your panel's product details (or you can use our configuration files generator). Click Open.
A dialog appears. Change the connection name to Proxy.sh. Uncheck Connect automatically. Enter your proxy.sh VPN User name and Password. If you like to save your password, select Saved from pull-down menu next to the password field. Click on the CA Certificate field to select to proxysh.crt file. This file is available via a download link found in your welcome email or your active VPN package product details. When you are done, click Advanced….
In the OpenVPN Advanced Options you do not need to alter too many settings, because most of them are read from the configuration file. The settings are shown for completeness and comparison.
The General tab lists options for setting compression parameters, the MTU and to restrict the TCP Maximum Segment Size. Click Security.
In the Security tab the Cipher should already be set to AES-256-CBC. If not, please don't touch anything. This depends of your system. No additional TLS settings are required.
After having gone through the OpenVPN Advanced Options, Save… this VPN connection.
The name of the new VPN connection gets listed. Click Close.
After having set up a new VPN connection, it is available in the Network Manager menu. Open it and select Proxy.sh from the list of configured VPN connections. The VPN connection gets established.
You're done. Enjoy!
NB1: If you encounter difficulties to connect with OpenVPN, please try to connect to other servers or try alternative ports, especially more "discreet" ones such as TCP 443 or TCP 80. Please also make sure that the port you are connecting through is fully opened in your firewall/router/network. Below, you will find an aggregate of useful guides and articles that will help you troubleshoot your problems, should you have any.
Guide for setting up Safejumper (OpenVPN) on Linux Ubuntu.
I cannot find the .ovpn and .crt files necessary for OpenVPN. Where are they?
No matter how hard I try, I cannot succesfully connect to OpenVPN.
I can't access any website through my browser while connected to VPN.
I am connected to the VPN but my IP is not yet hidden. Help!
I am having some kind of other problem. Where can I find some help?
How can I find the local log files of my VPN client?
If you still cannot connect successfully, please open a support ticket and include either a copy of your logs or a screenshot of your configuration and encountered errors. Logs can usually be found in software menus or settings, as well as their directories of installation (.log or .txt files). If you do not include a log or a screenshot, it will be hard for us to help you resolve the issues you have with connecting to our network.
NB2: Right-clicking acts the same way as left-clicking so be careful otherwise you may unintentionally disconnect from the VPN if you simply right-click the name of the connection. It can lead to your real IP exposure if the node goes down while you're AFK and your local network picks up the existing traffic. To possibly solve this, turn "off" the main wired/wifi connection, go into the network connections again, select your main wired/wifi connection and then click "Edit..." -> General tab -> check "Automatically connect to VPN when using this connection" and have your preferred VPN server listed then click "Save...". Now, turn "on" your main connection, and it will auto-connect to the VPN server.
Related Knowledgebase Articles
L2TP (VPN) for Linux Ubuntu (Views: 2028)
PPTP (VPN) for Linux Ubuntu (Views: 3281)
CGIProxy (Web) for Linux Ubuntu (Views: 1649)
Safejumper for Linux Ubuntu (Views: 8073)