summaryrefslogtreecommitdiff
path: root/roles/install_wireguard_backbone/templates/wg.conf.j2
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-24 03:27:03 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2018-01-24 03:27:03 +0100
commit99dddff8625388641b9dd84b0e87a55f5c13bc82 (patch)
treeeb57e8113d70ed94f1ef6bc6575e3c62361259b6 /roles/install_wireguard_backbone/templates/wg.conf.j2
parentd2270e2e5045fa1999e8712394e06c1ff27e6ab3 (diff)
ffrl uplink and fastd split
Diffstat (limited to 'roles/install_wireguard_backbone/templates/wg.conf.j2')
-rw-r--r--roles/install_wireguard_backbone/templates/wg.conf.j28
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/install_wireguard_backbone/templates/wg.conf.j2 b/roles/install_wireguard_backbone/templates/wg.conf.j2
index de0e1fb..a52655c 100644
--- a/roles/install_wireguard_backbone/templates/wg.conf.j2
+++ b/roles/install_wireguard_backbone/templates/wg.conf.j2
@@ -1,9 +1,9 @@
[Interface]
-ListenPort = {{ item.local_port }}
-PrivateKey = {{ wireguard_bb_key }}
+ListenPort = {{ hostvars[item]['wireguard_bb_port'] }}
+PrivateKey = {{ wireguard_bb_priv_key }}
[Peer]
-PublicKey = {{ item.key }}
+PublicKey = {{ hostvars[item]['wireguard_bb_pub_key'] }}
AllowedIPs = 0.0.0.0/0,::/0
-Endpoint = [{{ item.endpoint }}]:{{ item.remote_port }}
+Endpoint = [{{ hostvars[item]['wireguard_bb_endpoint'] }}]:{{ wireguard_bb_port }}
PersistentKeepalive = 30