[LARTC] enable p2p to some host (ipp2p)

Andy Furniss lists at andyfurniss.entadsl.com
Fri Aug 18 12:41:20 CEST 2006


Roberto Pereyra wrote:
> Hi
> 
> I using ipp2p to block p2p traffic.
> 
> How to enable to use p2p to me host in my net ?
> 
> I using this setup:
> 
> iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul --ares 
> -j DROP
> 
> 
> This setup:
> 
> iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
> --ares -d ! mynet -j DROP
> 
> iptables -A FORWARD -m ipp2p --ipp2p --bit --apple --winmx --soul
> --ares -s ! mynet -j DROP
> 
> 
> not works ....

Don't know really as I don't use ipp2p - but you could just match and 
return/accept mynet traffic before the ipp2p rules are hit.

Andy.


More information about the LARTC mailing list