Skip to main content
Topic: Wireguard with NetworkManager (Read 271 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Wireguard with NetworkManager

Artix Wiki says to use `wg-quick up`: https://wiki.artixlinux.org/Main/Wireguard

If I'm not mistaken, this is not the recommended way to use wireguard, wg-quick was intended for debugging/development. When wireguard is used by a network management tool such as https://wiki.archlinux.org/title/Mullvad#With_NetworkManager, then things such as leaks simply don't happen, and hacky killswitches with iptables that mess up LAN connections are not needed.

However, wireguard with networkmanager does not work on Artix. I could not find anything in any logs, nor in any forum post or even in chat, so I'm unable to figure out on my own why it does not work. I know the general attitude of anti-systemd users towards networkmanager is bad, but as a counter argument I'd like to say that ease of use over your system vs. minimalism is crucial in time sensitive situations, from resolving network configuration issues to stopping an active intruder in your system.

In any case, my intention for this post is to bring attention to/ask for ideas on how to get networkmanager to work with wireguard on Artix. I've used the OpenRC package for it, and the usual setup as shown in the Arch Wiki link above, which resulted in all network connectivity blocked, except for being able to ping localhost, whereas it should just work.