This commit is contained in:
mwiegand 2021-10-09 22:34:08 +02:00
parent 5f85594b32
commit d5a7a8c8cb

View file

@ -20,7 +20,7 @@ DNS = 8.8.8.8
[Peer]
PublicKey = {data['pubkey']}
PresharedKey = {data['psk']}
AllowedIPs = 10.0.0.0/16
AllowedIPs = {server_node.metadata.get('wireguard/my_ip')}, 10.0.0.0/16
Endpoint = {str(ip_interface(server_node.metadata.get('network/external/ipv4')).ip)}:51820
PersistentKeepalive = 10'''
)