sudo nano /etc/wireguard/wg0.conf

Category: Self-Hosting

sudo nano /etc/wireguard/wg0.conf

Create or edit the WireGuard interface configuration file

The WireGuard interface config defines this device's private key, listen port, IP address, and the list of peers with their public keys and allowed IPs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.