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

    SquidGuard modify redirect URL for non-standard port

    Scheduled Pinned Locked Moved Cache/Proxy
    1 Posts 1 Posters 583 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.
    • F
      firewll
      last edited by

      We currently run our pfSense on HTTPS using a non-standard port. When Squidguard blocks a page, I get a webpage 400 error. Switching pfSense to run on standard port 443 with HTTPS works as expected.

      I have found that SquidGuard tries to load the sgerror page http://IPADDRESS:PORT#….. instead of httpS://IPADDRESS:PORT#

      To attempt to resolve this, I have manually edited /usr/local/etc/squidGuard squidGuard.conf and squidGuard_usrdbrebuild.conf to state https instead of http. I have also manually edited /usr/local/etc/squid squidGuard.conf in the same way. Even after stopping, starting, and clicking the 'Apply' button it still attempts to load http in stead of https.

      Any suggestions to correct this?

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