aboutsummaryrefslogtreecommitdiffstats
path: root/site/download/toroff.sh
diff options
context:
space:
mode:
authorCristian Cezar Moisés <[email protected]>2024-02-18 06:28:49 +0000
committerGitHub <[email protected]>2024-02-18 06:28:49 +0000
commit4f5ad6a7af15a43e1469e994618e24c623177359 (patch)
tree90d29a270758a899a07fce1935103eb48663587f /site/download/toroff.sh
parent80eabade58e7d95c26b55b7b2dccc10092521f7d (diff)
Add files via upload
Diffstat (limited to 'site/download/toroff.sh')
-rw-r--r--site/download/toroff.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/site/download/toroff.sh b/site/download/toroff.sh
new file mode 100644
index 0000000..244ca78
--- /dev/null
+++ b/site/download/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