How To Set Up Double VPN on Linux? [Step-by-Step Guide]

Reading time icon 2 min. read


Readers help support VPNCentral. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help VPNCentral sustain the editorial team Read more

Double VPN for Linux

Double VPN is an advanced feature that generally doesn’t need manual setup. Conveniently, it’s available in the dedicated apps for major desktop and mobile platforms. But can you say the same thing when Linux is concerned?

Compared to Windows and macOS, Linux isn’t as widely compatible with VPN programs. Even when it’s supported, it’s not uncommon for it to lack many functionalities.

Here, we’ll show you how to create double VPN connections on devices powered by Linux.

How to enable double VPN on Linux?

Luckily, enabling double VPN on Ubuntu, Debian, Mint, and other popular Linux distributions is fairly straightforward.

For the example below, we’ll use Surfshark, one of the best service providers that offer this feature, as an example: 

  1. Go to the Surfshark site to buy a premium plan and sign up.

    Surfshark VPN pricing plans

  2. Press CTRL+Alt+T to open your device’s terminal.

  3. Enter this command:

    curl -f https://downloads.surfshark.com/linux/debian-install.sh –output surfshark-install.sh #gets the installation script
    cat surfshark-install.sh #shows script’s content
    sh surfshark-install.sh #installs surfshark

  4. Under the Locations screen, click the MultiHop tab.

  5. Choose a pair of server locations.

  6. If your connection is successful, enjoy surfing the Web with two masked IP addresses and layers of encryption.


Want to know more about Linux VPNs? You may want to check out:


Other VPN vendors may have additional steps. On the brighter side, they almost always have simple installation guides you can consult.

All in all, activating double VPN on Linux isn’t as hard as you may think. The setup steps slightly vary depending on the provider and distribution. Still, you don’t need to be a tech whizz to pull it off.

More about the topics: Double VPN, linux

User forum

0 messages