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

    How to enable Whatsapp through the proxy server

    Scheduled Pinned Locked Moved Firewalling
    10 Posts 4 Posters 23.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.
    • M
      masotsha
      last edited by

      I have just installed squid and dansguardian.  I can access the internet via http and https.  Unfortunately, whatsapp is not working. How do I enable use of whatsapp on the network?

      1 Reply Last reply Reply Quote 0
      • E
        EMWEE
        last edited by

        WhatsApp uses ports:

        4244
        5242
        5228
        5223
        5222

        If u want to filter on destination:

        http://www.whatsapp.com/cidr.txt

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

          Thank you but how do I set up the firewall rules?

          1 Reply Last reply Reply Quote 0
          • E
            EMWEE
            last edited by

            Create a alias for all the ports/destinations.

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

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

              I have created the alias. What's the next step?

              WHATSAPP.jpg
              WHATSAPP.jpg_thumb

              1 Reply Last reply Reply Quote 0
              • E
                EMWEE
                last edited by

                Create a firewall rules. With your alias as destination ports.

                C 1 Reply Last reply Reply Quote 0
                • M
                  masotsha
                  last edited by

                  I have created the rule as shown in the attached. Also see the rest of my rules. The funny thing is messages do seem to come in now. I can see them flash on the locked screen on my iphone but when I unlock the phone and go to whatsapp, nothing appears. Whatsapp seems to be continuously processing.

                  ![firewall rule.jpg](/public/imported_attachments/1/firewall rule.jpg)
                  ![firewall rule.jpg_thumb](/public/imported_attachments/1/firewall rule.jpg_thumb)
                  all-rules.jpg_thumb
                  all-rules.jpg

                  1 Reply Last reply Reply Quote 0
                  • E
                    EMWEE
                    last edited by

                    Your rules are not gonna work like this. You have a allow all rule at the top. That rule allows all traffic.

                    The firewall works on a first match principal. All your traffic matches your first rule at the moment.

                    1 Reply Last reply Reply Quote 0
                    • B
                      bossies
                      last edited by

                      Hi, i have crated alias with the ports, than added the rules on firewall to pass out - this seems to work fine - could anyone check for me if it's safe doing it like this?

                      thanks

                      whataspp01.jpg
                      whataspp01.jpg_thumb
                      whatsapp02.jpg
                      whatsapp02.jpg_thumb
                      whatsapp03.jpg
                      whatsapp03.jpg_thumb

                      1 Reply Last reply Reply Quote 0
                      • C
                        claude 0 @EMWEE
                        last edited by

                        @emwee said in How to enable Whatsapp through the proxy server:

                        Create a firewall rules. With your alias as destination ports.

                        Hi, I know this is an old thread, but could you explain how to create this rule step by step ?. Thanks!

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