AllowedIPs Calculator (v4 + v6)

Calculate WireGuard AllowedIPs by subtracting "disallowed" subnets from "allowed" subnets. Supports both IPv4 and IPv6 CIDR.

Examples: 0.0.0.0/0, ::/0 (The entire internet)
Local LANs or specific ranges to exclude.

Result: