AllowedIPs
Wireguard Relayシナリオでルーティングを設定できないため、WireGuardの使い方を理解しようとしています。単純化された例:
サービス端末:
[Interface]
Address = 172.16.23.1/32
PrivateKey = ...
ListenPort = ...
[Peer]
PublicKey = ...
AllowedIPs = 172.16.23.0/24
顧客:
[Interface]
Address = 172.16.23.100/32
PrivateKey = ...
[Peer]
PublicKey = ...
Endpoint = ...
AllowedIPs = 172.16.23.0/24
PersistentKeepalive = 45
私の質問は、AllowedIPs
すべてを省略し、ip
Linuxコマンドを使用してルーティングを設定できることです。