V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
wuruxu
V2EX  ›  宽带症候群

设备时间不准确,会导致 wireguard peer 无法正常连接

  •  
  •   wuruxu · 77 天前 · 488 次点击
    这是一个创建于 77 天前的主题,其中的信息可能已经有所发展或是发生改变。

    问题背景,我的 openwrt 配置的 的 ntp server 是 0.openwrt.pool.ntp.org, 然而我在设备上的 dnsmasq 配置把 .org 的流量全部重定向到 wg0 这个 interface , 每次 openwrt 设备重启,就导致我的 openwrt 设备时间永远不准确,wireguard wg0 也无法完成正常握手。
    解决办法:把 ntp server 配置成 ntp1.aliyun.com
    当 wireguard 配置正确无误的情况下,还是无法连接,请一定要检查设备的时间

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1867 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 04:32 · PVG 12:32 · LAX 21:32 · JFK 00:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.