TOR traffic measurement with iptables
Jürgen Schinker
ba1020 at homie.homelinux.net
Fri Mar 24 11:13:25 UTC 2006
On Thu, March 23, 2006 14:46, M wrote:
>> # 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
>
>
Try this
iptables -I INPUT -i eth0 -p tcp --dport 4321:4322 -j ACCEPT
More information about the tor-talk
mailing list