15 lines
391 B
Plaintext
15 lines
391 B
Plaintext
|
[Interface]
|
||
|
Address = {{ server.vpn.address }}/{{ server.vpn.net_size }}
|
||
|
PrivateKey = {{ server.vpn.private_key }}
|
||
|
ListenPort = {{ server.vpn.listen_port|default(1194) }}
|
||
|
{% for peer in others %}
|
||
|
|
||
|
[Peer]
|
||
|
AllowedIps = {{ peer.vpn.address }}/32
|
||
|
Endpoint = {{ peer.public_ip }}:{{ peer.vpn.listen_port|default(1194) }}
|
||
|
PublicKey = {{ peer.vpn.public_key }}
|
||
|
{% endfor %}
|
||
|
|
||
|
|
||
|
# vim: set ft=dosini:
|