wireguard設定檔

[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 连接

本篇發表於 ros。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>