From 6b4bf19f5c1de9850d9514fd0dbae2d6fb5782a7 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 11 Jun 2024 10:50:12 +0200 Subject: [PATCH] Few more flags for gluetun --- hosts/nixos/lapetus/services/qbittorrent.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/lapetus/services/qbittorrent.nix b/hosts/nixos/lapetus/services/qbittorrent.nix index 896899c..c948f77 100644 --- a/hosts/nixos/lapetus/services/qbittorrent.nix +++ b/hosts/nixos/lapetus/services/qbittorrent.nix @@ -38,8 +38,10 @@ in virtualisation.oci-containers.containers.gluetun = { image = "qmcgaw/gluetun"; extraOptions = [ - "--cap-add=net_admin" + "--cap-add=NET_ADMIN" + "--cap-add=NET_RAW" "--device=/dev/net/tun" + "--sysctl=net.ipv4.conf.all.forwarding=1" ]; ports = [ "${toString port}:${toString port}" ];