1
Fork 0

Provide qbit access to tun device again

This commit is contained in:
prescientmoon 2024-05-31 02:15:09 +02:00
parent 0e06cb21a1
commit b98dce621f
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -21,6 +21,7 @@ in
"--cap-add=net_admin" "--cap-add=net_admin"
"--sysctl=net.ipv4.conf.all.src_valid_mark=1" "--sysctl=net.ipv4.conf.all.src_valid_mark=1"
"--sysctl=net.ipv6.conf.all.disable_ipv6=0" "--sysctl=net.ipv6.conf.all.disable_ipv6=0"
"--device=/dev/net/tun"
]; ];
volumes = [ volumes = [
@ -33,7 +34,7 @@ in
ports = [ "${toString port}:8080" ]; ports = [ "${toString port}:8080" ];
environment = { environment = {
VPN_TYPE = "openvpn"; VPN_TYPE = "wireguard";
TZ = "Europe/Amsterdam"; TZ = "Europe/Amsterdam";
PGID = "100"; PGID = "100";
PUID = "1000"; PUID = "1000";