From 61d55fadfbe18077a7f7b8832d9e9b2aef448a3d Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Thu, 5 Oct 2023 10:42:02 +0300 Subject: [PATCH] Add default --- templates/wireguard_client.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/wireguard_client.conf b/templates/wireguard_client.conf index 4dcec74..cf7903b 100644 --- a/templates/wireguard_client.conf +++ b/templates/wireguard_client.conf @@ -1,5 +1,5 @@ [Interface] -Address = {{ wg_address }} +Address = {{ wg_address | default(AllowedIPs) }} PrivateKey = {{ private_key }} ListenPort = {{ listenport }} {% if vpn_dns is defined %}DNS = {{ vpn_dns }}{% endif %}