chicocheco Okay, for some reason, I cannot select any VPN. I cannot open the list, it is unclicable even after checking the box "Automatically connect to VPN" while I can see 2 Wireguard profiles in in the gnome menu.
chicocheco Yes, they are there the same as what Gnome shows me, but the list in the internect connection configuration is empty/unclicable both when the checkbox is checked or not. I see that you have it under "VPN" while I have under "WireGuard"...
alfisya I am using OpenVPN, not Wireguard. Maybe it doesn't support autostarting a Wireguard vpn? If your VPN support an OpenVPN too, try the OpenVPN config. See, of it makes a difference.
chicocheco alfisya Yes, I have the option, but I always prefer wireguard on all my devices. I also run my own wireguard server.
pomon Will setting priorities help and satisfy you?. This is an example when it comes to values. In Network-manager -> Wired Connection 1 -> General -> Priority automatic connection, set the value to 10 and in the WireGuard connection to 5.
chicocheco pomon That might work but WireGuard profile does not have the same option as Wired Connection. It is more like as if it was a WiFI connection. Weird.
pomon chicocheco That's why I suggested to start the wired connection first and then Wireguard which will redirect the connection to the VPN.
chicocheco I tried that and it does connect both but nothing works afterwards unless I re-connect manually. I believe it is because it gives it a priority but not order of what should connect first?
Sebastian Can you trigger your vpn connection via a terminal command? If so, why not have a script in autostart that runs on login, checks for internet connection and then establishes the vpn connection?
chicocheco Sebastian Yeah, I even tried that once, but gave up. I am not enough experienced in this. I could not make the script work.
chicocheco ReillyBrogan What do you mean by that? I do not enter any password. The is a private key stored.