15 lines
391 B
Django/Jinja
15 lines
391 B
Django/Jinja
[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:
|