From db90b1ae3692d3a16c2b544c9cf49d55ddc7ca84 Mon Sep 17 00:00:00 2001 From: Lucas Faber Date: Fri, 25 Sep 2026 13:19:05 +0200 Subject: [PATCH] add nfs and qbittorrent to iptables --- network/iptables_basic.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/network/iptables_basic.sh b/network/iptables_basic.sh index 746934c..fb48325 100755 --- a/network/iptables_basic.sh +++ b/network/iptables_basic.sh @@ -142,7 +142,10 @@ if [ "$(cat /etc/passwd | grep -E "deluge-user:x:[0-9]{4}:[0-9]{4}")" != "" ]; t iptables -A INPUT -i ${NETIF} -s 192.168.0.0/24 -p tcp --dport 139 -m state --state NEW,ESTABLISHED -j ACCEPT iptables -A OUTPUT -o ${NETIF} -d 192.168.0.0/24 -p tcp --sport 139 -m state --state ESTABLISHED -j ACCEPT iptables -A INPUT -i ${NETIF} -s 192.168.0.0/24 -p tcp --dport 445 -m state --state NEW,ESTABLISHED -j ACCEPT - + # qbittorrent + iptables -A INPUT -p tcp --dport 8080 -j ACCEPT + # nfs to radarr/sonarr + iptables -A INPUT -p tcp -s 192.168.0.4 --dport 2049 -j ACCEPT if [ "${DELUGE_MODE}" == "true" ]; then printf "Local IP: ${LOCALIP}\nInterface: $NETIF\nVPN IP: $VPNIP\nVPN Interface: $VPNIF\nP2P IP: $P2PIP\nVPN User: ${VPNUSER}\nMarkID: ${MARK_ID}\n"