I'm following a guide for setting up a trasparent TOR proxy on my server.
There are several iptables rules in the guide, two of which are:
iptables -t nat -A OUTPUT -p udp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -A OUTPUT -p tcp --syn -j REDIRECT --to-ports 9040
All the other rules appear just fine, but those two do not show up in iptables -L, even right after setting them.
Theres no error message or anything.
Can anyone tell me why?
Those are on the nat table, so:
will list them. This
is equivalent to:
There is also a
mangle
table, for "mangling" packets: