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.
7 lines
309 B
Plaintext
7 lines
309 B
Plaintext
4 years ago
|
[WireGuardPeer]
|
||
|
{% if wireguard_public_address != '127.1' %}
|
||
|
Endpoint={{ wireguard_public_address }}:{{ global_wireguard_port }}
|
||
|
{% endif %}
|
||
|
PublicKey={{ lookup('file', global_wireguard_public_directory + '/' + inventory_hostname) }}
|
||
|
AllowedIPs={{ wireguard_ipv4_address }}, {{ global_wireguard_ipv4_range }}
|