UniFi Gateway - Country Restriction

2023-09-19 16:11:53 UTC

Traffic Routes is a feature found in the Firewall & Security section of your Network application that allows you to block or allow traffic to specific countries or territories.


Requirements


Available Options

Country Restrictions can be configured to:

  • Block or allow traffic.
  • Match one or more countries or territories.
  • Apply to both incoming and outgoing traffic.

Examples

If you want to only allow traffic to services in your own country, then configure Country Restriction with the following options:

  • Action: Allow
  • Country: Select your own country
  • Direction: Both

If you want to block traffic to and from specific countries, then configure Country Restriction with the following options:

  • Action: Block
  • Country: Select one more more countries
  • Direction: Both

Frequently Asked Questions

I want to only block specific client traffic to a certain country. Can I use Country Restriction?

No. Configure a Traffic Rule that matches on a Region instead. 

I want to block all Internet traffic except to services in my home country. Can I use Country Restriction?

Yes. See the examples section for more information.

Was this article helpful?
3 out of 11 found this helpful