Change structure

This commit is contained in:
2026-11-15 13:17:19 +03:00
parent bdc70b0a8e
commit d4dee416c3
21 changed files with 21 additions and 26 deletions
+12
View File
@@ -0,0 +1,12 @@
[Interface]
Address = {{ wireguard_address }}/24
ListenPort = {{ wireguard_port }}
PrivateKey = {{ wg_server_privkey_content.content | b64decode | trim }}
{% for peer in wireguard_clients %}
{% set peer_pubkey = peer_pubkey.results[loop.index0].stdout %}
#Peer: {{ peer.name }}
[Peer]
PublicKey = {{ peer_pubkey }}
AllowedIPs = {{ peer.address }}
{% endfor %}