From fcdfa0de1f918f321525941cfb7f11a46b23222c Mon Sep 17 00:00:00 2001 From: blake Date: Wed, 8 Oct 2025 23:08:36 -0500 Subject: [PATCH] 136 current 2025-10-08 23:02:33 25.05.20251006.20c4598 6.12.50 * --- flake.nix | 2 +- modules/homelab/services/qbittorrent/default.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 92e5360..e341b01 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 135 current 2025-10-08 22:40:45 25.05.20251006.20c4598 6.12.50 * +# generation: 136 current 2025-10-08 23:02:33 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/qbittorrent/default.nix b/modules/homelab/services/qbittorrent/default.nix index 8766afa..c0d9dbe 100644 --- a/modules/homelab/services/qbittorrent/default.nix +++ b/modules/homelab/services/qbittorrent/default.nix @@ -63,6 +63,8 @@ in iptables -N QBIT iptables -A OUTPUT -m owner --uid-owner ${toString ids} -j QBIT iptables -A QBIT -o ${vpn_inf} -j ACCEPT + iptables -A QBIT -p tcp -d 127.0.0.1 --dport ${toString cfg.port} -j ACCEPT + iptables -A QBIT -p tcp -d 10.0.0.0/8 --dport ${toString cfg.port} -j ACCEPT iptables -A QBIT -j DROP '';