If you have any questions or comments, feel free to drop me a note. Remove the ".nospam" on the end of my username to send me mail.
Note that I've written most of this document from memory. It appears to be correct; if I've missed something, let me know.
(( Internet )) | ------------------ | OpenBSD firewall | ------------------ | ( various windows and unix hosts )I will describe the setup on the OpenBSD firewall, and my main desktop machine (which is a Windows based box).
Also, make sure your /etc/localtime file is linked to the correct time zone file for your region. For example, if you were in the Canadian Atlantic time zone, your /etc/localtime file should be linked as follows (from afterboot(8)):
ln -fs /usr/share/zoneinfo/Canada/Atlantic /etc/localtimeThis will designate Atlantic Standard Time as your system's time zone.
server 184.108.40.206 prefer server 220.127.116.11See the references section for information on where to find public NTP servers.
If you would like the OpenBSD machine's system time to be synchronized on boot, modify the ntpdate_flags variable in /etc/rc.conf to equal one of the servers specified in your ntp.conf file.
Running this command is a good idea, as any significant deviation of your system's time from the actual time (as reported by the configured servers) will cause NTPD to exit (and therefore leave your system time desynched from the rest of the world).
If you would like NTPD to run automatically the next time your system is re- started, modify the ntpd variable in /etc/rc.conf to equal "YES".
To configure AboutTime to poll your local NTP server (i.e. the OpenBSD box), start the application and remove all hosts under the Time Hosts tab.
Next, add an entry for your local (OpenBSD) NTP server. Set the protocol to SNTP.
Next (optional), disable all protocols under Time Servers, except SNTP.
Under Options, make sure it is polling at a reasonable interval.
Finally, have AboutTime set the time at startup.
I also suggest making a shortcut to the AboutTime executable in the Startup folder for the system. Under Windows NT, this directory is (usually) located at:
C:\WINNT\Profiles\All Users\Start Menu\Programs\StartupWhen the machine boots, AboutTime will now be started automatically. If the Set Time When Starting option was set, it will also sync with your local time server.
Test your setup: under the Control/Time Client tab, click Set Time, and make sure the Windows machine synchronizes properly. If not, recheck your configuration on both the OpenBSD and Windows machines.
To get a fairly accurate reading of the current time from the US Naval Observatory, check out: http://tycho.usno.navy.mil/cgi-bin/timer.pl.
A List of public NTP servers can be found at:
Complete documentation can be found at:
The Time Synchronization homepage:
Copyright © 2000 Robert Mooney, All rights reserved.
This document may be freely distributed and modified, so long as the original author is credited.