Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
mrun1955
New Contributor

Block IP addresses by country in FortiGate

I need to block IP traffics from a certain country. I can export a free IP address table list from IP2Location. The sample output file in CIDR format is as below. It supports more than one export format but I'm not sure which one fit FortiGate best. What should I do next to import the list to enable blocking in FortiGate? I don't want to enter the ranges manually.

 

[code lang=css]# -------------------------------------------------------
# Free IP2Location Firewall List by Country
# Source: https://www.ip2location.com/free/visitor-blocker
# Last Generated: 20 Nov 2018 05:39:54 GMT
# [Important] Please update this list every month
# -------------------------------------------------------
27.116.56.0/22
43.230.209.0/24
43.231.131.0/24
43.249.40.0/22
43.250.136.0/22
45.65.58.0/23

0 REPLIES 0
Labels
Top Kudoed Authors