Features:
-
Two methods available for applying IP Whitelisting:
- Allow Only Listed IPs: Grant access to Listed IPs only, so deny any unknown IP.
- Deny Listed IPs: Deny all listed IPs, and grant access from any other IPs else.
-
Three ways to match route:
- Exact Match: Matching route as exact value comparison with defined Route value.
- Prefix: Accept all routes that started with defined Route.
- Regex Matching: Advanced matching using Regex with defined Route.
-
IPs List takes three formats:
-
Specific IP:
simple IP, ex. 192.168.x.x -
Network IP with Subnet Mask:
Add Network IP at "Allowed IP" and specify the "Subnet Mask" -
IP Ranges:
IP followed with range: ex.173.245.48.0/20
-
Specific IP:
- Include Full URL to compare base URL starting from http to control domain and sub-domain too
-
Advanced Headers check:
-
Check request's headers if contain value for specific header key:
- ex. to validate request has cookies, add HTTP_COOKIE as key with Empty value, so it match if cookies exist regardless values
-
Check specific header if exist and match its value:
- ex. to validate request host, add HTTP_HOST as key and www.azka.tech as value, so it looks for request host and compare the value
-
Check request's headers if contain value for specific header key:
Steps to set Whitelisting IP Restrictions:
- Activate Whitelisting IP Restrictions

- To go IP Whitelisting from Settings -> IP Whitelisting or Settings -> Technical -> IP Whitelisting.

Sample:

Please log in to comment on this module