Infra_mgmt/roles/wireguard/templates/peer.j2
2023-03-01 22:52:00 +01:00

5 lines
180 B
Django/Jinja

[peer]
# peer_{{ item.FriendlyName }}
PublicKey = {{ _client_pubkey_value['content'] | b64decode | trim }}
PresharedKey = {{ item.PresharedKey }}
AllowedIPs = {{ item.Address }}/32