diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-03-04 17:50:19 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2018-03-04 17:50:19 +0100 |
commit | a85999dbacc7d6a26332955e6518ae495797e85e (patch) | |
tree | 1488bf5a94103b44cfad86dc9ef8f656a61e84a0 /roles/install_wireguard_backbone | |
parent | aa0593233ec2470120b2655f3ba2ac28d7a4c5ee (diff) |
install vnstat
Diffstat (limited to 'roles/install_wireguard_backbone')
-rw-r--r-- | roles/install_wireguard_backbone/templates/wg2.conf.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/install_wireguard_backbone/templates/wg2.conf.j2 b/roles/install_wireguard_backbone/templates/wg2.conf.j2 index c30fcaf..f16d668 100644 --- a/roles/install_wireguard_backbone/templates/wg2.conf.j2 +++ b/roles/install_wireguard_backbone/templates/wg2.conf.j2 @@ -5,5 +5,6 @@ PrivateKey = {{ wireguard_bb_priv_key }} [Peer] PublicKey = {{ item.pub_key }} AllowedIPs = 0.0.0.0/0,::/0 -{% if item.endpoint is defined %}Endpoint = [{{ item.endpoint }}]:{{ wireguard_bb_port }}{% endif %} PersistentKeepalive = 30 +{% if item.endpoint is defined %}Endpoint = [{{ item.endpoint }}]:{{ wireguard_bb_port }}{% endif %} + |