I’ve been using wireguard as a client to a VPN provider with
wg-quick to start and stop the tunnel and it works great for a single config, which lives in
There has been some unexpected happenings, though. The first is that on boot the tunnel is automatically activated, which I appreciate but can’t decide which tunnel gets chosen.
The reason for writing this and asking for help is that if I stop that connection with
wg-quick down and try to use a different tunnel config, it brings up both the tunnel I chose + the default tunnel. So I end up with no connection. I have tried removing my default config from the
/etc/wireguard, rebooting and nothing changed. It still started that tunnel on boot, stopping it and starting a new tunnel brought up both together. If I put the unwanted tunnel down, it unmounts /etc/resolv.conf` and that breaks the connection.
Any ideas or reasons why is this happening? Are there any docs for how wireguard works in Fedora-32?