From 2ae741947d822c0dd16198a684318e4a5ed310cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Cezar=20Mois=C3=A9s?= Date: Sun, 20 Oct 2024 20:19:51 +0000 Subject: Upload files to "/" --- toroff.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 toroff.sh (limited to 'toroff.sh') diff --git a/toroff.sh b/toroff.sh new file mode 100644 index 0000000..244ca78 --- /dev/null +++ b/toroff.sh @@ -0,0 +1,5 @@ + sudo iptables -t nat -D OUTPUT -p tcp -m owner --uid-owner USERAQUI -m tcp -j REDIRECT --to-ports 9040 + sudo iptables -t nat -D OUTPUT -p udp -m owner --uid-owner USERAQUI -m udp --dport 53 -j REDIRECT --to-ports 53 + sudo iptables -t filter -D OUTPUT -p tcp -m owner --uid-owner USERAQUI -m tcp --dport 9040 -j ACCEPT + sudo iptables -t filter -D OUTPUT -p udp -m owner --uid-owner USERAQUI -m udp --dport 53 -j ACCEPT + sudo iptables -t filter -D OUTPUT -m owner --uid-owner USERAQUI -j DROP -- cgit v1.2.3