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.
Rathan_FTNT
Staff
Staff
Article Id 192907

Description

 

This article describes how to change the system time.

 

Scope


FortiGate.

Solution


To configure the date and time from the GUI.

  1. Go to System -> Settings.
  2. In the system time section, configure the following settings to either manually set the time or use an NTP server:

Time Zone Select a time zone from the list. This is the time zone that the FortiGate is in.
Set Time Select it to either synchronize with an NTP Server or use Manual settings.
Synchronize with an NTP server To use an NTP server other than FortiGuard, the CLI has to be used.
In the Sync interval field, enter how often, in minutes, that the unit synchronizes its time with the NTP server.
Manual settings Manually enter the date, hour (in 24-hour format), minute, and second in the fields.
Set up the unit as a local NTP server Enable configuration of the FortiGate as a local NTP server.
In the Listen on interfaces field, set the interface or interfaces that the FortiGate will listen for NTP requests on.

 

  1. Select 'Apply'.

 
To configure the date and time from the CLI:
 
  1. Configure the time zone and daylight savings time.
 
config system global
    set timezone <string>
    set dst {enable | disable}
end
 
Note:
  • The time zone attribute is changed from an Integer to an Internet Assigned Numbers Authority (IANA) time zone Datasource from FortiOS v7.4.2 and above. IANA time zone datasource is updated from the FortiGuard server, instead of being embedded within the FortiOS image itself as like the Integer system Datasource. The update from the FortiGuard server helps in automatically updating the time zone changes, such as Daylight saving time.
  • On the FortiManager, the latest version (v7.4.2 and above) of ADOM is required to avoid the 'unset timezone' issue during System Template synchronization. 
  • DST (Daylight Saving Time) is a regional time adjustment that shifts the clock forward by one hour during certain months of the year. By default, FortiGate enables DST automatically.
  • UTC (Coordinated Universal Time) is the global time standard used for synchronizing the clocks across systems and networks. It remains constant throughout the year; it does not include any seasonal adjustments.
     
  1. Manually configure the date and time with the CLI, or configure an NTP server:

 

execute date <yyyy-mm-dd>
execute time <hh:mm:ss>NTP server.
config system ntp
    set ntpsync enable
    set type {fortiguard | custom}
    set syncinterval <integer>
    set source-ip <ip_address>
    set source-ip6 <ip6_address>  
    set server-mode {enable | disable}
    set interface <interface>
    set authentication {enable | disable}
    set key-type {MD5 | SHA1}
    set key <password>
    set key-id <integer>

        config ntpserver

            edit <server_id>

                set server <ip_address or hostname>

                set ntpv3 {enable | disable}

                set authentication {enable | disable}

                set key <password>

                set key-id <integer>

            next

        end

end

 

The following article provides a technical guide on troubleshooting NTP synchronization issues on FortiGate. It includes diagnostic and configuration steps to ensure proper system clock synchronization: Troubleshooting Tip: NTP synchronization issue.