Testing a bit more it seems like directly after adding the wireguard connection with nmcli in my brand new sys-vpn I can do curl without problem. But after I restart the sys-vpn it goes back to not being able to connect and then the problem stays.
If I create a sys-vpn2 and do the same thing again then I get a connection right after setting it up, but then again after restart it cannot connect.
I realized that if I do nmcli connection delete [conf] and then add it again with nmcli connection import type wireguard file [conf] then the connection is restored. Maybe the issue is just that it does not autoconnect on startup?
# DuckDuckGo MTU size connection fix
nft add rule ip qubes custom-forward tcp flags syn / syn,rst tcp option maxseg size set rt mtu
# Prevent the qube to forward traffic outside of the VPN
nft add rule qubes custom-forward oifname eth0 counter drop
nft add rule ip6 qubes custom-forward oifname eth0 counter drop
To /rw/config/qubes-firewall-user-script then I lose connection again. Removing the above configuration restores the connection.
Ok now it works (with all nft rules including mtu), I don’t know if the VPN was unstable or something… (I’m adding the rules in sys-vpn and also testing curl there)
Thanks for quick replies, hopefully this should work now after creating a startup script for the connection
I followed the guide and imported a functional config (using it successfully with Android and Windows App…)… Network Symbol shows the lock but I cannot access the internet and also not the home lan… I have set all the optional things (killswitch, mtu…)… Where could I start a diagnose? Thank you!
It could be anything. Most probably a network issue, check that your sys-vpn is not connected to sys-whonix and you’re not trying to connect to wireguard server through Tor.
no, there are no problems with the network and it does not connect via the tor, the interface is displayed correctly in the terminal, just when it connects, the Internet no longer works