How to autostart Wireguard using systemd (wg-quick)

This post is also available in: deDeutsch (German)

If you’ve added a wg-quick config, e.g. /etc/wireguard/wg0.conf, you can enable autostarting it on system boot using systemd:

sudo systemctl enable --now [email protected]