diff --git a/roles/wireguard/templates/wireguard/sputnik.conf.j2 b/roles/wireguard/templates/wireguard/sputnik.conf.j2 index 71f4a1a3..7e921c89 100644 --- a/roles/wireguard/templates/wireguard/sputnik.conf.j2 +++ b/roles/wireguard/templates/wireguard/sputnik.conf.j2 @@ -5,6 +5,8 @@ Address = 172.31.0.2/30, fd0c:700:0:8::2/64 ListenPort = 51820 PrivateKey = {{ wireguard.private_key }} +PostUp = /sbin/ip link set sputnik alias adm + [Peer] 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