[wireguard] Set adm alias for sputnik interface

certbot_on_virtu
_benjamin 2020-04-19 09:25:44 +02:00
parent f46c4f9f24
commit 3e2807918a
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@ Address = 172.31.0.2/30, fd0c:700:0:8::2/64
ListenPort = 51820 ListenPort = 51820
PrivateKey = {{ wireguard.private_key }} PrivateKey = {{ wireguard.private_key }}
PostUp = /sbin/ip link set sputnik alias adm
[Peer] [Peer]
PublicKey = {{ wireguard.peer_public_key }} PublicKey = {{ wireguard.peer_public_key }}
AllowedIPs = 172.31.0.1/32, fd0c:700:0:8::1/128, 10.231.136.0/24, 2a0c:700:0:2::/64 AllowedIPs = 172.31.0.1/32, fd0c:700:0:8::1/128, 10.231.136.0/24, 2a0c:700:0:2::/64