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

前端之家收集整理的这篇文章主要介绍了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.f2er.com/bash/383612.html

猜你在找的Bash相关文章