summaryrefslogtreecommitdiff
path: root/roles/install_wireguard_backbone/templates/wg.conf.j2
blob: a52655cc20e3c7684a13a49d2daf215dc6b39303 (plain)
1
2
3
4
5
6
7
8
9
[Interface]
ListenPort = {{ hostvars[item]['wireguard_bb_port'] }}
PrivateKey = {{ wireguard_bb_priv_key }}

[Peer]
PublicKey = {{ hostvars[item]['wireguard_bb_pub_key'] }}
AllowedIPs = 0.0.0.0/0,::/0
Endpoint = [{{ hostvars[item]['wireguard_bb_endpoint'] }}]:{{ wireguard_bb_port }}
PersistentKeepalive = 30