I know there's a series of CIDRs that I can use to cover all public CIDRs and leave out local CIDRs, but I cannot find this anywhere and I don't recall where I found it a couple of years ago when previously solving this problem.
My goal is to have two configurations of the same Wireguard endpoint:
- one where ONLY traffic specifically to the Wireguard CIDR is routed through the tunnel;
- one where ALL traffic to IPs in public CIDRs + traffic to the Wireguard CIDR is routed through the tunnel.
Does anyone have this configuration and can share it?