Steam Deck

Steam Deck

jslay Sep 24, 2023 @ 8:17am
NetworkManager Wireguard broken, causes KDE freezes.
For a while at the beginning of the year, I had a working Wireguard VPN connection in NetworkManager. I had updated at some point, and several months later, notice that when I try to use Wireguard again, I cannot get it to work properly, connections fail or are intermittent (if it happens to ping/make a request). This eventually causes KDE to freeze, and stall out for several minutes, until it finally frees itself, spams with a lot of notification about connecting and disconnecting to the wlan network, and then repeats. Disabling the Wireguard connection profile, it all returns to normal.

I have also setup my peer to hit internally for a test, and it works perfect. Only experience this issue when trying to hit the Wireguard server from the outside. Wireguard server status shows proper handshakes and IPs, just can never get any data across when going across the internet to connect to VPN.

I know the server configuration is correct, and I know the Wireguard connection profile is correct (it worked flawlessly for months at the end of last year, beginning of this year). I also took the configuration out of the NetworkManager connection profile, and built a wg0.conf within /etc/wireguard, and installed wireguard-tools.

Using wg-quick, I can get it to work flawlessly regardless if coming from the inside or outside. Only within NetworkManager, do things fail miserably.

I have ~8 other devices that I use with Wireguard on the regular (cellphone, tablets, laptops, etc), and none of them have issues with the Wireguard server either.
Last edited by jslay; Sep 24, 2023 @ 8:21am
Date Posted: Sep 24, 2023 @ 8:17am
Posts: 0