first commit

This commit is contained in:
Nikita Simonov
2026-05-28 13:08:52 +04:00
commit 64e5afd148
5 changed files with 58 additions and 0 deletions

11
templates/wg.conf.j2 Normal file
View File

@@ -0,0 +1,11 @@
[Interface]
{% for key, value in wireguard_interfaces[item].interface | dictsort %}
{{ key }} = {{ value }}
{% endfor %}
{% for peer in wireguard_interfaces[item].peers %}
[Peer]
{% for key, value in peer | dictsort %}
{{ key }} = {{ value }}
{% endfor %}
{% endfor %}