dashboardwireguardwg-managervpnsite-to-siteobfuscationwireguard-vpn-setupwireguard-vpnwireguard-tunnelwireguard-dashboard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
380 B
13 lines
380 B
5 years ago
|
[Interface]
|
||
|
Address = {{ data.address.replace("/32", "/24") }}
|
||
|
PrivateKey = {{ data.private_key }}
|
||
|
DNS = {{ data.dns }}
|
||
|
|
||
|
[Peer]
|
||
|
PublicKey = {{ data.server_ref.public_key }}
|
||
|
AllowedIPs = {{ data.allowed_ips }}
|
||
|
Endpoint = {{ data.server_ref.endpoint }}:{{ data.server_ref.listen_port }}
|
||
|
{% if data.preshared_key %}
|
||
|
PresharedKey = {{ data.server_ref.preshared_key }}
|
||
|
{% endif %}
|