OPNsense Forum

English Forums => General Discussion => Topic started by: dinguz on March 10, 2024, 08:22:31 PM

Title: How do I enable the original 'time' protocol
Post by: dinguz on March 10, 2024, 08:22:31 PM
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.
Title: Re: How do I enable the original 'time' protocol
Post by: Patrick M. Hausen on March 10, 2024, 08:31:22 PM
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.
Title: Re: How do I enable the original 'time' protocol
Post by: dinguz on March 10, 2024, 08:39:43 PM
Got it working, thanks!