NTP commands are not working on gateway

Document ID : KB000046242
Last Modified Date : 14/02/2018
Show Technical Document Details


NTP commands not working on gateway


Changes to the default iptables configuration block UDP traffic by default


1. add the following line to /etc/sysconfig/iptables (there is a section for NTP related entries. I suggest you add it there): 

[0:0] -A INPUT -i lo -p udp -m udp --dport 123 -j ACCEPT 

2. restart iptables and load the config change

service iptables restart