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 %}