LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Blocking Download (https://www.linuxquestions.org/questions/linux-networking-3/blocking-download-819940/)

klv 07-15-2010 06:04 AM

Blocking Download
 
Hi All,

I would like to block downloading for my LAN users through squid or other,plz give suggestion for that

Cheers,
KLV

tva 07-15-2010 06:38 AM

Do you want your users still be able to browse internet and just limit downloading files?

If you just need to deny internet access from you lan you can just set your iptables FORWARD policy to drop
Code:

iptables -P FORWARD DROP
You can limit allowed filetypes with squid acls, good example is found here http://www.cyberciti.biz/faq/squid-c...r-block-files/

methanigai 07-15-2010 06:51 AM

Hi,

You can achieve this by using delay pools & ACL.
See here http://www.chezmoi.dk/how_squid.htm
HTH :)


All times are GMT -5. The time now is 10:43 PM.