Saturday, March 10, 2007

FreeBSD Openntpd

Previously I have shown the Openntpd setup on Gentoo, here's how you can quickly set it up on FreeBSD. Please do take note that this is more of ntp client type setup.

shell>pkg_add -vr openntpd

Configuring Openntpd by editing /usr/local/etc/ntpd.conf, just comment out the default ntp server and add the ntp server you want.

# sync to a single server
#server ntp.example.org

server ntp.jaring.my
server ntp.time.net.my

Add this one liner to /etc/rc.conf for it to run on system boot -

openntpd_enable="YES"

Start Openntpd manually now -

shell>/usr/local/etc/rc.d/openntpd.sh start

Done.

Enjoy :]

3 comments:

Russell S said...

Does openntpd on FreeBSD support:

openntpd_flags="-s"

Denaum said...

Im having problems with pf. Which rules should I use?

Denaum said...

Im having problems with pf. Which rules should I use?