Warum Squid?

Squid bietet Webfilterung, Bandbreiteneinsparung, Logging und Zugriffsrichtlinien.

Installation

sudo apt install squid -y
sudo systemctl enable --now squid

ACLs Konfigurieren

acl localnet src 192.168.1.0/24
acl blocked_sites dstdomain .facebook.com .tiktok.com
http_access deny blocked_sites
http_access allow localnet
http_access deny all

Fehlerbehebung

ProblemLösung
”Access Denied” bei erlaubten SitesACL-Reihenfolge überprüfen
Cache-Trefferquote niedrigcache_dir und maximum_object_size erhöhen

Verwandte Artikel