client_ip
Version: v2025-02-18 | Includes use: Yes |
---|
Criterion name: Client IP
Matches the IP number of the requesting client. To use this condition to match end-user IP addresses, apply it together with the request_type
matching on the CLIENT_REQ
value.
Default criterion
These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.
data "akamai_property_rules_builder" "client_ip" {
rules_v2025_02_18 {
name = "Client IP"
comments = "Matches the IP number of the requesting client."
criterion {
client_ip {
values = []
use_headers = false
match_operator = "IS_ONE_OF"
}
}
}
}
"criterion": [
{
"name": "clientIp",
"options": {
"values": [],
"useHeaders": false,
"matchOperator": "IS_ONE_OF"
}
}
]
Options
Option | Description |
---|---|
match_operator |
Specifies whether a match is made on values.
value Value is one of:
|
values |
IP or CIDR block, for example:
71.92.0.0/14 .
|
use_headers |
When connecting via a proxy server as determined by the
X-Forwarded-For header, enabling this option matches the connecting client's IP address rather than the original end client specified in the header.
|
Updated 34 minutes ago