[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Iptables configuration for a transparent proxy for a single user

Ciao a tutti,

in tor wiki at the address


explains the way to apply a trasparent proxy for a specific user.

The rules for iptables are 

iptables -t nat -A OUTPUT -p tcp -m owner --uid-owner anonymous -m tcp --syn -j REDIRECT --to-ports 9040 
iptables -t nat -A OUTPUT -p udp -m owner --uid-owner anonymous -m udp --dport 53 -j REDIRECT --to-ports 53 
iptables -t nat -A OUTPUT -m owner --uid-owner anonymous -j DROP

In my debian  unstable linux (kernel 2.6.29 and  iptables from
package) these  rules don't  work anymore and  this is the  message from

The "nat" table is not intended for filtering, the use of DROP is therefore inhibited.

Does anyone know the changes needed tomake it work again?

Io non voglio sapere tutto, io voglio capire tutto

Attachment: pgpaSdQN92iXB.pgp
Description: PGP signature