This commit is contained in:
mwiegand 2021-10-09 23:37:14 +02:00
parent d5a7a8c8cb
commit e35cdb98bb
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -0,0 +1,2 @@
echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control
dmesg -wT | grep wireguard