< Back

Connect to Surfshark VPN using Ubuntu Network Manager

Connecting via Network manager on Ubuntu is a pretty convenient way to connect to our servers without using the terminal.

Follow the tutorial above in order to use Network Manager for the VPN connection. 

  1. At first, you will need to get Surfshark service credentials. Those are the credentials, different from the ones that you use to log in to our website or the app.  To find them, go to the login page of our website here and log in. 

    Once you log in, go to VPN -> Manual setup -> Manual and click on the Credentials tab. You will find your service credentials there.


  2. If you click on the Files tab on the top, you will find configuration files of all our servers. You will need a configuration file to connect to our server. Choose your preferred location and download the file.


  3. Choose the UDP protocol, unless you prefer TCP.


    Save this file on your Desktop - that's not necessary, but it will be easier to find it later.


  4. Now launch the terminal. You can do that by pressing CTRL+ALT+T on your keyboard.

    Alternatively, you can open it by going to the menu of all apps and launching the terminal from there.


  5. Now you will need to install the VPN manager if it is not yet installed on your device.

    To do that, copy this command: 

      sudo apt-get install network-manager-openvpn-gnome

    And paste it to the terminal.


    You will be asked to enter the password of your PC.

    If the Network manager was installed on your system by default, you will be notified, that the Network Manager is already installed. You can skip this step and proceed further.

    If it was not installed by default, follow terminal instructions to install it.

  6. Now click the white arrow or the Wi-Fi/Ethernet icon at the top-right corner of your desktop. It will open a system tray.


  7. Click the settings button


  8. The settings page will open. Open the Network settings tab.


  9. Click [+] to add a new VPN profile.


  10. You will get a window asking how you would like to add a new profile. Choose Import from file, then navigate to the configuration file on your desktop (the one you have downloaded in step 2) and choose to import it.


  11. Once the file is imported, you will need to enter your credentials to this profile in order to finish it.

    Enter Surfshark service credentials that you have collected in the 1st step.

    Then click Add to finish this profile.


  12. Now you will see a new VPN profile added. To turn it on, simply move the switch from OFF to ON.


    Great, you have connected to the Surfshark server! 

    To quickly check if the VPN is turned on, you can open the system tray as you did in the 5th step and you will see the VPN profile there.


    If something is not going according to the tutorial, feel free to contact our Customer Success Sharks and they will help you out!
Was this article helpful?