Use this template to quickly implement blocks against traffic from OFAC-sanctioned countries with the Vercel Web Application Firewall (WAF).
This template provides a preset, customizable Vercel Firewall rule which is designed to help block traffic from countries sanctioned by the Office of Foreign Assets Control (OFAC). Designed to support compliance efforts, this configuration restricts access from sanctioned regions.
Identify incoming requests based on their country of origin and block access from specified OFAC-sanctioned countries. The list is not meant to be exhaustive, and may not include all sanctioned countries as of any given date. Updating the list of countries, ensuring that the firewall rule is operating as intended, and otherwise maintaining the compliance of your product and operations remains your responsibility.
The generated Firewall rule provides a basic structure for blocking traffic from sanctioned countries. Consider customizing the following parameters to suit your specific compliance needs:
The rule includes a persistent action set to a duration of 1 hour. Any requests blocked due to persistent actions, which are activated after the first violation of the rule, are blocked before any usage is incurred.
This solution can be implemented by users on all plans.
To use this template, follow these steps:
Use this template to quickly implement blocks against traffic from OFAC-sanctioned countries with the Vercel Web Application Firewall (WAF).
This template provides a preset, customizable Vercel Firewall rule which is designed to help block traffic from countries sanctioned by the Office of Foreign Assets Control (OFAC). Designed to support compliance efforts, this configuration restricts access from sanctioned regions.
Identify incoming requests based on their country of origin and block access from specified OFAC-sanctioned countries. The list is not meant to be exhaustive, and may not include all sanctioned countries as of any given date. Updating the list of countries, ensuring that the firewall rule is operating as intended, and otherwise maintaining the compliance of your product and operations remains your responsibility.
The generated Firewall rule provides a basic structure for blocking traffic from sanctioned countries. Consider customizing the following parameters to suit your specific compliance needs:
The rule includes a persistent action set to a duration of 1 hour. Any requests blocked due to persistent actions, which are activated after the first violation of the rule, are blocked before any usage is incurred.
This solution can be implemented by users on all plans.
To use this template, follow these steps: