[squid-users] Squid to block P2P apps

From: Mauricio Portilho Cavalcanti <[email protected]>
Date: Sat, 27 Sep 2003 10:15:04 -0300

I'm using Transparent Proxy to my LAN and i'm trying to block P2P apps.

I put in iptables rules to block kazaa:
/sbin/iptables -A INPUT -i eth0 -p tcp --dport 1214 -j DROP
/sbin/iptables -A FORWARD -d 213.248.112.0/24 -j DROP
/sbin/iptables -A FORWARD -d 217.116.224.0/24 -j DROP
/sbin/iptables -A FORWARD -p tcp --dport 1214 -j DROP
/sbin/iptables -A FORWARD -p udp --dport 1214 -j DROP

but i still have problem with kazaa program.

Then i put this acl:
acl Kazaa port 1214
http_access deny Kazaa

Nothing happened...

I read that if i put:
acl Safe_port 80
http_acces deny !Safe_port

kazaa will be blocked. I didn't try this yet... will i have normal access to
internet with this acl?

Anyone knows if it's possible to block p2p apps?

Thanks any help,
Mauricio
Received on Sat Sep 27 2003 - 07:15:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:03 MST