client_ip_version
Version: v2025-02-18 | Includes use: Yes |
---|
Criterion name: Client IP Version
Matches the version of the IP protocol used by the requesting client.
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_version" {
rules_v2025_02_18 {
name = "Client IP Version"
comments = "Matches the version of the IP protocol used by the requesting client."
criterion {
client_ip_version {
use_xforwarded_for = false
value = "IPV4"
}
}
}
}
"criterion": [
{
"name": "clientIpVersion",
"options": {
"useXForwardedFor": false,
"value": "IPV4"
}
}
]
Options
Option | Description |
---|---|
value |
The IP version of the client request. Value is one of:
|
use_x_forwarded_for |
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 10 minutes ago