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

    Captive portal block whatsup

    Captive Portal
    9
    32
    5.7k
    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.
    • M
      moelharrak
      last edited by

      Hello all,
      After upgrade to 2.6 captive portal is blocking whatsup (audio and video, chat works fine), I did test other app like instagram and it's works fine.
      when I disable the captive portal, whatsup goes back to work normal.
      any idea please?

      1 Reply Last reply Reply Quote 0
      • A
        ahsunh
        last edited by

        Facing same issue when upgrading to 2.6.0 CE whatsapp audio calls not connecting but when disable captive portal whatsapp audio calls connected and working fine.

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

          @ahsunh said in Captive portal block whatsup:

          but when disable captive portal whatsapp audio calls connected and working fine.

          The captive portal uses two firewalls on it's interface.
          The first one, called ipfw, is a set of rules which you can't modify. One of the rules contains a 'table' with permitted IP's and MAC addresses.
          When a captive portal user logs in, tteh IOP and MAC address of its device are added to the table with permitted devices. The result is : for that device, the ipfw firewall becomes transparent.
          The second firewall is the one you see in the GUI, the one you can modify yourself.

          Btw : you can see what ipfw does. Look here : Troubleshooting Captive Portal.

          When you read Troubleshooting Captive Portal - and look at the rules, you'll discover that there is no captive portal application or something like that. It's just a set of rules, and a web server.
          Better yet : the device that makes an captive portal possible is not pfSense, it's your device.

          There are 4 golden captive portal rules :

          1. DNS should work. Devuices, logged into the portal, and the ones not yea logged on, should have access to the pfSEnse DNS. This is typuically the resolver (unbound) listening on the captive portal interface. The classic UDP/TCP port 53 : do not block these with the GUI rules.

          2. Test captive portal access with this GUI Firewall rule :

          fe43a9d4-35c6-4fb3-890b-8eba7da701b2-image.png

          This GUI firewall rule has been tested : it works.

          1. Make your live easier on yourself : use a dedicated interface for the captive portal. The fact that you need a captive portal means you have to give access to non-trusted devices. These do not belong on a trusted network like LAN.

          2. Always test debug the captive portal with wired devices. You can't see/feel/know if the radio connect isn't disturbed by other radio devices. hone calls need a steady fluid continues data stream to make voice quality possible. This can be made possible over wire. Radio connections add a lot of invisible (to the end user) issues.

          Also : there is no such thing as saying : "it doesn't work".
          Where are the firewall log lines that indicate that requests from the device on which whatapp is used, are blocked ?

          If "everything" works except one service from company X, then you might say to yourself :
          " How much did I pay for this free service ? "
          This is not a joke any more : Whatssapp (facebook) does takes a break ones in a while.

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

          A 1 Reply Last reply Reply Quote 0
          • A
            ahsunh @Gertjan
            last edited by

            @gertjan Thankyou for you response.

            1. Not facing this issue on below version 2.5.2
              2.only issue facing on whatsapp audio calls only

            Attached is screenshot or WIFIvlan interface of captive portal FYI
            Screen Shot 2022-02-18 at 5.46.29 PM.png Screen Shot 2022-02-18 at 5.45.45 PM.png

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

              @ahsunh

              The first image is the bottom part of second image ? Or is it another interface ?

              And the tests ?
              For example : test number 2 ?
              Place the rule I've shown at position 1. This will make the portal 100 % transparent as soon as the user is logged in.
              It still doesn't work : the issue isn't pfSense.
              It works : redo your rules.

              Did you restarted pfSense recently ? Most firewall rule states are just 0/0 whihc means that the rules didn't match traffic.

              Btw :
              You have multiple WAN's, right ? What happens when you remove all the 'gateway' entries in all the rules, so the portal users use the default gateway ?

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

              A 1 Reply Last reply Reply Quote 0
              • A
                ahsunh @Gertjan
                last edited by

                @gertjan yes bottom of same image.
                and i roll back to 2.5.2 of pfsense with same setting and it is working fine in 2.5.2.
                whatsapp audio calls connected successfully in captive portal users of 2.5.2.

                1 Reply Last reply Reply Quote 0
                • M
                  moelharrak
                  last edited by

                  @Gertjan Thank you for your answer
                  As @ahsunh said , the same setup was working fine with 2.5.2 version , the issue happened after the Upgrade to 2.6, and FYI I have two setup in two different countries, that was working fine before the upgrade to 2.6.
                  DNS, captive portal , .... everything works fine just WhatsApp call (chat works).
                  As I mentioned in my first post , I DID TEST OTHER VOIP APP like Instagram, they are working fine , this issue is only with whatsapp.
                  I did a test allowing some whatapp's public IP --> WhatsApp call WORKS
                  75a86161-f1b4-4422-ae09-12519d83147c-image.png

                  1 Reply Last reply Reply Quote 0
                  • K
                    Knolli
                    last edited by

                    Hello, I actually have the same problem with WhatsApp Call. A connection is not possible. In addition, we have also noticed that VPN connections are also no longer possible. Has anyone here possibly already found a solution?

                    1 Reply Last reply Reply Quote 0
                    • M
                      moelharrak
                      last edited by

                      @Knolli appreantly 2.6 has an issue with UDP, no solution has been found yet as far as I know.
                      You can go back to 2.5.2 to make everything work as normally.

                      K 1 Reply Last reply Reply Quote 1
                      • K
                        Knolli @moelharrak
                        last edited by

                        @moelharrak
                        Thank you. I‘ve been trying to find the problem for a while now, unfortunately without success. I will now carry out a recovery.

                        1 Reply Last reply Reply Quote 0
                        • A ahsunh referenced this topic on
                        • A
                          adminacp
                          last edited by

                          Confirm this. Been having the same issue since upgrading from 2.5.2 to 2.6.0. Hoping for a solution soon for this

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

                            @adminacp said in Captive portal block whatsup:

                            Hoping for a solution soon for this

                            What about the solution posted yesterday? :)

                            See The pfSense forum, subsection "Captive portal". That's the place where you posted.

                            This thread for for example : UDP/ICMP is not working after upgrade to 2.6.0, you will find also that the System Pacthes pfSense package has been updated, and that it contains now a fix : "Fix Captive Portal handling of non-TCP traffic after login (Redmine #12834) "

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

                            A 1 Reply Last reply Reply Quote 1
                            • M
                              moelharrak
                              last edited by

                              Thank you for you answer,
                              The patch failed
                              95acdb56-1dd3-4438-94bf-cdea58565a86-image.png

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

                                @moelharrak said in Captive portal block whatsup:

                                The patch failed

                                That's it : 3 words, no details, nothing ??!?

                                Have you found : new System Patches v2.0 ?

                                So : install that official pfSense package "System Patches" first :

                                ad8204a7-5e38-419d-ba4c-7774902c0a7a-image.png

                                Open System => Patches and you'll see :

                                12955b39-be79-469b-9993-8a5f574b8c62-image.png

                                There will be a Blue Apply button.
                                Your mission : click it. Done.

                                Keep this pfSense package "System Patches" updated.

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

                                B 1 Reply Last reply Reply Quote 1
                                • M
                                  moelharrak
                                  last edited by

                                  Hi,
                                  I'm using pfsense 2.6.0, the latest version of "System Patches" is :
                                  2e56083a-2b27-4b2d-abca-ade650c596d9-image.png

                                  • I see no "Fix Captive Portal ..."
                                    cb0f3918-a946-49a0-b8a8-c9b02bc7e07f-image.png
                                  • I tried that manually to add the commit ID, but it says patch failed
                                    917f1f2b-5f9a-4252-9345-9e4bfadb94ed-image.png
                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    moelharrak
                                    last edited by

                                    Now The "System_Patches" version 2.0_4 is installed, the issue was in the "System Update" Previous stable version was selected.

                                    • Patch installed and now UDP seems working with the captive portal.
                                      Need to do more tests.
                                      Thank you very much
                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      adminacp @Gertjan
                                      last edited by

                                      @gertjan Sorry for the late reply. Done doing the suggestion and now everything work. Thank you!

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rfmendes
                                        last edited by

                                        Boa Tarde.

                                        Estava com problemas em chamadas do whatsapp, tanto vídeo quanto áudio atrás de um captive portal. Instalei o Pacote "System Patches" e apliquei o Patch do Captive Portal... conforme orientado. Reiniciei o servidor e tudo voltou a funcionar 100%. Estarei realizando mais testes, mas de momento esta resolvido.

                                        Obrigado pela ajuda!

                                        Rafael Mendes

                                        –
                                        Att;
                                        Rafael
                                        rafael.mendes@msn.com

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelo.castro2018
                                          last edited by

                                          Perfect, this work fine for me!

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Bilgram @Gertjan
                                            last edited by

                                            @gertjan
                                            Hi... I am new to this forum and have a similar problem with my pfsense+ Version 22.01 (don't know if this is the same as 2.6).
                                            pfsense-version.png
                                            With the previous Version WLAN Call for our mobile phones worked without problems....since the update no more....when I disable the captive portal then WLAN Call works.
                                            I have also in the meantime installed the System Package 2.0_4
                                            pfsense-package.png
                                            Unfortunately WLAN Call still doesn't work.
                                            Do you have an idea how to solve this?

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