dashboardwg-managervpnsite-to-siteobfuscationwireguard-vpn-setupwireguard-vpnwireguard-tunnelwireguard-dashboardwireguard
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
377 B
12 lines
377 B
[Interface]
|
|
Address = {{ data.peer.address.replace("/32", "/24") }}
|
|
PrivateKey = {{ data.peer.private_key }}
|
|
DNS = {{ data.peer.dns }}
|
|
|
|
[Peer]
|
|
PublicKey = {{ data.server.public_key }}
|
|
AllowedIPs = {{ data.peer.allowed_ips }}
|
|
Endpoint = {{ data.server.endpoint }}:{{ data.server.listen_port }}
|
|
{% if data.peer.shared_key %}
|
|
PresharedKey = {{ data.peer.shared_key }}
|
|
{% endif %}
|
|
|