I
I
Ivan Gumenyuk2013-12-12 19:15:30
linux
Ivan Gumenyuk, 2013-12-12 19:15:30

Is there a working NTP config in Debian (NTP server for local clients)?

There is a server on Debian, it does not yet have access to the external Internet. Local clients on Windows 7 Home Premium.
Task: Allow synchronization requests from local clients in ntp.conf.
For some reason it doesn't work at the moment. nmap does not show open port 123. Mikrotik shows passing packets on this port. The network looks like 192.168.101.0/24.
I would be grateful to the obviously working config of those who have a local NTP mirror running.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ivan Gumenyuk, 2013-12-12
@Meklon

Worked after adding lines

server 127.127.1.0
fudge 127.127.1.0 stratum 10

As far as I understand, without having your own server, it will not work as a backup.

I
Ilya Evseev, 2013-12-13
@IlyaEvseev

1)apt-get install openntpd
2) /etc/openntpd/ntpd.conf:
listen on 127.0.0.1
listen on 192.168.101.1
servers pool.ntp.org
3) /etc/default/openntpd: add -s to DAEMON_OPTS
4) service openntpd start

S
Snowly, 2013-12-12
@Snowly

apt-get purge ntp ntpdate
apt-get install ntp ntpdate
echo 'restrict 192.168.101.0 mask 255.255.255.0' >> /etc/ntp.conf
service ntp restart
lsof -i | grep ntp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question