Get Surfshark
  • EN
  • Log in
  • Get Surfshark
  • Menu
Your IP:
Your ISP:
Your status: ProtectedUnprotected

Without a VPN you are exposed to real online threats


Data thieves look for unprotected devices, and those that do not use encryption are easy targets.

Malware & phishing

These types of attacks are common, and it’s difficult to avoid them without protection.

Identity theft

If you don’t use security software, you might end up getting your login credentials stolen.

Ad manipulation

It is easy for advertisers to influence your behavior if you expose all your browsing habits.

ISP tracking

Without a VPN, your internet provider can collect & sell your data to advertisers.

Price discrimination

Online businesses might show you higher prices if they see you are in a more affluent city.

Get Surfshark
Recommended by:
4.3 out of 5

Download a VPN for Linux

  • Easy & non-manual VPN setup for Linux
  • Access to blocked websites & private streaming
  • Support for all Debian-based distributions

Give us a shot with a 7-day free trial

Try Surfshark for free for 7 days on iOs, macOS, and Android

Get free trial

Available on

30-day money-back guarantee on all platforms

Stay in charge of your traffic

Stay in charge of your traffic

Linux keeps you in control of the processes on your device. This control ends where online begins. 

To achieve internet privacy and security, you need to encrypt your traffic and route it via a trustworthy VPN server to obfuscate your IP address. With Surfshark VPN, Linux becomes secure where you usually can’t control it.

Stay private when streaming your favorite shows

Do cyber threats concern you at all times? If yes, then you’ll be happy to stay VPN-protected even when watching your favorite shows and movies.

Keep your VPN on to secure your traffic from the prying eyes of your internet service provider and ad brokers when streaming. Our 10GBit servers around the world will ensure a throttle and buffer-free experience.

Learn more about Surfshark

Download a VPN for Linux

Once you’re ready to get a Linux VPN, follow this simple guide to download it:


Subscribe to Surfshark.


Download the installer.


You’re now ready to install it!

How to install a VPN on Linux

Installing a Linux VPN is a little more involved than downloading it, but it isn’t hard.

  • Once you have downloaded the installer, open the terminal (CTRL+ALT+T in Ubuntu).
    1. Type in sudo dpkg -i {/path/to/}surfshark-release_1.0.0-2_amd64.deb into the terminal and press Enter. 
    2. To update it, enter sudo apt-get update.
    3. Complete installing Surfshark with the command sudo apt-get install surfshark-vpn.
  • You are now ready to use your Linux VPN!

After installing Surfshark, you can command your VPN connection via the terminal.

Things to love about Surfshark VPN’s Linux Client

Strict no-logs policy

Strict no-logs policy

It doesn’t make sense to get a VPN for privacy just to end up being tracked by the provider. That’s why Surfshark is dedicated to keeping no logs. What’s even better, our 100% RAM servers provide an additional security layer if someone would try to seize them.

Serious encryption

Serious encryption

VPN encryption is key to making your internet traffic unreadable to spies. Therefore, Surfshark is one of the handful of VPN providers that use AES-256-GCM - not only practically unbreakable but also really fast in execution.

Private DNS servers

Private DNS servers

Your device calls up the DNS server to translate website addresses into IP addresses it can use. This gives DNS providers a lot of power over you - and that’s why Surfshark uses its own DNS service to maintain the best service it can.

Multiple devices

Multiple devices

How many devices do you want to protect with a VPN? With Surfshark, that question is pointless as one account is enough to run the app simultaneously on multiple devices. Protect everything you can reach!

10 Gbit VPN servers worldwide

10 Gbit VPN servers worldwide

Our servers are not only secure but also fast. To keep up with the growing bandwidth requirements and 5G, we’re upgrading all of our servers to 10 Gbps around the world.

Support for Debian-based distros

Support for Debian-based distros

Surfshark is built for Debian, meaning it supports all Debian-based distros like Ubuntu and others. As long as Debian itself is not changed too much, you’ll be able to use Surfshark on its distributions without a problem.


Do I need a VPN with Linux?

Yes, a Virtual Private Network is an online security staple for all devices and operating systems, Linux included. The danger of being hacked may be a bit lower than for the regular Windows user. Yet areas where a Linux VPN can help you are still massive:

  • A VPN obscures your traffic from your ISP or anyone else who’d like to spy on it. Instead of knowing what websites you’re visiting or that you’re streaming/gaming/sharing files, they’ll only see VPN traffic. 
  • Censorship and firewalls don’t care about your operating system and can affect even something as simple as your access to news or social media sites.

In fact, most of the points outlined here apply to Linux users as well.

Which free VPN is best for Linux?

Trick question – there is no such thing as a free VPN. Any free VPN is a service that needs money to operate. They usually get it through other means like annoying ads or selling your data. They also pale in comparison to a paid VPN service:

  • Free VPNs have way fewer servers and countries they operate in.
  • Free VPNs are slower than paid VPNs. 
  • Free VPNs will bombard you with ads or sell your data for profit.
  • Free VPNs don’t have the money or resources to keep their platforms up to security standards.
  • Free VPNs often leak data, don’t provide encryption, and often contain malware

So even if free Linux VPNs are out there, you’re much better off sticking with a paid VPN (like Surfshark).

Is VPN use legal?

VPN use is legal in nearly every country in the world. Only a few oppressive regimes limit its use.

However, if you use a VPN to partake in illegal activities – like pirating copyrighted material – the law may still come after you.

Surfshark does not encourage using a VPN in any way that would potentially violate the law or Terms of Service of other service providers.

Does Surfshark support Raspberry Pi?

Currently, Surfshark does not support Raspberry Pi. However, we always monitor and consider our users’ requests for new features and platforms.

Why use a VPN for Linux instead of Tor?

Tor has the undeniable benefit of being free. However, it is limited in usability as it puts privacy above all other considerations. 

Tor routes your encrypted traffic via three nodes, which makes it slow. Even the Tor Browser FAQ tells you not to use it for streaming or sharing files. 

There’s also the issue with Tor nodes being provided by volunteers. As such, there’s no way to know if malicious agents and state security agencies did not compromise them. Holding both the entry and exit nodes makes it possible to correlate someone’s online activities if they joined over those.

Also, some ISPs are suspicious of people using Tor.

Luckily for you, using Tor with a VPN solves the entry node and ISP snooping issues. 

Is OpenVPN free on Linux?

OpenVPN is free and open-source on all platforms it supports. The only downside is that you have to set it up manually and it’s a long process. Surfshark uses OpenVPN as a default protocol for any Linux system, and it comes pre-configured, so you don’t have to worry about it yourself.

Get Linux-level privacy online

and a 30-day money-back guarantee

Secure your digital life

Save 81% today

Buy now and save % Get Surfshark VPN