Difference between revisions of "NTP"
Jump to navigation
Jump to search
(Created page with "## Install ``` sudo apt install ntp ``` ## Test ``` sntp 127.0.0.1 sntp 4.2.8p10@1.3728-o (1) kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or dire...") |
(No difference)
|
Revision as of 22:52, 24 March 2020
Install
sudo apt install ntp
Test
sntp 127.0.0.1 sntp 4.2.8p10@1.3728-o (1) kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory 2020-03-24 21:45:27.388183 (+0000) -0.001741 +/- 0.332805 127.0.0.1 s3 no-leap
s3 no-leap usually means you are good
Allow through firewall for other hosts.
vim /etc/nftables.conf
table inet filter { chain input { udp dport 123 accept udp sport 123 accept
systemctl restart nftables