-
Hello forum,
I'm trying to block access to certain web sites. That part works. But my problem is that I would like to have a custom message saying e.g. "Access denied", but all I get is a blank page with redirection to for example:
https://xxx.xxx.xxx.xxx/sgerror.php?url=blank&msg=&a=xxx.xxx.xxx.xxx&n=&i=&s=default&t=blk_BL_porn&u=http://playboy.com/
I have set "Redirect Mode" to "int error page (enter error message)" with a custom text under "Redirect Info".
My system versions:
pfSense v2.1.4
Squid v2.7.9 pkg v4.3.4
SquidGuard v1.4_4 pkg v1.9.6Any suggestions?
-
Where are you setting your redirect, on the Target Category or on the Common ACL?
-
Common ACL
-
I've had this working in the past, and I remember using the Target Category to handle the redirect. I don't remember if I had any problems when using the Common ACL redirect. Try creating a Target Category for your blocked sites, add the sites you want blocked and then change the redirect message. Then set Common ACL to Deny that Target Category.