|
@ -1,7 +1,9 @@ |
|
|
[Interface] |
|
|
[Interface] |
|
|
Address = {{ data.peer.address }}/{{ data.server.subnet }}{%- if is_ipv6 -%},{{ data.peer.v6_address }}/{{ data.server.v6_subnet }}{%- endif %} |
|
|
Address = {{ data.peer.address }}/{{ data.server.subnet }}{%- if is_ipv6 -%},{{ data.peer.v6_address }}/{{ data.server.v6_subnet }}{%- endif %} |
|
|
PrivateKey = {{ data.peer.private_key }} |
|
|
PrivateKey = {{ data.peer.private_key }} |
|
|
|
|
|
{% if data.peer.dns %} |
|
|
DNS = {{ data.peer.dns }} |
|
|
DNS = {{ data.peer.dns }} |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
|
|
|
[Peer] |
|
|
[Peer] |
|
|
PublicKey = {{ data.server.public_key }} |
|
|
PublicKey = {{ data.server.public_key }} |
|
|