From e9072219a8defe06999f074ee643f0aac79e00e4 Mon Sep 17 00:00:00 2001 From: lhahn Date: Sat, 2 Sep 2023 18:26:18 +0200 Subject: [PATCH] fix name string --- templates/etc/wireguard/wireguard.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/etc/wireguard/wireguard.conf.j2 b/templates/etc/wireguard/wireguard.conf.j2 index 00290fb..0401194 100644 --- a/templates/etc/wireguard/wireguard.conf.j2 +++ b/templates/etc/wireguard/wireguard.conf.j2 @@ -17,7 +17,7 @@ PostDown = iptables -t nat -D POSTROUTING -o {{ cloud_name }} -j MASQUERADE {% endif %} {% for vpn_client in vpn_clients %} -## vpn {{ cloud_name }} - {{ vpn_client }} ## +## vpn {{ cloud_name }} - {{ vpn_client.name }} ## [Peer] PublicKey = {{ vpn_client.public_key }} AllowedIPs = {{ vpn_gateway_net_prefix }}.{{ vpn_client.index }}/32