Apply changes from 8920ba56f3 to laptop configuration

This commit is contained in:
Sonny Bakker 2025-03-09 21:15:27 +01:00
parent e72f7533eb
commit 1231d2bbae
8 changed files with 45 additions and 15 deletions

View file

@ -12,7 +12,9 @@ PrivateKeyFile={{ vpn_media.private_key_path }}
[WireGuardPeer]
PublicKey={{ peer.public_key }}
PresharedKeyFile={{ peer.preshared_key_path }}
AllowedIPs={{ peer.allowd_ips }}
{% for ip in peer.allowed_ips %}
AllowedIPs={{ ip.address }}
{% endfor %}
{% if peer.endpoint %}
Endpoint={{ peer.endpoint }}
{% endif %}