How can I set up network manager to auto-connect at boot-time to a Wi-Fi and a WireGuard VPN?
I configured Network Manager with 2 connections: a Wi-Fi and a WireGuard VPN. They both work when I start them up manually. I've set-up both connections to auto-start upon boot. After booting, both connections show as active and connected, but I cannot access the network/internet. If I restart manually the WireGuard VPN, everything works and I am able to access the network again.
This is very annoying! Any ideas what could be wrong and how can I set this up correctly?
Network connections - Wireguard VPN settings
Network connections - Wi-Fi H369.... settings
FYI I am running Kubuntu 22.10.
Also FYI, the Network Manager connection configuration files
**SS-NL-WG**
[connection]
id=SS-NL-WG
uuid=9xxxxxxxxxx7
type=wireguard
autoconnect-priority=10
interface-name=SS-NL-WG
[wireguard]
private-key=xxxxxxxxxxxxxx=
[wireguard-peer.xxxxxxx=]
endpoint=xxxxxxxx.com:51820
allowed-ips=0.0.0.0/0;
[ipv4]
address1=10.14.0.0/16
dns=xxxxxxxxxx;
method=manual
[ipv6]
addr-gen-mode=stable-privacy
method=disabled
##H369A3D4517## (wi-fi)
[connection]
id=H369A3D4517
uuid=fxxxxxxxxxxxxxxxxxx9
type=wifi
autoconnect-priority=10
[wifi]
mode=infrastructure
ssid=H369A3D4517
[wifi-security]
key-mgmt=wpa-psk
psk=xxxxxxxxxxxx
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto