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

Re: TOR traffic measurement with iptables



> # Input: 4321 = Tor, 4322 = Directory
> iptables -A INPUT -i eth0 -p tcp --dport 4321 -j ACCEPT
> iptables -A INPUT -i eth0 -p tcp --dport 4322 -j ACCEPT

Are there any rules before those INPUT -lines? Perhaps one of them
matches packets before these lines?

Try this:
iptables -I INPUT -i eth0 -p tcp --dport 4321 -j ACCEPT
iptables -I INPUT -i eth0 -p tcp --dport 4322 -j ACCEPT


M

Attachment: pgp6IydVoT70L.pgp
Description: PGP signature