aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-10 10:17:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-10 10:17:31 -0300
commit45d36a1ed0ccc516c6a68c6603ef05df28a1ffd4 (patch)
tree97fa73a24f13d5da7357060e790ff2350126a9a8 /share
parent96d6dd5674c5f4b7485dc97809132d466b893e78 (diff)
downloadtrashman-45d36a1ed0ccc516c6a68c6603ef05df28a1ffd4.tar.gz
trashman-45d36a1ed0ccc516c6a68c6603ef05df28a1ffd4.tar.bz2
Fix: trashman: tor-transproxy: do not drop connections to localhost
Diffstat (limited to 'share')
-rwxr-xr-xshare/trashman/tor-transproxy/unix/linux/debian/files/etc/network/if-pre-up.d/iptables2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/trashman/tor-transproxy/unix/linux/debian/files/etc/network/if-pre-up.d/iptables b/share/trashman/tor-transproxy/unix/linux/debian/files/etc/network/if-pre-up.d/iptables
index e61d8f0..e007337 100755
--- a/share/trashman/tor-transproxy/unix/linux/debian/files/etc/network/if-pre-up.d/iptables
+++ b/share/trashman/tor-transproxy/unix/linux/debian/files/etc/network/if-pre-up.d/iptables
@@ -35,7 +35,7 @@ $IPTABLES -A OUTPUT -m owner --uid-owner $NETWORK_USER_ID -j ACCEPT || exit
$IPTABLES -A OUTPUT -m owner --uid-owner root -j ACCEPT || exit
$IPTABLES -A OUTPUT -m owner --uid-owner _apt -j ACCEPT || exit
$IPTABLES -A INPUT -j LOG --log-prefix "OUTPUT DROPPED: " --log-uid || exit
-$IPTABLES -A OUTPUT -j DROP || exit
+$IPTABLES -A OUTPUT ! -d 127.0.0.1 -j DROP || exit
# Allow SSH
$IPTABLES -A INPUT -p tcp --dport ssh -j ACCEPT || exit