You are not logged in.

#1 2014-09-07 11:33:36

mkind
Member
Registered: 2012-08-11
Posts: 27

[SOLVED] tor iptables rules do not work

Hi,

I am trying to apply the iptables rules in wiki in order to have a transparent torified system. But I am getting an error in the line

-A PREROUTING ! -i lo -p udp -m udp --dport 53 -j REDIRECT --to-ports 9053

Applying the rule solely I get the following message:

% sudo iptables -t nat -A PREROUTING ! -i lo -p udp -m udp --dport 53 -j REDIRECT --to-ports 9053          :(
iptables: No chain/target/match by that name.

Have you an idea what is meant by that message?

My torrc contains:

SocksPort 9050
TransPort 9040
DNSPort 9053

Last edited by mkind (2014-09-07 13:56:01)

Offline

#2 2014-09-07 13:56:57

mkind
Member
Registered: 2012-08-11
Posts: 27

Re: [SOLVED] tor iptables rules do not work

Ok, I solved this issue by retyping the line and not pasting it. There seems to be an illegal character within.

Offline

Board footer

Powered by FluxBB