Fw: Suggestion: Extended AllowedIPs syntax
pg131072
pg131072 at protonmail.com
Sun Feb 7 14:20:56 UTC 2021
I find the AllowedIPs CIDR format difficult to grok. What if Wireguard allowed...
+IP/mask - add a range
+IP-IP - add a range
-IP/mask - remove a range
-IP-IP - remove a range
Multiple terms would be interpreted left to right
i.e.
AllowedIPs: +1.2.3.0/24 -1.2.3.1-1.2.3.10 -1.2.3.255
Example C++ code:https://pastebin.com/mCLCg5vr
Thanks
PG
Note: I originally posted to Reddit:
https://www.reddit.com/r/WireGuard/comments/lemdmv/suggestion_extended_allowedips_syntax/
More information about the WireGuard
mailing list