FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
salmas
Staff
Staff
Article Id 310689
Description This article describes how to use a script to import all geography based address objects.
Scope FortiGate.
Solution

Download the .zip file attached to this article.

 

Upload a script using the GUI:

  • Select the username (Top right corner) and select Configuration -> Scripts.
  • Select 'Run Script'.
  • Select the text file from the downloaded zip and select 'OK'.

Geo_Script.png

Confirm all country address objects are created by navigating to Policy & Objects -> Addresses: Geography.

 

If desired, check and verify the IDs on each country that is present on the text file attached. 

 

diagnose firewall ipgeo country-list

 

Related document:

Geography based addresses - FortiGate administration guide.

Contributors