我有 ubuntu 伺服器,wireguard IP 10.10.0.1
以及兩個具有wireguard 10.10.0.2 和 10.10.0.3 IP 的 win11 用戶端
使用目前設定伺服器可以 ping 客戶端,客戶端可以 ping 伺服器,但客戶端無法互相 ping 通
這是他們的配置
烏布圖
[Interface]
Address = 10.10.0.1/24
ListenPort = 51820
PrivateKey = <ubuntuprivatekey>
[Peer]
PublicKey = <client1pubkey>
AllowedIPs = 10.10.0.2/32
[Peer]
PublicKey = <client2pubkey>
AllowedIPs = 10.10.0.3/32
客戶1
[Interface]
PrivateKey = <client1privatekey>
Address = 10.10.0.2/32
[Peer]
PublicKey = <ubuntupubkey>
AllowedIPs = 10.10.0.1/24
Endpoint = myubuntuserver.com:51820
PersistentKeepalive = 60
客戶端2
[Interface]
PrivateKey = <client2privatekey>
Address = 10.10.0.3/32
[Peer]
PublicKey = <ubuntupubkey>
AllowedIPs = 10.10.0.1/24
Endpoint = myubuntuserver.com:51820
PersistentKeepalive = 60
需要更改什麼才能允許 win11 用戶端相互 ping 通
謝謝