Obsolete Releases > SME 8.x Contribs

Filter https access to facebook

(1/3) > >>

masotsha:
Hello,

I'm using smeserver-webfilter. I notice users can bypass squidguard filtering to facebook by just typing https://www.facebook.com. How do I enforce filter of https to such sites?

Stefano:
search with google for "squid rule block facebook".. I remember the "connect" key but can't help you more..

then it's "only" a matter of creating the right fragment, come back here

Stefano:
ok..


--- Code: ---mkdir -p /etc/e-smith/templates-custom/etc/squid/squid.conf
cd /etc/e-smith/templates-custom/etc/squid/squid.conf
nano 20ACL40bannedsites

--- End code ---

the content must be:

--- Code: ---acl bannedsites dstdomain .facebook.com

--- End code ---

save and exit, then

--- Code: ---nano 40http_access15denyconnectBannedsites

--- End code ---

the content must be:

--- Code: ---http_access deny CONNECT bannedsites

--- End code ---

save and exit, then


--- Code: ---signal-event proxy-update

--- End code ---

tested on SME 8.1, working for me.. in the first fragment you can add, on the same line, as many domain as you need, separated with a space

Stefano:
I can confirm it works for me in SME 8 and SME 9

stephdl:
does this is referenced somewhere in the documentation ?

Navigation

[0] Message Index

[#] Next page

Go to full version