move wireguard installation to base role

This commit is contained in:
2024-07-22 15:44:26 +02:00
parent 4cfcc906d6
commit 4ca9881b94

View File

@@ -1,10 +0,0 @@
[Interface]
Address = {{ wg_local_ip }}
ListenPort = 41475
PostUp = wg set %i private-key /etc/wireguard/privatekey
[Peer]
PublicKey = {{ wg_server_pubkey }}
Endpoint = {{ wg_endpoint }}
AllowedIPs = 192.168.3.0/24, 192.168.1.0/24
PersistentKeepalive = 25