Squid est un serveur mandataire, en anglais un proxy, entièrement libre et très performant. Squid est capable de gérer les protocoles FTP, HTTP, HTTPS et Gopher. Il est généralement utilisé dans certaines entreprises et universités pour des fonctions de filtrage d'URL ou en tant que tampon. Les pages Internet sont stockées localement ce qui évite d'aller les recharger plusieurs fois et permet d'économiser la bande passante Internet..
----------------------------------------------------------------------------------------------------------------------------------------------------------
mettre à jour
apt-get update
apt-get upgrade
installer Squid3
apt-get install squid3
configurer squid
cd /etc/squid3
cp squid.conf squid.conf.origin
gedit (nano, vi, vim,)squid.conf
------------------------------------------------------------------------
1-hostname
visible_hostname titilesbonstutos
2-cache_mgr webmaster
cache_mgr [email protected]
3-acl localnet
acl localnet src 192.168.0.0/24
4-http_access allow localhost
http_access allow localnet
--------------------------------------------------------------------------------------------------------------------------------
1-acl domain
--------------------------------------------
acl CONNECT methdo CONNECT
acl blacklisted_domain dstdomain .facebook.com .youtube.com
http_access deny to localhost
http_access deny blacklisted
-------------------------------------------
acl list
-------------------------------------------
cd /etc/squid3
gedit titilesbonstutos.txt
------------------------------------------------------
facbook
twitter
dailymotion
youtube
porn
sexe
foot
tenis
------------------------------------------------------
gedit squid.conf
1-acl CONNECT methdo CONNECT
acl titilesbonstutos url_regex -i "/etc/squid3/titilesbonstutos.txt
2-http_access deny to localhost
http_access deny titilesbonstutos
-----------------------------------------------------------------------------------------------------------------------------
/etc/init.d/squid3 restart
Watch video installer et configurer squid (sous debian) online without registration, duration hours minute second in high quality. This video was added by user Aven&CO 09 October 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 19,654 once and liked it 152 people.