Use seperate preshared keys for each peer
This commit is contained in:
parent
29a6d82b1d
commit
603718458d
5 changed files with 22 additions and 6 deletions
|
|
@ -12,7 +12,7 @@ PrivateKeyFile={{ vpn_server_key_path }}
|
|||
{% for peer in vpn_peers %}
|
||||
[WireGuardPeer]
|
||||
PublicKey={{ peer.public_key }}
|
||||
PresharedKeyFile={{ vpn_preshared_path }}
|
||||
PresharedKeyFile={{ peer.preshared_key_path }}
|
||||
AllowedIPs={{ peer.ip }}/32
|
||||
{% if not loop.last %}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue