Cloudflare
Create zone access rule
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
Make a new IP, IP range, or country access rule for a given zone.
Inputs
The action to apply to a matched request.
Allowed enum values: whitelist,block,challenge,js_challenge,managed_challenge
The IP to target in the rule. It can be:
- an IPv4 address
- an IPv6 address
- an IP range specified in CIDR notation (limited to
/16
and /24
for IPv4 and /32
, /48
, and /64
for IPv6) - an autonomous system number (ASN)
- a country / 2-digit ISO country code
A personal note about the rule. Typically used as a reminder or explanation for the rule.
Outputs