From 06c0419866d2ede8449ab3e0282870b7a9cab889 Mon Sep 17 00:00:00 2001 From: blake Date: Thu, 9 Oct 2025 13:31:44 -0500 Subject: [PATCH] 157 current 2025-10-09 13:24:07 25.05.20251006.20c4598 6.12.50 * --- flake.nix | 2 +- modules/homelab/services/qbittorrent/default.nix | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index d7e94a0..54e0ce1 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 156 current 2025-10-09 12:56:31 25.05.20251006.20c4598 6.12.50 * +# generation: 157 current 2025-10-09 13:24:07 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 34c763b..9f28df4 100644 --- a/modules/homelab/services/qbittorrent/default.nix +++ b/modules/homelab/services/qbittorrent/default.nix @@ -92,7 +92,10 @@ in iptables -A QBIT -p udp --dport 53 -o ${cfg.vpn_inf} -j ACCEPT iptables -A QBIT -p tcp --dport 53 -o ${cfg.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 -o ${toString cfg.port} -d 10.0.0.0/8 --dport ${toString cfg.port} -j ACCEPT iptables -A QBIT -p tcp -o enp89s0 -d 10.0.0.0/8 --dport ${toString cfg.port} -j ACCEPT + iptables -A QBIT -p tcp -o enp89s0 -d 10.20.0.0/23 --dport ${toString cfg.port} -j ACCEPT + iptables -A QBIT -p tcp -o enp89s0 -d 10.69.0.0/23 --dport ${toString cfg.port} -j ACCEPT iptables -A QBIT -j DROP '';