first commit
This commit is contained in:
11
templates/wg.conf.j2
Normal file
11
templates/wg.conf.j2
Normal 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 %}
|
||||
Reference in New Issue
Block a user