Location requirements via geoblocking
Availability
Geoblocking is available for Enterprise accounts.
Overview
Twingate enables organizations to control access to protected Resources based on geolocation. This allows admins to implement country-based blocking on their Resources.
Common Use Cases
- Blocking high-risk countries for compliance
- Allowing access only from countries where an organization has offices
- Limiting contractor access to known working locations
Location Determination and Accuracy
Twingate uses IP address-based geolocation. Latitude/longitude coordinates are obtained from a Google Cloud load balancer, truncated to two decimal places, and then mapped to a country. Country mapping uses geographical boundary data from Natural Earth.
Note that the accuracy of IP address-based geolocation is impacted by a variety of factors and may not be completely accurate in all cases.
Configuring location requirements
- Select the Resource Policy to add location requirements to and click
Enable
![](/docs-assets/b456caa/docs/static/8875aec0bdb0bc87f4af7ac8512452a3/1e088/policy-page.png)
- Choose the restriction type.
- Allowlists let admins create a list of countries that are allowed to access Resources that use the Resource Policy.
- Denylists let admins create a list of countries that are denied access to Resources that use the Resource policy.
![](/docs-assets/b456caa/docs/static/85748de4bd8f5b3fd060c1cf84536d90/b910a/location-requirements.png)
- Based on the selected restriction type, select countries that should be allowed or denied access to Resources.
Restricted Countries
Certain countries are always blocked due to embargoes or other legal restrictions. These countries currently are:
- Cuba
- Iran
- North Korea
- Syria
As a result, these countries do not appear in the list of countries available for selection.
These countries, in addition to certain non-country regions, are always blocked. This is not user configurable and cannot be overridden.
Blocked devices
Devices blocked from accessing a Resource due to geoblocking will see the following error message.
![](/docs-assets/b456caa/docs/static/84bdf282c95a7e80018c304a2b6bf2ca/08115/blocked.png)
Last updated 3 days ago