We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8184d87 commit 44507fdCopy full SHA for 44507fd
templates/wireguard-client.conf.j2
@@ -1,7 +1,7 @@
1
#jinja2: trim_blocks:False
2
[Interface]
3
PrivateKey = {% if item.wireguard_client_key is defined %}{{ item.wireguard_client_key }}{% else %}<Enter here your private key>{% endif %}
4
-Address = {{ wireguard_network_ipv4 }}.{{ item.wireguard_client_id + 1 }}/32, {{ wireguard_network_ipv6 }}:{{ (item.wireguard_client_id + 1)| hex_id }}128
+Address = {{ wireguard_network_ipv4 }}.{{ item.wireguard_client_id + 1 }}/32, {{ wireguard_network_ipv6 }}:{{ (item.wireguard_client_id + 1)| hex_id }}/128
5
DNS = {{ dns_ipv4_1 }}, {{ dns_ipv4_2 }}, {{ dns_ipv6_1 }}, {{ dns_ipv6_2 }}
6
7
[Peer]
0 commit comments