| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/waf/tools/ip-access-rules/create/ | [Back] [Original] |
Recommendation: Use custom rules instead
Cloudflare recommends that you create custom rules instead of IP Access rules to perform IP-based or geography-based blocking (geoblocking).
Caution
For Spectrum applications configured with the non-HTTP/HTTPS application type, IP Access rules are the only supported mechanism for filtering traffic by IP address, IP range, country, or ASN. To use them, enable IP Access rules in your Spectrum app configuration.
Note
The IP access rules option appears only if you have configured at least one IP access rule.
In the Cloudflare dashboard, go to the Security rules page.
Go to Security rules ↗Select Create rule > IP access rules.
Enter the following rule details:
Payment Gateway).Select Create.
Use the Cloudflare API to programmatically create IP access rules. For more information, refer to Create an IP Access Rule.
| Web Proxy Viewer | New URL | Original Page |