tornet.yml aktualisiert

This commit is contained in:
olli 2024-02-13 09:35:08 +01:00
parent 3a14f80a6d
commit 5959ec4b11

View File

@ -136,7 +136,7 @@
# Redirect all TCP-Connections to transparent Tor-Proxy
-A PREROUTING -i tornet0 -s 192.168.43.0/24 -p tcp --syn -j REDIRECT --to-ports 9040
# Redirect all non TCP-Connections into nirvana because Tor only speaks TCP
-A PREROUTING -i tornet0 -s 192.168.43.0/24 ! -p tcp ! --dport 53 -j DNAT --to 127.0.0.1:1
-A PREROUTING -i tornet0 -s 192.168.43.0/24 ! -p tcp -j DNAT --to 127.0.0.1:1
COMMIT
notify:
- Restart ufw