This Sheet describes the procedure to set-up time services to keep the FreeBSD machine synchronized with NIST's stratum-1 clock in Boulder, Colorado, and to act as a time server for other computers on the local network. For some interesting information on time, please read the NIST's Time and Frequency FAQ and the article Computer Time Synchronization (PDF document).
### Network Time Services options: ###
xntpd_enable="YES"
xntpd_program="ntpd"
xntpd_flags="-p /var/run/ntpd.pid"
server time.nist.gov prefer
server 127.127.1.0
fudge 127.127.1.0 stratum 10
driftfile /etc/ntp.drift
# ntpd -p /var/run/ntpd.pid
demand:
...
set filter alive 0 deny udp src eq 123
set filter alive 1 deny udp dst eq 123
set filter alive 2 permit 0 0
set filter dial 0 deny udp src eq 123
set filter dial 1 deny udp dst eq 123
set filter dial 2 permit 0 0
...
Note: You must restart ppp before these rules take effect.