Dear,
We want to use Fortigate NTP as the source to synchronize time in our environment. The configuration seems very simple but unfortunately it is not working. Please find the configuration below...
ROM-FG-80E # show system ntp config system ntp set ntpsync enable set syncinterval 2 set source-ip 192.168.2.254 (LAN interface) set server-mode enable set interface "dmz" "lan" end
ROM-FG-80E # diag sys ntp status synchronized: no, ntpsync: enabled, server-mode: enabled
ipv4 server(ntp2.fortiguard.com) 208.91.112.51 -- unreachable(0x0) S:7 T:8 no data ipv4 server(ntp1.fortiguard.com) 208.91.112.50 -- unreachable(0x0) S:7 T:8 no data ipv4 server(ntp2.fortiguard.com) 208.91.113.71 -- unreachable(0x0) S:7 T:8 no data ipv4 server(ntp1.fortiguard.com) 208.91.113.70 -- unreachable(0x0) S:7 T:8 no data
ROM-FG-80E # execute ping ntp2.fortiguard.com PING ntp2.fortinet.net (208.91.112.51): 56 data bytes 64 bytes from 208.91.112.51: icmp_seq=0 ttl=48 time=239.8 ms 64 bytes from 208.91.112.51: icmp_seq=1 ttl=48 time=238.7 ms 64 bytes from 208.91.112.51: icmp_seq=2 ttl=48 time=238.6 ms 64 bytes from 208.91.112.51: icmp_seq=3 ttl=48 time=239.9 ms 64 bytes from 208.91.112.51: icmp_seq=4 ttl=48 time=238.6 ms
Any ideas on how to troubleshoot this?
Thanks in advace,
Could you sniff the traffic to a known NTP server? Like
di de en
di sniff packet wan1 'port 123 and host 192.53.103.104' 4 0 l ("ell")
This will only show the sync traffic, no pings.
Your problem is strange, in that NTP is almost always working immediately. I've seen on one occasion that the NTP server responded with "Too many connections", as a huge network was accessing it through the same, single public address via NAT. This can be avoided by directing clients to the FGT, and only the FGT querying the NTP server.
Have you tried different NTP servers? i.e. pool.ntp.org.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
In my case I was missing a policy to allow NTP outbound. The DIAG SYS NTP STATUS then showed reachable.
When I hit this problem the last time it was due to the source IP the FGT had picked. You can force a viable address in 'conf sys ntp' using 'set source-ip x.x.x.x'. Try that and observe if the NTP source appears to be 'reachable'.
Have you configured "set ha-direct enable" in HA settings, enable this it should work.
Thanks, Darshan Shettar
I know I'm resurrecting an old thread here, but I hope someone sees this. This worked for me, and the time was off by only 4min. It also stopped me from connecting to FortiGuard.
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1743 | |
1114 | |
760 | |
447 | |
241 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.