[Interface]
PrivateKey = 預設新增會自動產生
Address = 192.168.x.2/32 填入routeos 的 vpn pool
DNS = 就 DNS 你還想怎樣
[Peer]
PublicKey = 填入 Routeos public
AllowedIPs = 172.168.x.0/24, 192.168.x.0/24 #允許的ip網段
Endpoint = routs wan ip:13231 #ip:port
PersistentKeepalive = 10 #每10秒自動偵測
# allowedips 設定內網段 上網流量不會遠端出去
#a allowedips 0.0.0.0/0 流量會遠端流出
#预共享密钥需要两端都填写,否则会导致无法连接
#使用 DDNS 时请注意,WireGuard 只会在启动时解析域名对应的 IP 地址,如果 IP 发生变动需要重启 WireGuard 或者改用 IP 连接