OPNsense Forum

English Forums => General Discussion => Topic started by: eponymous on May 23, 2021, 03:31:23 PM

Title: NTP client-only mode for OPNsense?
Post by: eponymous on May 23, 2021, 03:31:23 PM
Hi,

Is it possible for OPNsense to sync to a local NTP server but not necessarily serve time to the network as NTPd normally does? I was hoping there may be a smaller NTP client-only daemon.

Or are we limited to running NTPd to sync the clock and then locking it down with the Firewall?

Thanks.
Title: Re: NTP client-only mode for OPNsense?
Post by: franco on May 24, 2021, 07:26:47 PM
Hi,

There is an old ticket, but as long as people keep arguing there are more important priorities that should be worked on this will be pushed back again unless someone steps in to contribute.

https://github.com/opnsense/core/issues/2012


Cheers,
Franco
Title: Re: NTP client-only mode for OPNsense?
Post by: ashen24 on May 25, 2021, 05:24:32 AM
Hello eponymous,
The chrony plugin works beautifully as a low drama NTP client. Just leave the listen interfaces blank and it won't try to act as a server.

I've attached my example which uses cloudflare and Secure Time but you could just as easily specify a host on your network.
Title: Re: NTP client-only mode for OPNsense?
Post by: eponymous on August 08, 2021, 06:18:21 PM
It looks like 21.7 now has an NTPD Client only mode :)
Title: Re: NTP client-only mode for OPNsense?
Post by: franco on August 09, 2021, 09:33:26 AM
No feedback on this so far... so it seems to be working? ;)


Cheers,
Franco
Title: Re: NTP client-only mode for OPNsense?
Post by: lilsense on August 09, 2021, 01:58:00 PM
I would use Chrony instead.