How do I enable the original 'time' protocol

Started by dinguz, March 10, 2024, 08:22:31 PM

Previous topic - Next topic
I have an ancient system where I can only use the original daytime/time protocols (at tcp ports 13 and 37). This system can't use NTP because of limited storage capacity on the device.

How do I enable OPNsense as a server providing this, preferably in a way which survives upgrades?

I have used the search, but couldn't find much because of the very generic search terms.
In theory there is no difference between theory and practice. In practice there is.

You need to enable the time service in the file /etc/inetd.conf by removing the comment sign in the first column. Then enable the inetd service by placing this into /etc/rc.conf.d/inetd:

inetd_enable="YES"

Then reboot or `service inetd start`.

I have no idea if this survives updates, sorry. You will also have to open the ports in your firewall rules for the interface in question.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Got it working, thanks!
In theory there is no difference between theory and practice. In practice there is.