dashboardobfuscationwireguard-vpn-setupwireguard-vpnwireguard-tunnelwireguard-dashboardwireguardwg-managervpnsite-to-site
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.
12 lines
380 B
12 lines
380 B
[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 %}
|
|
|