- Gnome 40 and above (Tested on Gnome 46)
- An already configured wireguard VPN connection (via the NetworkManager)
- Using root, create a script file in
/etc/NetworkManager/dispatcher.d/wireguard.shand make it executable ug+x - Add the following content:
/etc/NetworkManager/dispatcher.d/wireguard.sh and make it executable ug+x