wuruxu

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

  •  
  •   wuruxu · Jul 16, 2024 · 902 views
    This topic created in 674 days ago, the information mentioned may be changed or developed.

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5347 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 05:52 · PVG 13:52 · LAX 22:52 · JFK 01:52
    ♥ Do have faith in what you're doing.