OPNsense Forum

English Forums => General Discussion => Topic started by: cwesterfield on September 26, 2019, 04:12:03 PM

Title: Trying to learn NTP
Post by: cwesterfield on September 26, 2019, 04:12:03 PM
I'm attempting to learn NTP buy setting up opnsense as a server and then redirecting all NTP requests to the router.

I've learned a bunch about stratums and pools and ntpdate -q, but I'm having an issue with opnsense syncing.

I'm not 100% sure how troubleshoot further. The network Time status shows "Unreach/Pending".

What I've done so far:

Since the CLI can query, should that lean me to believe my config is the problem? I've googled a bunch and there are many threads, with a multitude of fixes. I tried an outbound NAT rule, but that also did not work.

(https://i.imgur.com/fDqsyAX.png)
Title: Re: Trying to learn NTP
Post by: banym on September 26, 2019, 08:14:00 PM
Do you have rules set up on your interface to allow Clients to query the OPNsense?
Title: Re: Trying to learn NTP
Post by: cwesterfield on September 26, 2019, 11:49:02 PM
I'm not 100% certain but the fact that a server on my LAN does see the settings (mostly stratum number) that I set in OPNsense, I think they communicate okay.

cwesterfield@bastion:~# ntpdate -q  10.0.1.1
server 10.0.1.1, stratum 5, offset 0.240657, delay 0.02579
26 Sep 21:51:40 ntpdate[32043]: no server suitable for synchronization found

Title: Re: Trying to learn NTP
Post by: cwesterfield on September 27, 2019, 02:04:27 PM
I also realize today That When I use a server to query, the live firewall doesn't show the response. The top part of that log is a debian machine successfully doing a query. I only see the outbound stuff.

Is that expected?

(https://i.imgur.com/PHHAIs1.png)