You are not logged in.
I have a Wireguard VPN connection configured in NM. It works as expected.
Some sites block VPNs, so I have to `nmcli connection disable vpn-connection` to open them, and remember to re-enable when done. I'd love to just boycott those sites but unfortunately sometimes there's no alternative.
Is there a better way? For example can I get NM to just route certain domains outside the VPN?
Offline
AFAIK NetworkManager uses the same routing method ("Improved Rule-based Routing" on this page: https://www.wireguard.com/netns) as "wg-quick". You can try to insert a "to" ip rule (with higher priority than the "not fwmark" rule) that routes packets based on the destination to the main routing table.
Offline