Block OFAC-Sanctioned Countries Firewall Rule

R
Renaudil y a 2 jours
0

Description

Use this template to quickly implement blocks against traffic from OFAC-sanctioned countries with the Vercel Web Application Firewall (WAF).

npx boilerapp block-ofac-sanctioned-countries-firewall-rule

文档

Block OFAC-Sanctioned Countries and Regions

This template provides a preset, customizable Vercel Firewall rule which is designed to support your compliance with US export control regulations by offering the ability to restrict access from sanctioned and embargoed regions.

Overview

Identify incoming requests based on their country of origin and block access from specified OFAC-sanctioned countries and regions. The list is not meant to be exhaustive, and may not include all sanctioned countries and regions as of any given date. Updating and customizing the list of countries and regions, ensuring that the firewall rule is operating as intended, and otherwise maintaining the compliance of your product and operations remains your responsibility.

Consider customization

The generated Firewall rule provides a basic structure for blocking traffic from countries and regions sanctioned by the Office of Foreign Assets Control (OFAC). Consider customizing the following parameters to suit your specific compliance needs:

  1. Country List: Update the list of countries to be blocked based on the latest government sanctions program or any countries you desire to add.
  2. Region List: Use the Country and State keys together to block specific regions or subdivisions in ISO 3166-2 format (e.g., UA-43 for Crimea). This allows for more granular control than country-level blocking. Note: Country and State correspond to the X-Vercel-IP-Country and X-Vercel-IP-Country-Region headers, respectively.
  3. Exception Handling: Configure exceptions for specific IP addresses or entities that require access despite country restrictions.

Persistent Action

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.

Availability

This solution can be implemented by users on all plans.

To Use

To use this template, follow these steps:

  1. Click "Add Firewall Rule."
  2. Select your team and project.
  3. Configure the rule to block traffic from countries and regions sanctioned by the Office of Foreign Assets Control (OFAC) as necessary.
  4. Don't forget to hit "Save," and then "Publish" to activate the rule.

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联系我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联系我们,我们将尽快回复。

Block OFAC-Sanctioned Countries Firewall Rule | BoilerApp