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

    Captive Portal + squid + wpad + filter - Https

    Scheduled Pinned Locked Moved Captive Portal
    5 Posts 3 Posters 5.9k 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.
    • A
      aMMgYrP
      last edited by

      I have a network with about 200 full time clients plus an additional 250 part time clients (they leave and return… or visit once and never again).  This network absolutely has to be filtered due to the nature of the clientele.  I have squid in transparent mode running to filter http traffic, but it does not filter https traffic, which leaves a gaping hole in the content control on the network.  I was hoping to be able to use captive portal to force the settings onto the client machines while they are connected using wpad. and then run the squid based filter not transparently thereby managing all traffic.  Is this possible? Am I over thinking this? Are there better solutions? HALP!
      --R

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        On the LAN, block traffic going to any destination on port tcp/443 (except from your proxy server and/or unrestricted client IPs)

        If someone has the proxy settings in their browser, it will never hit that rule since it's going to the proxy.

        You can't force someone's browser settings to reset to "automatic" if they have been set to manual only or no proxy. If you have WPAD setup then it will work for those already set to automatic. Some browsers default to not try automatic configuration these days.

        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
        • N
          Nachtfalke
          last edited by

          You could make a hint on the CaptivePortal start page, that only http traffic is allowed and if some wants to use https he hast to enter the proxy settings manually - if WPAD does not work.

          I tried it without captive portal but with WPAD in the past and I am not sure if every actual browser accepts these settings.

          For me it would be nice to see your wpad files and some hints how you configured it and which browsers (version) are working with wpad.

          Sorry for hijacking this thread a little bit.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            @Nachtfalke:

            You could make a hint on the CaptivePortal start page, that only http traffic is allowed and if some wants to use https he hast to enter the proxy settings manually - if WPAD does not work.

            I tried it without captive portal but with WPAD in the past and I am not sure if every actual browser accepts these settings.

            For me it would be nice to see your wpad files and some hints how you configured it and which browsers (version) are working with wpad.

            Sorry for hijacking this thread a little bit.

            Much of that is covered here:
            http://doc.pfsense.org/index.php/WPAD_Autoconfigure_for_Squid

            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
            • A
              aMMgYrP
              last edited by

              @jimp:

              On the LAN, block traffic going to any destination on port tcp/443 (except from your proxy server and/or unrestricted client IPs)

              If someone has the proxy settings in their browser, it will never hit that rule since it's going to the proxy.

              You can't force someone's browser settings to reset to "automatic" if they have been set to manual only or no proxy. If you have WPAD setup then it will work for those already set to automatic. Some browsers default to not try automatic configuration these days.

              It's a little inelegant because we still need to retain access to the ssl services provided by google, but this actually works like a charm. Thanks!

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