[CentOS] how to set ntpd listen only 127.0.0.1 ?

John Doe jdmls at yahoo.com
Fri Jun 12 09:03:50 UTC 2009


From: MontyRee <chulmin2 at hotmail.com>
> I would like to use ntpd for time sync not rdate or ntpdate.
> but after installation the ntpd, I found that listened at all interfaces like below.
> udp        0      0 192.168.111.2:123           0.0.0.0:*                               11528/ntpd
> udp        0      0 xxx.xxx.62.20:123           0.0.0.0:*                               11528/ntpd
> udp        0      0 127.0.0.1:123               0.0.0.0:*             & nbsp;                 11528/ntpd
> udp        0      0 0.0.0.0:123                 0.0.0.0:*                               11528/ntpd
> Is there any way or option that only listen 127.0.0.1 for security reason?

Another option would be to firewall the unwanted ports...

JD


      




More information about the CentOS mailing list