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

    Bypass Captive portal

    Scheduled Pinned Locked Moved Captive Portal
    15 Posts 6 Posters 8.7k 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.
    • C
      comeback1106
      last edited by

      Thanks for your reply. Log is the captive portal log. When captive portal working, I think is will have log to troubeshoting what problem with this.
      @Derelict:

      What log?  In Status > System Logs, Portal Auth you sill see logins and expirations.  If the MAC and/or ip isn't listed in either the MAC passthrough or the CP logins, it's being passed some other way.

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        The CP logs pretty much tell you why a particular entry was or was not placed in the appropriate table.  They also tell you why a particular entry was removed.  Again, if there is not a passthrough entry of some sort and traffic is still passing, it's something other than captive portal.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • C
          comeback1106
          last edited by

          @Derelict:

          The CP logs pretty much tell you why a particular entry was or was not placed in the appropriate table.  They also tell you why a particular entry was removed.  Again, if there is not a passthrough entry of some sort and traffic is still passing, it's something other than captive portal.

          Thanks for your reply.
          I see captive portal still running but when new user connect to my network, he can using internet. I restart service captive portal but this still errors. The client list on captive portal still zero. When I delete this captive portal and create again, everything is ok. I want troubeshoting what that happen with that.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Are you checking both the passthough MACs and the CP logins?

            How about you post up screenshots of your CP config?

            Sorry.  I don't help with squid/proxies.  I think most people would be better off if they just deleted the package from their pfSense node.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • GertjanG
              Gertjan
              last edited by

              @Derelict:

              I think most people would be better off if they just deleted the package from their pfSense node.

              Big +1.

              Disable any proxies, and for that matter, any non-native pfsense functions (packages). Only activate packages if everything is working perfectly for some time.

              Added to that: the captive portal is on what interface ? LAN or and OPTx ?
              What are the firewall rules on the interface ?

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • C
                comeback1106
                last edited by

                Hi you. When I only enable captive portal on pfsense, everything work ok. But problem have when I enable squid web proxy on pfsense. I want squid webproxy and captiveprotal can work together  >:( Where I can file captive portal log file for tracking the why I get this problem. I only see captive portal have authentication log, not working log. Let's me know If you meet this problem and can resolve this. Thanks alots.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  Nowhere. Squid does not work with CP.

                  1 Reply Last reply Reply Quote 0
                  • C
                    comeback1106
                    last edited by

                    @doktornotor:

                    Nowhere. Squid does not work with CP.

                    I get this  squid does not work with CP, but how can resolve this. The problem come from squid or come from CP? I think have some confit with this but don't know where this problem come from. Squid I can get the log file but captipve portal don't get this. I only get the Authentication log from captive portal. How can enabled log for CP?

                    1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan
                      last edited by

                      As always: go figure out how the pfSense portal works. Do the same with the Squid package. Then, modify Squid so it inter-operates well with pfSense.
                      The last time it 'worked', Squid was modifying the source PHP code of pfSEnse, so everything breaks when upgrading pfSense.

                      If you really need Squid, think about setting up a separate 'Squid-box'.

                      No "help me" PM's please. Use the forum, the community will thank you.
                      Edit : and where are the logs ??

                      1 Reply Last reply Reply Quote 0
                      • jahonixJ
                        jahonix
                        last edited by

                        @comeback1106:

                        I get this  squid does not work with CP, but how can resolve this.

                        You can! Get the pfSense and squid sources from Github and start coding.

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