1
Fork 0

Few more flags for gluetun

This commit is contained in:
prescientmoon 2024-06-11 10:50:12 +02:00
parent 987faea200
commit 6b4bf19f5c
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4

View file

@ -38,8 +38,10 @@ in
virtualisation.oci-containers.containers.gluetun = { virtualisation.oci-containers.containers.gluetun = {
image = "qmcgaw/gluetun"; image = "qmcgaw/gluetun";
extraOptions = [ extraOptions = [
"--cap-add=net_admin" "--cap-add=NET_ADMIN"
"--cap-add=NET_RAW"
"--device=/dev/net/tun" "--device=/dev/net/tun"
"--sysctl=net.ipv4.conf.all.forwarding=1"
]; ];
ports = [ "${toString port}:${toString port}" ]; ports = [ "${toString port}:${toString port}" ];