HOWTO setup a small server

NTP (Network Time Protocol Server)


To install the NTP server, issue the following command:

# apt-get install ntp


If you want to use other servers than Debian's default servers as a reference, you will have to comment the lines begining with server in /etc/ntp.conf and add your own servers, e.g.:

Excerpt: /etc/ntp.conf


Networking Requirements

Prerequisite: Shorewall If you want to allow other hosts to use your server as time server, you will have to allow connections to UDP port 123. Add the following lines to /etc/shorewall/rules:

Excerpt: /etc/shorewall/rules

ACCEPT		net		$FW		udp	123

and restart the packet filter:

# shorewall restart

Back to index.