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:
diagnose autoupdate versions | grep -A6 Geography
Use the following command to see the simplified list of the 2 letter country code.
diagnose test application geoip list country
diagnose test application geoip list ip <country 2 letter code>
For example, for the US:
diagnose test application geoip list ip US
Use the following command to identify the complete Geo-location of a specific IP address from FortiGuard IP Geography DB.
For example, for the IP 142.250.138.26:
diagnose test application geoip query ip 142.250.138.26
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. |