How to block the client from accessing a certain country using Geo IP?
The Geo IP offers to identify the country-based IP addresses; it allows you to block the client from accessing a certain country based on the security policy.
When the user makes HTTP or HTTPS request, USG Flex H queries the IP address from the cloud database, then takes action when it matches the block country in the security policy.
USG Flex H Geo IP Example:
Note: All network IP addresses and subnet masks are used as examples in this article. Please replace them with your actual network IP addresses and subnet masks. This example was tested using USG Flex 500H(Firmware Version: 1.10)
Setup the Address Object with Geo IP on the USG Flex H
Navigate to Object > Address > Geo IP > Add a geo IP related object.
Navigate to Object > Address > Address, you can see the customized GEOGRAPHY address object.
Navigate to Object > Address > Address Group> Add Address Group Rule, and add all customized GEOGRAPHY addresses into the same Member object.
Set Up the Security Policy on the USG Flex H
Go to Security Policy > Policy Control, configure a Name for you to identify the Security Policy profile. Set deny Geo IP traffic from LAN to WAN (geo_block_policy in this example).
Test the Result
When the LAN PC tries to access a website that matches the blocked geographical location, it is unable to reach those sites. The situation is as follows:
To view the log message, go to USG Flex H Log & Report > Log / Events. You will find log messages similar to the following. Any traffic that matches the Geo IP policy will be blocked, and the details will be displayed in the Message field.
Share your feedback through our survey, make your voice heard, and win a WiFi 7 AP! https://bit.ly/2024_Survey_Community
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 144 Nebula Ideas
- 94 Nebula Status and Incidents
- 5.6K Security
- 237 USG FLEX H Series
- 267 Security Ideas
- 1.4K Switch
- 71 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.3K Consumer Product
- 246 Service & License
- 383 News and Release
- 83 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.2K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 83 About Community
- 71 Security Highlight