0

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?

1 Answer 1

5

Those are on the nat table, so:

iptables -t nat -L

will list them. This

iptables -L

is equivalent to:

iptables -t filter -L

There is also a mangle table, for "mangling" packets:

iptables -t mangle -L

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .