Applied changes from 63c164a to default Wireguard setup

This commit is contained in:
sonny 2025-03-01 20:27:46 +01:00
parent 63c164ac4b
commit 7e02d120b5
3 changed files with 16 additions and 14 deletions

View file

@ -5,7 +5,7 @@ Address={{ vpn_peers.mobile.ip }}/24
PrivateKey={{ lookup("file", vpn_peers.mobile.private_key_source_path) }}
[Peer]
PublicKey={{ lookup("file", vpn_server_public_key_path) }}
PresharedKey={{ lookup("file", vpn_peers.mobile.preshared_key_path) }}
PublicKey={{ lookup("file", vpn_server_public_key_source_path) }}
PresharedKey={{ lookup("file", vpn_peers.mobile.preshared_key_source_path) }}
AllowedIPs={{ vpn_listen_address }}/32
Endpoint={{ domain_name }}:{{ vpn_port }}