FortiMail
FortiMail provides advanced, multi-layer protection against the full spectrum of email-borne threats
gcortes1
Staff
Staff
Article Id 368642
Description This article provides commands to verify GeoIP information in FortiMail.
Scope FortiMail 7.4.X, 7.2.x.
Solution

Run the following via the CLI:


Use the following command to know the current FortiGuard IP Geography DB version in the FortiMail.

 

diagnose autoupdate versions | grep -A6 Geography

 

DB-Geo.PNG

 

Use the following command to see the simplified list of the 2 letter country code.

 

diagnose test application geoip list country

 

DB-Geo-Country.PNG
Use the following command to learn the IPs or IP ranges belonging to a specific country.

 

diagnose test application geoip list ip <country 2 letter code>

 

For example, for the US: 

 

diagnose test application geoip list ip US

 

DB-Geo-Country-list.PNG

 

Use the following command to identify the complete Geo-location of a specific IP address from FortiGuard IP Geography DB.


diagnose test application geoip query ip <public ip>

 

For example, for the IP 142.250.138.26:

 

diagnose test application geoip query ip 142.250.138.26

 

DB-Geo-IP.PNG

 

If a particular IP shows a different result (different Geo location country) on https://www.fortiguard.com/services/ipge, fill in the IP Geo-location Appeal Form to re-validate the IP address at https://www.fortiguard.com/faq/ipge.

Contributors