aboutsummaryrefslogtreecommitdiff
path: root/agent/src/main/resources/wg.conf.ftlh
diff options
context:
space:
mode:
Diffstat (limited to 'agent/src/main/resources/wg.conf.ftlh')
-rw-r--r--agent/src/main/resources/wg.conf.ftlh2
1 files changed, 2 insertions, 0 deletions
diff --git a/agent/src/main/resources/wg.conf.ftlh b/agent/src/main/resources/wg.conf.ftlh
index 57ff790..f68cb51 100644
--- a/agent/src/main/resources/wg.conf.ftlh
+++ b/agent/src/main/resources/wg.conf.ftlh
@@ -16,5 +16,7 @@ Table = off
[Peer]
PublicKey = ${peer_pub_key}
PresharedKey = ${preshared_key}
+<#if endpoint??>
Endpoint = ${endpoint}
+</#if>
AllowedIPs = 0.0.0.0/0, ::/0