Best Linux VPN Client: Native Apps vs Manual Setup

Best Linux VPN Client: Native Apps vs Manual Setup
Best Linux VPN Client: Native Apps vs Manual Setup

NordVPN, ExpressVPN, Proton VPN, Private Internet Access, Mullvad, IVPN, Windscribe and IPVanish have a Linux client with both a graphical app and a command line. Surfshark's Linux app is graphical; CyberGhost and hide.me offer a terminal client only. Linux can also connect without any of these apps, through NetworkManager or wg-quick, but you still need a provider's servers.

Linux VPN clients by GUI or CLI, distros and protocols

GUI means a graphical app, CLI a command-line client. NordVPN, Proton VPN and IPVanish say their apps may also run on distributions they do not list, with limited or no support.

Provider

Linux app

Distributions named

Protocols on Linux

Mullvad

GUI and CLI, open source

Ubuntu 24.04+, Debian 12+, Fedora 43+

WireGuard only

Proton VPN

GUI and CLI, open source

Ubuntu, Debian, Fedora; Arch via community package

WireGuard, OpenVPN; Stealth in GUI

IVPN

GUI and CLI, open source

Ubuntu, Debian, Mint, Fedora, Arch and more

WireGuard, OpenVPN

Private Internet Access

GUI and CLI, open source

Ubuntu 20.04+, Debian 11+, Fedora 32+, Mint 20+, Arch

WireGuard, OpenVPN

NordVPN

CLI plus optional GUI, open source

Ubuntu 22.04+, Debian 12+, Fedora 43+, Mint 21+

NordLynx (WireGuard-based), OpenVPN, NordWhisper

Surfshark

GUI (CLI is legacy)

Ubuntu 20.04+, Debian 11+, Mint 20+

WireGuard, OpenVPN

ExpressVPN

GUI and CLI

Ubuntu 24.04+, Debian 12+, Fedora 39+, Mint 22+, Arch

Lightway, OpenVPN, WireGuard

Windscribe

Open-source GUI, standalone CLI

Ubuntu, Debian, Fedora, Arch, openSUSE, CentOS

WireGuard, OpenVPN, Stealth, WStunnel

IPVanish

GUI and CLI

Ubuntu 24.04 to 26.04, Debian 13, Mint 22.2 to 22.3

WireGuard, OpenVPN

hide.me

CLI only, open source

None named; kernel 3.1+

WireGuard

CyberGhost

CLI only

Ubuntu 22.04+, Debian 12+, Fedora 34+, Alma, Rocky

WireGuard, OpenVPN

If you run Arch, five providers name it: ExpressVPN, PIA, IVPN and Windscribe, plus Proton VPN for its CLI. Mullvad, NordVPN, Surfshark, IPVanish and CyberGhost leave it off their lists, and hide.me names no distribution at all, only a minimum kernel version.

GUI app, CLI or manual setup: which do you want?

  • A desktop or laptop: the GUI app, which handles the kill switch, server changes and updates. Every provider in the table except CyberGhost and hide.me has one.

  • A server, Raspberry Pi or SSH-only machine: a CLI that runs without a desktop, such as Windscribe's standalone CLI, NordVPN with token login or ExpressVPN in background mode.

  • A distribution none of these providers lists, such as Gentoo or NixOS: a manual setup; WireGuard's install page lists packages for both.

  • A Snap or Flatpak install: check what the package drops. Surfshark's Flatpak has no kill switch, and the Snaps from Proton and IVPN have no split tunneling.

On Ubuntu 24.04 to 26.04 or Debian 13, every provider in the table has a client you can install, so once you know the client type, the choice of VPN comes down to logging policy, audits and price rather than Linux support.

Mullvad: GUI and CLI app from its own deb and rpm repository

Mullvad installs from its own repository on Ubuntu, Debian and Fedora, on x86_64 and ARM64. Its install guide says the repository also works on other Debian-based distributions with systemd, such as Mint, and lists Arch as unsupported. One package gives you the desktop app and the mullvad command.

The app is WireGuard-only since Mullvad's desktop app dropped OpenVPN in version 2025.14, a practical difference between Mullvad and Proton VPN on Linux, where Proton's app still offers OpenVPN. Mullvad's CLI guide says the kill switch turns on whenever you connect, with a lockdown mode that blocks traffic until the tunnel is up.

Proton VPN: GUI app and CLI, with limits in the Snap version

Proton VPN has a Linux GUI app and a separate CLI, started with protonvpn connect. Proton officially supports both on Debian, Ubuntu and Fedora. Its download page also names Arch for the CLI, though Proton's Arch guide describes a community-maintained package with limited support. Proton says both often work elsewhere, on KDE for example, with limited support.

Both protect against DNS and IPv6 leaks and run without sudo rights; Proton's download page lists the always-on kill switch as a GUI extra, and its CLI release notes show Secure Core servers, a kill switch, NetShield and port forwarding added to the CLI in January 2026. Its Linux support page advises its own repository over the Snap, which lacks split tunneling, Stealth, Smart Protocol and ARM support.

IVPN: GUI or CLI, packaged for most major distributions

IVPN splits its client into a CLI base package and an optional GUI package on top. It lists repositories for Ubuntu, Debian, Mint, Fedora, CentOS, AlmaLinux, Rocky Linux and Fedora Silverblue, AUR packages for Arch, .deb and .rpm files for x86_64 and ARM64, a Snap without split tunneling, and the source code.

The client offers WireGuard, with a quantum-resistant option, or OpenVPN, a firewall that can stay on at all times, multi-hop and scheduled rotation of WireGuard keys and IP addresses. Without the app, IVPN has terminal, NetworkManager and IKEv2 guides.

Private Internet Access: full GUI, piactl and manual scripts

PIA says its Linux GUI matches its other desktop apps feature for feature, on x86_64 and ARM64, including the Raspberry Pi. It installs from a .run file, which PIA's install guide says not to run with sudo. The Linux app's source code is on GitHub.

The app includes piactl for the terminal, though some commands need the desktop app running. Where the app does not fit, PIA offers OpenVPN files for NetworkManager and manual connection scripts for WireGuard or OpenVPN.

NordVPN: command-line app with an optional GUI on top

NordVPN's Linux GUI sits on top of its CLI: the CLI must be installed first, and the GUI covers most of its functions, according to the Linux GUI guide. Both come as .deb, .rpm or Snap packages for GNOME and KDE desktops. The Linux CLI and GUI are open source; NordVPN keeps its core infrastructure closed.

NordLynx, NordVPN's protocol built around WireGuard, is the default, with OpenVPN and NordWhisper as the alternatives, and commands such as nordvpn set killswitch on handle the kill switch, auto-connect and post-quantum encryption. Headless servers can log in with a token.

Surfshark: GUI app, but no kill switch in the Flatpak

Surfshark's current Linux app is graphical, with its older command-line client documented as the legacy version. It installs from Snapcraft, Flathub or Surfshark's script for .deb-based systems, and Surfshark lists GNOME, KDE and XFCE on AMD64 and ARM64 as tested.

The package decides part of how safe Surfshark is on Linux: Surfshark says the kill switch is in the Snap and .deb packages but not in the Flatpak. Surfshark's protocol page lists OpenVPN for the Linux app and WireGuard only for Windows, macOS, iOS and Android, but Surfshark's protocol overview and its Linux changelog also name WireGuard for the Linux app.

ExpressVPN: GUI app plus expressvpnctl for the terminal

ExpressVPN's Linux client is now a graphical app, installed from a .run file on 64-bit systems, plus the expressvpnctl command. Its CLI guide says connection commands need the GUI running or background mode (expressvpnctl background enable), which suits the headless and container installs ExpressVPN now describes.

The CLI guide lists Lightway and OpenVPN over UDP or TCP; ExpressVPN's Linux download page and protocol page also name WireGuard for Linux. The kill switch is on by default, with an option to block traffic at all times, and split tunneling works per app. ExpressVPN also has manual OpenVPN guides for the terminal and Ubuntu's Network Manager.

Windscribe: open-source GUI and a standalone CLI for servers

Windscribe offers a graphical Linux app and a standalone CLI that runs without a desktop, for SSH sessions, scripts, cron jobs and systemd units; windscribe-cli connect best connects. Packages are native .deb and .rpm, ARM64 builds cover Debian and Ubuntu only, and Windscribe says its desktop apps are open source.

On Linux it supports WireGuard, OpenVPN, and Stealth and WStunnel, which disguise OpenVPN on networks that block VPNs; Windscribe says IKEv2 is not available on Linux. Config files for manual setups are limited to Pro and Build-a-Plan accounts.

IPVanish: new Linux app for Ubuntu, Debian and Mint

IPVanish's help center added guides for a Linux app on 19 November 2026: a CLI, run as ipv, and a GUI that needs the CLI first. Both are .deb packages for x86_64 and ARM64 systems that use APT, supported on Ubuntu 24.04 to 26.04, Debian 13 and Linux Mint 22.2 to 22.3.

The GUI guide lists WireGuard as the default, OpenVPN with a Scramble option for networks that block VPN traffic, a kill switch and double hop. For Fedora, Arch and other distributions, IPVanish keeps manual OpenVPN guides and a WireGuard config generator.

hide.me: open-source command-line client, free plan included

hide.me's Linux client is a command-line app built on WireGuard and installed with one script. The source code is public under GPL 2.0, the client needs Linux kernel 3.1 or newer, and hide.me says any distribution that lets you add a VPN connection by hand also works.

It has a kill switch and IPv6 support and is open to free accounts. There is no graphical app on hide.me's Linux page, so it suits a terminal user or a server more than someone who wants a connect button.

CyberGhost: CLI app for five distros, or OpenVPN in NetworkManager

CyberGhost offers a CLI app for Ubuntu, Debian, Fedora, AlmaLinux and Rocky Linux, or an OpenVPN profile in NetworkManager for distributions such as Mint. The CLI connects over OpenVPN or WireGuard, for example with sudo cyberghostvpn --country-code US --wireguard --connect.

Read CyberGhost's Linux page before installing on a server: a VPN on a remote machine can change its routing and cut off your SSH session, a VPN inside a virtual machine covers only that machine, and systemd-resolved can send DNS requests outside the tunnel.

Does Linux have a built-in VPN client?

Linux has VPN support built in, but no VPN service. "Native" is used both for a provider's own Linux app, as above, and for the tools that ship with the system. On desktop distributions such as Ubuntu, the built-in option is NetworkManager, the service behind the network settings; GNOME's help adds a VPN under Network with the + button, after installing the NetworkManager package for your VPN type.

The NetworkManager documentation says it has supported WireGuard natively since version 1.16, while OpenVPN, IKEv2 (strongSwan) and IKEv1 (libreswan) need plugins, and it warns that PPTP is cryptographically broken.

In the terminal, wg-quick and the openvpn command each start a tunnel from a config file, and the config decides where it leads: to a VPN service, or to your employer's network, which makes it a business VPN rather than a personal one. None of these tools come with servers, so you still need a VPN service or your own server; Surfshark makes the same point about Ubuntu.

How to set up a VPN on Linux without the provider's app

Every provider in the table has a manual route. For OpenVPN you usually need separate service credentials, which NordVPN, Surfshark and CyberGhost generate in your account; your normal login will not work.

WireGuard in the terminal with wg-quick

  1. Install the tools listed on the WireGuard install page: sudo apt install wireguard on Ubuntu and Debian, sudo dnf install wireguard-tools on Fedora, sudo pacman -S wireguard-tools on Arch.

  2. Download a WireGuard config file for one server from your VPN account.

  3. Move it to /etc/wireguard under a short name, such as sudo mv ~/Downloads/server.conf /etc/wireguard/vpn-us.conf; the wg-quick manual limits interface names to 15 characters.

  4. Connect with sudo wg-quick up vpn-us and disconnect with sudo wg-quick down vpn-us.

  5. Run sudo wg show: a recent handshake means the tunnel works. Mullvad's guide starts it at boot with systemctl enable wg-quick@vpn-us, run as root.

OpenVPN in NetworkManager

  1. Install the OpenVPN plugin; NordVPN and Surfshark use sudo apt install network-manager-openvpn-gnome on Ubuntu.

  2. Download the provider's .ovpn files and copy the service username and password.

  3. Open Settings, then Network, click + next to VPN and choose Import from file.

  4. Pick a .ovpn file, enter the service credentials and click Add.

  5. Switch the VPN on from the system menu. In a terminal, nmcli connection import type openvpn file server.ovpn does the import, per the nmcli documentation.

What a manual setup leaves out

A config file carries the tunnel and little else: no kill switch unless you add firewall rules, which the wg-quick manual and Mullvad's WireGuard guide show as PostUp and PreDown lines, no server switching beyond the files you downloaded, and no updates when a server is retired. NetworkManager can import wg-quick files too, but a NetworkManager developer's post on its WireGuard support notes that PostUp and similar lines are ignored on import, so that kill switch does not carry over. Keep service credentials and config files out of shell history and world-readable folders (a WireGuard config in /etc/wireguard holds your private key), and delete profiles you no longer use.

Free VPN options on Linux and their limits

Three of the eleven open their Linux client to a free VPN plan, each with its own limits:

  • Proton VPN Free: the graphical app and the CLI both work, according to Proton's free Linux page. Proton says the free plan covers one device.

  • Windscribe Free: the same GUI and standalone CLI as the paid plan, with a monthly data cap, but no WireGuard or OpenVPN config files for a manual setup: Windscribe keeps those for Pro and Build-a-Plan accounts.

  • hide.me Free: the Linux CLI works. hide.me's free plan page says free accounts have no data cap but get one device at a time, 8 server locations and speeds that are not unlimited.

Like other free VPNs for PC, each of these trades something for paying nothing, so a free plan is most useful for checking that a client runs on your distribution before you pay.

Check the IP, tun0 or wg0, and DNS before you trust a Linux VPN

A connected icon is not proof. These checks catch the common failures:

  1. Confirm that your public IP address changes after you connect, with your provider's IP check page or, on Mullvad, curl https://am.i.mullvad.net/connected.

  2. Look for the tunnel interface, usually tun0 or wg0, or the config file's name if you used wg-quick, and for WireGuard run sudo wg show for a recent handshake.

  3. Check DNS and IPv6 separately. CyberGhost warns that systemd-resolved can send DNS requests outside the tunnel, and Mullvad describes DNS stopping on Debian when NetworkManager manages /etc/resolv.conf.

  4. Disconnect the tunnel and check that applications behave as expected, with the kill switch on if you rely on it.

  5. Suspend or reboot and check that the tunnel, or the block, comes back.

If any check fails, fix it before you rely on the tunnel; a passed check still does not make you anonymous.

Frequently asked questions

What VPN is best for Linux?

For a desktop: Proton VPN, Mullvad, IVPN or PIA, whose open-source clients pair a GUI with a CLI. For a headless server: Windscribe's standalone CLI, NordVPN with token login or ExpressVPN in background mode. For free: Proton VPN Free, which includes both the Linux GUI and the CLI. Before you choose a VPN, check that its Linux client names your distribution and release.

Do you need a VPN on Linux?

Linux protects your system, not what the network sees: your internet provider and the local network, such as hotel Wi-Fi, can usually see which sites you visit, and those sites see your IP address. A VPN hides both, but its provider sees that traffic, so a VPN is not an anonymity tool, and the EFF's VPN guide warns that ads presenting a VPN as the only tool you need against malware and tracking vastly oversell the benefits of VPNs.

Is a native Linux VPN app better than manual setup?

For most people, yes: the app adds a kill switch, server switching, leak protection and updates that a config file lacks. Manual setup suits minimal systems, unsupported distributions and users who want standard Linux tools, provided they add their own firewall rules.

Which VPN protocol should you use on Linux?

WireGuard where your client offers it: NetworkManager supports it natively, and among the providers that support WireGuard, NordVPN, Mullvad, IPVanish and hide.me make it the default on Linux. Surfshark's Linux app offers WireGuard alongside OpenVPN. ExpressVPN lists Lightway, OpenVPN and WireGuard for Linux, though its Linux CLI guide names only the first two.

Can I use a free VPN on Linux?

Proton VPN Free and Windscribe Free include the graphical app and the CLI, and hide.me Free its command-line client; of the three, only Windscribe caps data each month. Check the logging policy and any audit as you would for a paid plan.

Does IPVanish work on Linux?

Yes. Since November 2026, IPVanish's help center documents a Linux app for Ubuntu, Debian and Mint; other distributions need its manual OpenVPN or WireGuard guides.

Do you need a kill switch on Linux?

If a leak would matter to you, yes. Mullvad, NordVPN, ExpressVPN, IPVanish and hide.me build one into their Linux apps, Surfshark leaves it out of its Flatpak, and a manual WireGuard or OpenVPN profile has none unless you add firewall rules. Test it by dropping the connection rather than trusting the setting.

Does a VPN protect every application on Linux?

A system-wide VPN is meant to, but split tunneling, containers, virtual machines and custom DNS settings can behave differently. CyberGhost notes that a virtual machine in bridged mode bypasses a VPN on the host. Test the software you actually use.

Updated 26 November 2026: the earlier version presented ExpressVPN as a command-line setup and CyberGhost as a manual OpenVPN setup; both now have their own Linux apps, and IPVanish's new Linux app is added.

Corrected 27 November 2026: Surfshark's Linux app offers WireGuard, Windscribe's Linux app does not offer IKEv2, NordVPN's Linux app also offers NordWhisper, Proton's command-line app gained Secure Core, the kill switch, NetShield and port forwarding in January 2026, and Proton supports Arch only through a community package.

If you make a purchase via one of these links, we may earn a commission, at no extra cost to you. Learn More

Our Top-Rated VPNs

9.8

From $2.99/mo

Save 78%

See the deal

NordVPN

9.7

From โ‚ฌ2.49/mo

Save 87%

See the deal

Surfshark

Our Top-Rated VPNs

9.8

From $2.99/mo

Save 78%

See the deal

NordVPN

9.7

From โ‚ฌ2.49/mo

Save 87%

See the deal

Surfshark