a few weeks ago I setup a WireGuard tunnel with the AUR package networkmanager-wireguard (or networkmanager-wireguard-git, not sure anymore). A few days ago, it seems the project was abandoned or at least both AUR URLs lead to a 404.
Because the plugin broke anyway (I think because of a Network Manager update) I uninstalled the AUR package.
Today I noticed I am still routing all my traffic over this interface (confirmed via
traceroute). When I run
sudo wg show I get:
interface: [NAME] public key: [KEY] private key: (hidden) listening port: 39154 fwmark: [FW] peer: [PEER] preshared key: (hidden) endpoint: [IP] allowed ips: 0.0.0.0/0, ::/0 latest handshake: 11 seconds ago transfer: 26.98 MiB received, 2.99 MiB sent
I usually remove interfaces with
sudo wg-quick down [NAME], but this doesn’t work:
wg-quick: '/etc/wireguard/[NAME].conf' does not exist
What can I do to remove this interface? I thought about manually creating a /etc/wireguard/[NAME].conf file with the same settings and then using
sudo wg-quick down [NAME] but I’m not sure if that would work or make things worse.
I couldn’t find a command on Google on how to just kill all WireGuard tunnels. Just restarting the system doesn’t help either, the tunnel gets applied on boot. I also cannot reinstall the plugin and remove it from GUI because the plugin is a) broken and b) removed from the AUR.
PS: If anyone knows a replacement for networkmanager-wireguard, that would be highly appreciated. Everything I find on Google seems to reference this now dead project. But I would really like to toggle my WireGuard Tunnel on and off via the GNOME VPN integration…