Results 1 to 2 of 2
Hi all members i want to block kazaa on my network, i 'm using RH8.0 with squid ver 2.4 stable7 & iptables the rules are as follows: iptables -t nat ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-04-2003 #1
- Join Date
- Jun 2003
Hi all members
i want to block kazaa on my network, i 'm using RH8.0 with squid ver 2.4 stable7 & iptables the rules are as follows:
iptables -t nat -A POSTROUTING -s 126.96.36.199/255.255.240.0 -d ! 188.8.131.52/255.255.240.0 -o ppp0 -j MASQUERADE
echo "1" > /proc/sys/net/ipv4/ip_forward
& for blocking kaaza somebody suggest me these rules
iptables -A FORWARD -m recent --name kazaa --rcheck --seconds 60 -j DROP
iptables -A FORWARD -i ppp0 -p tcp -m string --string 'X-Kazaa' -m recent --name kazaa --set -j DROP
iptables -I FORWARD -i $internal_interface -p tcp -m string --string "KazaaClient" -j REJECT --reject-with tcp-reset
but unable to block kazaa.
plz help me to do this.
- 06-04-2003 #2
- Join Date
- Oct 2001
- Täby, Sweden
I haven't ever heard of the "recent" and "string" iptables extensions. Did they work for you? Do you have extra modules installed or something?
Anyhow, I would just find out what servers kazaa connects to, and then block all access to them. Isn't that the easiest?