Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    SquidGuard Error Redirect

    Cache/Proxy
    1
    1
    207
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      Ominus
      last edited by

      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 ends 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
      }
      }

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.