Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
SquidGuard Error Redirect
« previous
next »
Print
Pages: [
1
]
Author
Topic: SquidGuard Error Redirect (Read 1969 times)
Ominus
Newbie
Posts: 1
Karma: 0
SquidGuard Error Redirect
«
on:
May 01, 2021, 01:29:54 pm »
Hi,
the first of the blacklisted groups is redirected to a default error page as opposed to the one that I have specified in the Common ACL setup. All the error directs are correct except for that first group. Edits of the conf files to remove the incorrect redirect are of course lost as soon as I apply changes. Suggestions?
The filter config starts:
logdir /var/squidGuard/log
dbhome /var/db/squidGuard
#
dest blk_BL_adv {
domainlist blk_BL_adv/domains
urllist blk_BL_adv/urls
redirect
https://192.168.1.1:8080/sgerror.php?url=blank_img&msg=&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
log block.log
}
#
dest blk_BL_aggressive {
domainlist blk_BL_aggressive/domains
urllist blk_BL_aggressive/urls
log block.log
}
and end with:
#
acl {
#
default {
pass !ECHR-Blacklist !blk_BL_adv !blk_BL_aggressive ....etc
redirect
https://pfsense.mydomain:8080/echrsgerror.php?url=403&i=%i&s=%s&t=%t&u=%u&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
rewrite safesearch
log block.log
}
}
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
SquidGuard Error Redirect