Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can Any one suggest me that how to block the utorrent on my Lan (windows XP and Vista clients) by using Squid proxy (Fedora 10 or RHEL5). I am really got confused while trying to google for this.

share|improve this question

Configure your firewall to default deny for all office traffic unless specifically allowed.

Require all Web traffic to route through your proxy.

If your users are unable to access the Internet directly, it will be substantially more difficult for them to use advanced protocols like BitTorrent.

While using SQUID acls will be substantially more limited in scope and be easily circumvented, you could use something like:

acl extensiondeny url_regex -i "/etc/squid/extensiondeny"
acl download method GET
http_access deny extensiondeny download
http_access deny extensiondeny

Within "/etc/squid/extensiondeny":


For more information see:

share|improve this answer
Warner, thank you for your fast reply. Is it okay If I block the downloading of *.torrent files ??? If it is then suggest me how do I block the download or opening or *.torrent files ? Thanks, – Gopi Krishna Feb 23 '10 at 19:12

I would use squidguard in conjunction with squid to block torrent sites. This won't prevent other programs from working, though, like limewire, etc. You would likely need to utilize GPO and/or restrictive rights on the users' machines.

share|improve this answer

To block Bittorrent connections, either Snort in inline IPS mode or the Netfilter IPPP2P module can be used.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.