加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

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

发布时间:2020-12-16 01:28:07 所属栏目:安全 来源:网络整理
导读:当使用命令ntpdate查询ntp服务器时,可以使用-u参数来使源端口成为无限制端口(端口1024及以上). 使用ntpd,这意味着在后台运行,我似乎找不到打开此选项的方法.所以源端口总是123.我的防火墙配置正在玩耍. ntp.conf中是否有配置选项使其使用随机源端口? 听起来
当使用命令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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读