28-month plan, $50.23 in one crypto payment: $1.79 per month. Shop now
BuyVPN

Install your BuyVPN plan on Linux

The Linux kernel already contains WireGuard, so Ubuntu, Debian, Fedora, Arch and most other distributions only need the wireguard-tools package. On a desktop, NetworkManager can import the very same file.

Headless servers use the file with wg-quick and a systemd unit so the tunnel comes up at boot.

WireGuard, step by step

  1. 1Install the tools: sudo apt install wireguard-tools on Debian and Ubuntu, sudo dnf install wireguard-tools on Fedora.
  2. 2Add a setup in My Plan and save its .conf file.
  3. 3Save it as /etc/wireguard/buyvpn.conf, then bring it up: sudo wg-quick up buyvpn
  4. 4Keep it on across reboots: sudo systemctl enable wg-quick@buyvpn
  5. 5On a desktop, NetworkManager imports the same file with nmcli connection import type wireguard file buyvpn.conf

OpenVPN, step by step

  1. 1Install the client, e.g. sudo apt install openvpn
  2. 2Add an OpenVPN setup and save the .ovpn file.
  3. 3Start it: sudo openvpn --config buyvpn.ovpn
  4. 4When asked, give the login name and password listed for that setup.

Block traffic outside the tunnel

Your file sets AllowedIPs to 0.0.0.0/0, ::/0, so wg-quick sends every packet into the tunnel. For a hard kill switch, add firewall rules that allow only the wg interface and the server endpoint.

Good to know

  • See the live tunnel with: sudo wg show
  • The file holds this setup's private key; lock it to root with chmod 600.

Your VPN is one checkout away.

28 months for $50.23 in a single payment: 8 setups and every city on the list.

Compare plans