1
Fork 0

Properly pass device to openvpn

This commit is contained in:
prescientmoon 2024-04-28 01:28:46 +02:00
parent eb0ef1eb6c
commit ba194ad517
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -29,7 +29,7 @@ in
extraOptions = [ extraOptions = [
"--network=bridge" "--network=bridge"
"--cap-add=net_admin" "--cap-add=net_admin"
"--devices=/dev/net/tun" "--device=/dev/net/tun"
]; ];
volumes = [ "${vpnConfigDir}:/data/vpn" ]; volumes = [ "${vpnConfigDir}:/data/vpn" ];