2022-01-03 10:33:02 +00:00
|
|
|
[Interface]
|
2023-04-24 07:48:04 +00:00
|
|
|
# {{ timestamp }} {{ current_user['username'] }} {{ name }}
|
2022-01-03 10:33:02 +00:00
|
|
|
# PublicKey = {{ pubkey }}
|
|
|
|
PrivateKey = # paste private key here
|
|
|
|
Address = {{ ip }}
|
2023-02-06 15:58:59 +00:00
|
|
|
{% if use_dns %}DNS = 212.235.188.28,212.235.188.29,fri1.uni-lj.si{% endif %}
|
2022-01-03 10:33:02 +00:00
|
|
|
|
|
|
|
[Peer]
|
|
|
|
Endpoint = {{ server }}:{{ port }}
|
|
|
|
PublicKey = {{ server_key }}
|
|
|
|
PersistentKeepalive = 25
|
|
|
|
AllowedIPs = 10.32.0.0/14
|
|
|
|
AllowedIPs = 212.235.188.16/28
|
|
|
|
AllowedIPs = 212.235.188.32/27
|
|
|
|
AllowedIPs = 212.235.188.64/26
|
2023-04-06 08:19:35 +00:00
|
|
|
{% if add_default -%}
|
|
|
|
AllowedIPs = 0.0.0.0/0
|
2022-01-03 10:33:02 +00:00
|
|
|
{%- endif %}
|
|
|
|
|