OPNsense Forum

English Forums => 26.7 Series => Topic started by: Lucid1010 on September 16, 2026, 03:03:06 PM

Title: chrony port open?
Post by: Lucid1010 on September 16, 2026, 03:03:06 PM


chrony.webp

$ sockstat -4 -l | grep chrony
chronyd chronyd    69981   5 udp4  127.0.0.1:323         *:*

Is it a bug that port 323 is open even though I didn't set 'Allowed Networks'?

When 'Allowed Networks' is configured, it opens as `*:323`, but when it's not set, the port opens as `127.0.0.1:323`.

$ cat /usr/local/etc/chrony.conf

port 323
driftfile /var/db/chrony/drift
pidfile /var/run/chrony/chronyd.pid
makestep 1 3

ntsdumpdir /var/lib/chrony
ntstrustedcerts /usr/local/etc/ssl/cert.pem
nosystemcert


server time.cloudflare.com iburst nts

It would be great to have an option to set the port to 0 or disable it completely.
Title: Re: chrony port open?
Post by: Patrick M. Hausen on September 16, 2026, 03:11:23 PM
127.0.0.1 is the loopback interface. It is not reachable from anywhere but the firewall itself.
Title: Re: chrony port open?
Post by: Lucid1010 on September 17, 2026, 01:54:26 AM
Quote from: Patrick M. Hausen on September 16, 2026, 03:11:23 PM127.0.0.1 is the loopback interface. It is not reachable from anywhere but the firewall itself.

Yes. I'd just like to disable the local port as well.