Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    First post - but many evenings in - stuck on https filtering

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 1.0k 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.
    • B Offline
      bitstreams
      last edited by

      I have been asked to set up a (simple) firewall to prevent downloads of binary files (exe, bin, zip, tar etc) for general users.
      To test this, I installed the latest Pfsense, Squid3 and Squidguard.

      All went reasonably well with the Target blocking in transparent mode - but it only works in HTTP sites. My test files are all in HTTPS sites.

      I have tried to get Transparent mode to work with an internal certificate, but whilst the instructions I've seen online suggest that my internal certificate will be translated to *.facebook.com (for example) - in practice I get errors from https sites that say the certificate doesn't match the website name.

      If I turn off transparent and try to specify proxy settings to 3128 this works for http but https still gives problems (with SSH and a certificate in place) and does not work at all without the SSH.

      Is it really this tricky? I know this is a PFSense forum but have I chosen the wrong tool?

      All or any help much appreciated as have spent too many evenings on a steep learning curve.

      Simon

      1 Reply Last reply Reply Quote 0
      • KOMK Online
        KOM
        last edited by

        Transparent mode is the Devil.  Explicit mode with WPAD is the way to go IMO.  Some clients like Android may need to be manually configured, but that's life.  No problem filtering HTTPS sites.  No need to manually install or push a server cert to all your LAN clients.  You may have a borked configuration if explicit mode is still giving you troubles.  Perhaps the SSL config you modified for transparent mode?

        https://doc.pfsense.org/index.php/WPAD_Autoconfigure_for_Squid

        1 Reply Last reply Reply Quote 0
        • B Offline
          bitstreams
          last edited by

          Thanks.

          I guess I can just factory reset the installation and start again?

          1 Reply Last reply Reply Quote 0
          • KOMK Online
            KOM
            last edited by

            That's what I would do.

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