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

Squidguard and https

Scheduled Pinned Locked Moved pfSense Packages
3 Posts 2 Posters 734 Views
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.
  • K
    kuberan
    last edited by Jul 11, 2017, 2:56 PM Jul 11, 2017, 2:34 PM

    I have Pfsense 2.3.4-RELEASE (amd64) running with Squid 3.5.26 + ClamAV 0.99.2_3  + Squidguard 1.16.2, everything working fine with HTTP (pfsense listening on port 80 only), but I would like to use HTTPS instead. So I have the webConfigurator only on HTTPS.

    I have a certificate issued by GoDaddy installed, but when I set pfsense to listen for HTTPS/443, the squidguard error/block pages do not work as they redirect to the error page by IP address, which does not match the cert.

    Does anyone have any ideas on what can/should be done here?

    Thanks

    1 Reply Last reply Reply Quote 0
    • K
      kuberan
      last edited by Jul 11, 2017, 3:12 PM Jul 11, 2017, 2:46 PM

      I read that I should edit "/usr/local/pkg/squidguard_configurator.inc" if so, which is the line that needs to be edited?

      Could it be line 1246:
      $rdr_path = "http://$guiip:$guiport" . REDIRECT_BASE_URL;

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Jul 17, 2017, 4:25 PM

        You do not need to edit anything in the code/files. Just the GUI settings.

        Set the redirect type to "Ext URL Found" and then drop the full URL into your "Redirect Info" box.

        https://your.host.name/sgerror.php?url=403&a=%a&n=%n&i=%i&s=%s&t=%t&u=%u
        

        That setting might be on your Common ACL or other ACL configurations.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received