Few more flags for gluetun
This commit is contained in:
parent
987faea200
commit
6b4bf19f5c
|
@ -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}" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue