martes, 1 de septiembre de 2009

NTP Server in 20 seconds

Hi,

How are you today?

If you are going to install an NTP server I suggest that you use OpenBSD with OpenNTPD. That is the way to do it.

http://www.openbsd.org
http://www.openntpd.org/

In OpenBSD it is already install all you need is to activate it in rc.conf.local (NOT rc.conf)

ntpd_flags=""

Then in /etc/ntpd.conf add the line

listen on *

Leave the servers line as it is.

Modify /etc/pf.conf to allow udp in port 123.

pass in log on $ext_if proto udp from any to ($ext_if) port 123

where ext_if="YOUR INTERFACE"

You can always use GNU/Linux Debian, Fedora or Slackware (or Ubuntu Server if you are a beginer) to do it.

apt-get install openntpd

Then modify the /etc/openntpd/ntpd.conf

listen on *

Leave the servers line as it is.

Reboot if necesary and you have an NTP Server.

The client instalation is the same but the line listen on * must not be in the configuration file, and the server should be the one you want to use.

No hay comentarios:

Publicar un comentario