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

    Haproxy - Mobile Networks in UK completely broken

    Scheduled Pinned Locked Moved General pfSense Questions
    45 Posts 3 Posters 3.4k 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.
    • VioletDragonV
      VioletDragon
      last edited by

      Hi folks,

      I am am issues and i am not sure where to start with this one.

      I have started having a ton of issues where Mobile networks cannot access my Services that are running through Haproxy and recently having DNS related problems on Mobile networks, if i hop of a WIFI connection it works fine, Networks that are affected, Vodaphone, Network Three, EE and Virgin are networks i currently know of. If i hop on a VPN Provider everything starts working.

      When testing I have disabled all forms of filtering, i.e Snort, pfblockerng but problems are still there,

      Would anyone have any ideas ? it seems to be Mobile Networks that are affected here in the UK, was down in Ireland and not had any issues.

      Regards

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        How do these issues present? Traffic never arrives at pfSense? Site cannot resolve?

        VioletDragonV 2 Replies Last reply Reply Quote 0
        • VioletDragonV
          VioletDragon @stephenw10
          last edited by

          @stephenw10 When this happens the Site cannot be reached i.e DNS Probe issues (DNS_PROBE_FINISHED_NXDOMAIN) or in some cases a white screen with connection timeout, not even a 503 Error. Dropping the Phone into Airplane Mode then back out of Airplane Mode sometimes fixes the problem.

          Another issue when it works, accessing Nextcloud it is hit and miss works and other times just timesout. These problems never happens on WIFI connections though.

          Regards

          1 Reply Last reply Reply Quote 0
          • VioletDragonV
            VioletDragon @stephenw10
            last edited by

            @stephenw10 Now I bought a block of IPs from one of my ISPs and that's when this started happened. The attachment I have attached is the same screen I get when trying to access services by there FQDN.

            24-04-21 17-29-26 0330.png

            regards

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Hmm, that sounds like the providers DNS servers failing to resolve it. Or blocking it. Can you try resolving against a different DNS server whilst connected to mobile?

              Has your domain or IP block been blacklisted somewhere perhaps?

              VioletDragonV 1 Reply Last reply Reply Quote 0
              • VioletDragonV
                VioletDragon @stephenw10
                last edited by

                @stephenw10 Urmm I can't see the Domain or IP being blocked though, I have a block of new IPs and Domains.

                If i connect to a VPN it all starts working, I feel like its a problem with Mobile networks but why would different providers have the same problem?

                When I was with Three I had loads of problems with their network not being able to connect to my services but that had issues with other websites too. I just find it a bit strange why Mobile Networks are having this problem, I have family in Southern Ireland and friends in the US they haven't had any issues at all except folk in the UK which i am complexed about.

                Regards

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  When you connect to a VPN you probably start using the VPN providers DNS servers. I'm assuming you're testing from a phone directly rather than using it as a hotspot with some test client behind it?

                  VioletDragonV 1 Reply Last reply Reply Quote 0
                  • VioletDragonV
                    VioletDragon @stephenw10
                    last edited by

                    @stephenw10 Yep testing it on the Phone itself. on a iPhone there is no option to change the DNS Providers settings which is one of the reasons why i connected to a VPN. I just find it very strange.

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      I'd try testing as a hotspot then. Some other client that can test against various DNS servers using the hotspot should prove this.

                      VioletDragonV 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @VioletDragon
                        last edited by johnpoz

                        @VioletDragon I use the Hurricane electric network tools app on my iphone - lots of stuff it can do, one of which is query any dns you want.

                        https://networktools.he.net/

                        This suite of network tools implements most of the network diagnostics that you need as a Network Engineer or System Administrator. This is the first version of our mobile app, please help us improve it by giving us feedback.

                        Interface Information: Get information regarding your device's current network state.
                        ARP / NDP: Lookup local devices found on your network using either ARP (IPv4) or NDP (IPv6).
                        DNS lookup: Search for a server's DNS zone records such as SOA, NS, A, AAAA, MX, TXT, and rDNS.
                        IP Calculator: Calculate the Netmask, Wildcard, Network, Host range, and Broadcast for a given subnet.
                        iperf (v2 and v3): Run TCP and UDP performance tests.
                        One Time Password: Manage time (TOTP) and counter (HOTP) based OTP passwords. Uses iCloud Keychain sync (if enabled) on iOS devices.
                        Ping: Send ICMP packets to a single IPv4/v6 address.
                        Ping Sweep: Send ICMP packets to an entire subnet range.
                        Traceroute: Find the route packets take to reach your destination.
                        Progressive Traceroute: Get detailed statistics for a given route.
                        Port Scan: Scan a list of custom or pre-defined TCP ports on any server.
                        SSL/TLS Information: Check used protocol, ciphers and certificate information.
                        Whois: Get information regarding domain registration.
                        NO ADS!
                        

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        VioletDragonV 1 Reply Last reply Reply Quote 3
                        • VioletDragonV
                          VioletDragon @stephenw10
                          last edited by

                          @stephenw10 when testing over Hotspot, websites loads just a blank white screen nothing else.

                          Interestingly enough, websites randomly stops working too. Network connection was lost in Safari. Now I don’t know if this is a problem with the iPhone or not. I will test on android to see. It is very strange.

                          I switched from Three network because the Network was so congested you couldn’t load any websites.

                          I am beginning to wonder if this is more down to network congestion ?

                          Regards

                          1 Reply Last reply Reply Quote 0
                          • VioletDragonV
                            VioletDragon @johnpoz
                            last edited by

                            @johnpoz I have been looking for a app like this for awhile. All resolves in the app under DNS lookup.

                            Regards

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              At some point you were seeing DNS_PROBE_FINISHED_NXDOMAIN though?

                              VioletDragonV 2 Replies Last reply Reply Quote 0
                              • VioletDragonV
                                VioletDragon @stephenw10
                                last edited by

                                @stephenw10 Yeah on odd occasions though. It is very strange.

                                1 Reply Last reply Reply Quote 0
                                • VioletDragonV
                                  VioletDragon @stephenw10
                                  last edited by

                                  @stephenw10 Just out of interest. Could it be the way the block of 8 IPs are being routed? I configured them as VIPs. Then on Haproxy it’s configured on just WAN?

                                  Regards

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator
                                    last edited by

                                    That should be fine. If it was broken it would be broken for everything.

                                    VioletDragonV 1 Reply Last reply Reply Quote 0
                                    • VioletDragonV
                                      VioletDragon @stephenw10
                                      last edited by

                                      @stephenw10 yeah thought so. Just tested it on an android phone. It all seems to be working apart from one of the services I host but no one else is having the issue.

                                      Problem I have right now, is that no that I know can reproduce the problem there end. So I am not sure where to go from here now.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by

                                        I would send some traffic and see if it arrives at your WAN. That will tell you for sure if the mobile network is filtering it.

                                        VioletDragonV 1 Reply Last reply Reply Quote 0
                                        • VioletDragonV
                                          VioletDragon @stephenw10
                                          last edited by

                                          @stephenw10 What would you use for that ? Wire shark ?

                                          Regards

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            Run a pcap in pfSense initially just to see if anything arrives. Filter it by the mobile IP you're testing from. That's easier if you get a real IP. I know 3UK still give you a real address.

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