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

    Captive portal and squid non transparent

    Scheduled Pinned Locked Moved Cache/Proxy
    11 Posts 2 Posters 2.5k 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.
    • marcellocM
      marcelloc
      last edited by

      Configure a start page on client's browser that is listed on do not use proxy for these ips/sites filed.

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • J
        jopeme
        last edited by

        What do you mean exactly when you type "client's browser that is listed" ?

        My Wi-Fi clients are not corporate workers, they are temporary guests.

        1 Reply Last reply Reply Quote 0
        • marcellocM
          marcelloc
          last edited by

          You need a page that does directly so captive portal can open authentication. Most Mobile devices alerts about captive login required.

          How are you sending proxy configuration on these clients?

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • J
            jopeme
            last edited by

            Próxy  Dsettings  must be introduced manually and ip settings pfsense send it with dhcp

            1 Reply Last reply Reply Quote 0
            • marcellocM
              marcelloc
              last edited by

              @jopeme:

              Próxy  Dsettings  must be introduced manually and ip settings pfsense send it with dhcp

              you may try to include on squid error page, a link to captive portal login.

              I'm not sure mobile devices includes the 'do not use proxy for these destinations' field.

              Treinamentos de Elite: http://sys-squad.com

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • J
                jopeme
                last edited by

                I do not see sense to include a link in the squid error page because squid works and does not give error. What happens is that squid skip the captive portal.

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  You need a way to tell users that has proxy configured to go to captive. If you deny unauthenticated users, you can send info to they log on captive.

                  But if they go to captive url with squid ip or 127.0.0.1, the first users will allow everyone else that connects.

                  A hard workaround could be a url rewrite for non authenticated users interacting with a modified captive portal that uses x-forward info instead of squid ip.

                  Or

                  You can configure a wpad on clients instead of fixed proxy. This way you can tell what sites go directly and sites that goes with squid.

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • J
                    jopeme
                    last edited by

                    First of all thank you very much for your help.
                    Could you be more concrete? If possible with some example. Sorry, but my English is not very good and it's difficult for me to understand. Regarding the configuration of wpad does not need to clarify anything because I have already worked on it and I understand what you want to tell me. I'd rather see what it would be like to do the other part you tell me.
                    Thanks again.

                    1 Reply Last reply Reply Quote 0
                    • marcellocM
                      marcelloc
                      last edited by

                      Try wpad first, it will be much easier to skip proxy for specific urls.

                      Treinamentos de Elite: http://sys-squad.com

                      Help a community developer! ;D

                      1 Reply Last reply Reply Quote 0
                      • J
                        jopeme
                        last edited by

                        So it is not possible for the captive portal and squid in non-transparent mode to work together?

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