In this post, I will show you how to setup SurfShark VPN on Ubuntu 16.04 using the Ubuntu Network Manager. You could easily setup SurfShark VPN by following the easy to follow steps in this post. SurfShark VPN also provides a command-line tool to connect to their VPN servers but we are not using that instead, we are going to use the manual setup which is far more easy and provides more control than their client for Linux. So let’s get started.
To get the static IP from the SurfShark please read my post How to SetUp Surf Shark VPN with Static IP on Ubuntu 16.04
Get the Configuration File to Setup SurfShark VPN
First of all, you need to login to your SurfShark account. Go to http://SurfShark and hit the Log In as given in the screenshot below:
After clicking the Log In button you will see the following page:
Type your email, password and hit the red Log In button. After the successful login you will see your SurfShark dashboard as given below:
Click the Devices from the dashboard, as pointed with the red arrow, to land the Devices page. Scroll down the Devices page until you see the Manual button as given in the following screenshot:
By clicking the Manual you will be directed to the manual page and you need to scroll a bit down to get the Show all configuration files.
Click the Show all configuration files button and you could see all the available servers to be connected along with their country name.
Look for the United Kingdom – Manchester, hover over it and click TCP to download the vpn configurations for this server as given in the following screenshot:
The file containing the vpn configurations will be downloaded as shown below.
We have downloaded the important configurations, next we need to create the VPN connection to use the chosen server.
Create VPN Connection to Use SurfShark VPN
Open up the Network from the Settings to create the new VPN connection with the downloaded file.
Please Note that this set up is for Ubuntu 18.04. Please see the post How to Setup SurfShark on Ubuntu 18.04.
In the given screenshot, the Network is opened. Click the + button, pointed with the red arrow, in the bottom left corner and you will see the little popup saying Select the interface to use for the new service.
From this popup click the Create… button and you will see the following screen:
Chose Import a saved VPN configuration… from drop-down of the Choose a VPN Connection Type popup and hit the Create… button. It will open the select file to import dialog box and select the uk-man.prod.surfshark.comsurfshark_openvpn_tcp.ovpn.
After selecting the file you will see the configuration pop up as shown below:
As you can see we need the username and password (pointed by the arrow). Also, feel free to change the Connection Name of your choice.
We need the username and password to connect the SurfShark‘s UK Manchester server as a proxy. Scroll down the page where you have downloaded the VPN configuration file (Step 6) and you will see the Get service credentials section. Copy the username and password.
After getting the username and password paste them in the vpn configuration dialog as given below:
Also change the Connection name to UK – Manchister and hit the save button in the bottom right corner.
The connection is ready along with the configuration. Next, we need to Connect the UK – Manchester VPN connection. For this, select the connection from the list on the left of the Network and turn the connection on from the top right corner as shown in the screenshot:
After successfully connecting to the VPN Connection it’s time to test if you really have connected with a UK based VPN server or not. For this open up your browser and browse the myip.com and you will see the UK on the map which means the request getting proxied from the UK serer and from your own country’s server.
Congratulations, you have successfully setup SurfShark VPN on Ubuntu 16.04. If you have any issue please ask me in comments. Also, read my post How to setup SurftShark VPN on Ubuntu 18.04.