Linux: wg-quick in 4 commands
WireGuard lives in the mainline kernel, so Ubuntu, Debian, Fedora, Arch and nearly every other distribution only need the wireguard-tools package. Desktops can hand the same file to NetworkManager.
Headless servers run the identical peer file through wg-quick and a systemd unit.
WireGuard peer
- Install the tools: apt install wireguard-tools on Debian or Ubuntu, dnf install wireguard-tools on Fedora (as root or with sudo).
- Create a peer under Keys and fetch its .conf.
- Copy the file to /etc/wireguard/cryptovpn.conf and start it with sudo wg-quick up cryptovpn
- Make it permanent: sudo systemctl enable wg-quick@cryptovpn
- Desktop alternative: nmcli connection import type wireguard file ~/Downloads/cryptovpn.conf
OpenVPN peer
- Install the client, e.g. sudo apt install openvpn
- Create an OpenVPN peer under Keys and fetch the .ovpn.
- Start it: sudo openvpn --config cryptovpn.ovpn
- Answer the prompt with the OpenVPN user and password from the Keys tab.
Leak protection
The peer file sets AllowedIPs = 0.0.0.0/0, ::/0, so wg-quick already sends everything through the tunnel. For a hard kill switch, firewall all output except the wg interface and the endpoint address.
Notes
- *Inspect the handshake and transfer counters with: sudo wg show
- *The .conf holds the peer's private key: chmod 600 it and keep it root-owned.
$ ./subscribe --term 1y
Settle once on-chain. Stay unnamed.
$3.00 per month on the yearly term. A hex ID is the whole account, and it never renews.