From 4f5ad6a7af15a43e1469e994618e24c623177359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Cezar=20Mois=C3=A9s?= <86272521+cristiancmoises@users.noreply.github.com> Date: Sun, 18 Feb 2024 06:28:49 +0000 Subject: Add files via upload --- site/download/torando.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 site/download/torando.sh (limited to 'site/download/torando.sh') diff --git a/site/download/torando.sh b/site/download/torando.sh new file mode 100644 index 0000000..7c74f57 --- /dev/null +++ b/site/download/torando.sh @@ -0,0 +1,5 @@ + sudo iptables -t nat -A OUTPUT -p tcp -m owner --uid-owner USERAQUI -m tcp -j REDIRECT --to-ports 9040 + sudo iptables -t nat -A OUTPUT -p udp -m owner --uid-owner USERAQUI -m udp --dport 53 -j REDIRECT --to-ports 53 + sudo iptables -t filter -A OUTPUT -p tcp -m owner --uid-owner USERAQUI -m tcp --dport 9040 -j ACCEPT + sudo iptables -t filter -A OUTPUT -p udp -m owner --uid-owner USERAQUI -m udp --dport 53 -j ACCEPT + sudo iptables -t filter -A OUTPUT -m owner --uid-owner USERAQUI -j DROP -- cgit v1.2.3