Update Samba and WireGuard configuration

- Adjust Samba config file permissions to 644
- Introduce PresharedKey option in WireGuard config template
This commit is contained in:
2024-09-10 22:35:20 -04:00
parent a0aa289c05
commit f481a965dd
2 changed files with 4 additions and 1 deletions

View File

@@ -8,6 +8,9 @@ ListenPort = {{ wireguard.listenport }}
{% for peer in wireguard.peers %}
[Peer]
PublicKey = {{ peer.publickey }}
{% if peer.presharedkey is defined %}
PresharedKey = {{ peer.presharedkey }}
{% endif %}
{% if peer.endpoint is defined %}
Endpoint = {{ peer.endpoint }}
{% endif %}