微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

unix – NTPD:使用无限制端口进行通信

当使用命令ntpdate查询ntp服务器时,可以使用-u参数来使源端口成为无限制端口(端口1024及以上).

使用ntpd,这意味着在后台运行,我似乎找不到打开此选项的方法.所以源端口总是123.我的防火墙配置正在玩耍.

ntp.conf中是否有配置选项使其使用随机源端口?

听起来不是这样可能…看到 ntp troubleshooting page

If you’re going to run ntpd,you need to fix your network/firewall/NAT so that ntpd can have full unrestricted access to UDP port 123 in both directions.

If this is not possible,you may need to run ntpd on the firewall itself,so that it can have full unrestricted access to UDP port 123 in both directions,and then have it serve time to your internal clients.

If that’s not possible,your only other option may be to buy the necessary hardware to connect to one or more of your own computers and run your own Stratum 1 time server or buy a pre-packaged Stratum 1 time server.

原文地址:https://www.jb51.cc/bash/383612.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐