Add trusted_cidrs field to bypass all restriction layers

This commit is contained in:
Viktor Liu
2026-03-29 09:14:27 +02:00
parent 6a505ea51c
commit 9c1eb0d288
8 changed files with 341 additions and 240 deletions

View File

@@ -108,6 +108,8 @@ message AccessRestrictions {
repeated string blocked_countries = 4;
// CrowdSec IP reputation mode: "", "off", "enforce", or "observe".
string crowdsec_mode = 5;
// Trusted CIDRs bypass all restriction layers (CIDR, country, CrowdSec).
repeated string trusted_cidrs = 6;
}
message ProxyMapping {