wireguard, stash, docker debian, jellyfin
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[NetDev]
|
||||
Name=wg0
|
||||
Kind=wireguard
|
||||
Description=WireGuard VPN tunnel for home network access
|
||||
|
||||
[WireGuard]
|
||||
PrivateKey={{ wireguard_server.private_key }}
|
||||
ListenPort=51820
|
||||
|
||||
{% for client in wireguard_clients %}
|
||||
# {{ client.name }} - {{ client.description }}
|
||||
[WireGuardPeer]
|
||||
PublicKey={{ client.public_key }}
|
||||
AllowedIPs={{ client.ip_address | regex_replace('/\d+$', '/32') }}
|
||||
PersistentKeepalive=25
|
||||
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user