first_commit

This commit is contained in:
2026-05-31 11:58:36 +03:00
commit 32667c657d
21 changed files with 338 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[Interface]
PrivateKey = {{ host_private_key }}
Address = {{ wg_ip }}/24
ListenPort = {{ wg_port }}
{% for peer in wireguard_peers %}
{% if peer.ip != wg_ip %}
[Peer]
PublicKey = {{ peer.pubkey }}
AllowedIPs = {{ peer.ip }}/32
{% if peer.endpoint %}
Endpoint = {{ peer.endpoint }}
PersistentKeepalive = 25
{% endif %}
{% endif %}
{% endfor %}