Check your connection
Links and subscriptions
WireGuard AllowedIPs calculator
WireGuard has no “except” list: AllowedIPs only lists what goes into the tunnel. The calculator takes the local network, the addresses and the subnets you name away from “the whole internet” and gives a ready AllowedIPs line for IPv4 and IPv6.
Runs in your browser, nothing is sent
The line for [Peer]
Subnets: 183
Everything is worked out in your browser: keys and addresses are not sent anywhere.
Reference
FAQ
Why can't I just write “except”?
WireGuard's AllowedIPs lists only what is sent into the tunnel and has no exclusions. So “everything except” has to be written as a set of subnets that cover all the rest — that is what the calculator works out.
Should I exclude the server's own address?
Usually not: wg-quick and the WireGuard apps route the connection to the server outside the tunnel by themselves. Exclude it if you set routes up by hand without wg-quick.
I got a lot of lines — is that normal?
Yes. Cutting one subnet out of “the whole internet” takes a dozen or two subnets, and the more exclusions, the longer the line. WireGuard accepts long lists.
How do I make exclusions in Veli?
In Veli you don't need to work out subnets: rules by app and by site and ready-made lists are set on the Apps and sites screen. For WireGuard and AmneziaWG on a computer, IP addresses and the ready-made lists work there.
Links, subscriptions and configs open in Veli, a free client for Windows, macOS, Linux and Android. Download Veli