IP Match
The ip-match controller matches the request IP against a CIDR list.
Configuration
yaml
matchControllers:
- name: corporate-network
type: ip-match
settings:
cidrList: config/corporate-network-cidrs.txt1
2
3
4
5
2
3
4
5
Settings
cidrList(required): Path to a text file with CIDR entries, one per line (#for comments).
CIDR List Format
- Accepts CIDR ranges (
192.0.2.0/24) and single IPs (treated as/32). - Ignores blank lines and lines starting with
#.
Policy Patterns
- Allow-list only:
authorizationPolicy: "corporate-network". - Combine allow + block lists:
authorizationPolicy: "allowlist && !blocklist"where both areip-matchcontrollers with different lists.