Skip to main content
jbindra
Staff
Staff
November 19, 2024

Technical tip: How to change the geographical location of a FortiGate

  • November 19, 2024
  • 0 replies
  • 5580 views
Description This article describes how to change the geographical location of a FortiGate on the VPN Location map.
Scope FortiGate.
Solution

Remarks:

  • It is possible to see FortiGate showing its location somewhere in the Gulf of Guinea (0°S, 0°E) on the VPN Location map. The reason behind this is that the Latitude and longitude are not set by default on the FortiGate. 
  • It is possible to drag and drop the FortiGate at the correct location on the VPN Location Map, and the location will be saved. 


final 1.PNG

 

To set specific latitude and longitude in the CLI, run the following commands:

 

config system global
    set gui-device-latitude 45.424721
    set gui-device-longitude -75.695000
end

 

After running the commands, the location is updated according to the configured latitude and longitude:

 

final 2.PNG

 

Note: Running the CLI below allows FortiGate to display its location. This information comes from FortiGuard and corresponds to the FortiGate WAN IP address.

 

CLI Command:

 

diagnose sys waninfo ipify

 

KB-05-28.PNG

 

Related article:

Technical Tip: How to block by country or geolocation

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT