You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
418 B
Django/Jinja
16 lines
418 B
Django/Jinja
[Interface]
|
|
ListenPort = {{ wireguard_bb_port }}
|
|
PrivateKey = {{ wireguard_bb_key }}
|
|
Address = {{ wireguard_bb_address }}/48
|
|
MTU = 1423
|
|
PostUp = /etc/wireguard/upbackbone.sh
|
|
PreDown = /etc/wireguard/downbackbone.sh
|
|
|
|
{% for peer in wireguard_bb_peers %}
|
|
[Peer]
|
|
PublicKey = {{ peer.key }}
|
|
AllowedIPs = {{ peer.address }}/128
|
|
Endpoint = [{{ peer.endpoint }}]:{{ wireguard_bb_port }}
|
|
PersistentKeepalive = 30
|
|
{% endfor %}
|