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

    Approach to troubleshoot a very slow connection to a single website. - solved

    Scheduled Pinned Locked Moved Firewalling
    31 Posts 7 Posters 1.9k 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
      mervincm
      last edited by mervincm

      Attempt number 2
      2.5.0-DEVELOPMENT (amd64)
      built on Tue Nov 19 18:35:12 EST 2019

      I am consistently unable to reach a specific public website from behind my pfSense firewall. It works fine via LTE, or if I bypass my pfsense router. It should load in less than 1 second, but it takes minutes and never appears to complete.

      It does not seem to be DNS as I can resolve the hostname via the client device and the page does partially load
      ping is not useful as this host appears to block icmp.

      no pfblocker package loaded,

      I am not sure what to look at next.

      looking at the firewall rules / LAN, I see the three base rules (anti-lockout, default allow LAN ipv4 and ipv6)

      ikifarI 1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        could be MTU, you need to analyze the traffic with packet capture / wireshark

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad
          last edited by

          What is the web site ?

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          M 1 Reply Last reply Reply Quote 0
          • M
            mervincm @NogBadTheBad
            last edited by

            @NogBadTheBad
            https://meet.alberta.ca
            It is cisco virtual meeting VC for a customer of mine.
            it loads virtually instantly everywhere I try it other than through my pfsense firewall.

            NogBadTheBadN 1 Reply Last reply Reply Quote 0
            • ikifarI
              ikifar
              last edited by

              Contact your ISP?
              What are you running pfSense on?
              Your not in a double NAT are you?

              M 2 Replies Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad @mervincm
                last edited by

                @mervincm

                Looks fine from behind my pfSense router:-

                Screenshot 2019-11-20 at 16.32.56.png

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                1 Reply Last reply Reply Quote 0
                • PippinP
                  Pippin
                  last edited by

                  Try ticking "IP Do-Not-Fragment compatibility"

                  I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                  Halton Arp

                  M JKnottJ 3 Replies Last reply Reply Quote 0
                  • M
                    mervincm @Pippin
                    last edited by

                    @Pippin I will look that up and test, thank you for the suggestion.

                    1 Reply Last reply Reply Quote 0
                    • M
                      mervincm @ikifar
                      last edited by

                      @ikifar I don’t think it’s the ISP because when I bypass the pfSense firewall by plugging the test PC directly to the ISP link (thus on a public IP address) the problem goes away.

                      1 Reply Last reply Reply Quote 0
                      • JKnottJ
                        JKnott @Pippin
                        last edited by

                        @Pippin said in Approach to troubleshoot a very slow connection to a single website.:

                        Try ticking "IP Do-Not-Fragment compatibility"

                        I just looked that up in the docs and found this:

                        "This option is a workaround for operating systems that generate fragmented packets with the don’t fragment (DF) bit set. Linux NFS (Network File System) is known to do this, as well as some VoIP systems.

                        When this option is enabled, the firewall will not drop these malformed packets but instead clear the don’t fragment bit. The firewall will also randomize the IP identification field of outgoing packets to compensate for operating systems that set the DF bit but set a zero IP identification header field."

                        Given an OS fragmenting before sending and setting the DNF is entirely normal, doesn't this reflect a bug with pfSense/FreeBSD? No router should be changing that flag.

                        PfSense running on Qotom mini PC
                        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                        UniFi AC-Lite access point

                        I haven't lost my mind. It's around here...somewhere...

                        1 Reply Last reply Reply Quote 0
                        • PippinP
                          Pippin
                          last edited by

                          I don't know if it is a bug.
                          It solved my problem described in the link so I just had a hunch:
                          https://forum.netgate.com/topic/138124/posting-to-a-forum-issue/21

                          I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                          Halton Arp

                          1 Reply Last reply Reply Quote 0
                          • M
                            mervincm @ikifar
                            last edited by

                            @ikifar no double NAT, and dedicated hardware
                            https://www.newegg.ca/gigabyte-ga-c1007un-d-mini-itx/p/N82E16813128598

                            ikifarI 1 Reply Last reply Reply Quote 0
                            • ikifarI
                              ikifar @mervincm
                              last edited by

                              @mervincm Ok well I am able to visit the site here at home and I am running pfSense, I assume you don't have any caching so that can't be the issue. Maybe try the file system check to get to this in the pfsense console select the option to reboot (5) then select the option to do a filesystem check which should be F

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

                                @mervincm said in Approach to troubleshoot a very slow connection to a single website.:

                                (thus on a public IP address) the problem goes away.

                                But this public ip address changes right... Do what @NogBadTheBad did and lets see what your browser says about the loading and where the problem is..

                                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

                                M 1 Reply Last reply Reply Quote 0
                                • M
                                  mervincm @Pippin
                                  last edited by

                                  @Pippin thanks for the hint but it didn't make a difference.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mervincm @johnpoz
                                    last edited by mervincm

                                    @johnpoz
                                    I happen to have a mac so I pulled up safari - web inspector and I get a the same issue. It records for about 12 seconds and stops thinking the page is loaded, but it's a good minute at least from complete.
                                    Screen Shot 2019-11-20 at 8.35.13 PM.png Screen Shot 2019-11-20 at 8.35.54 PM.png Screen Shot 2019-11-20 at 8.37.42 PM.png Screen Shot 2019-11-20 at 8.38.45 PM.png

                                    ikifarI 1 Reply Last reply Reply Quote 0
                                    • M
                                      mervincm
                                      last edited by

                                      and here is what it looks like from the same system, but connected to LTE
                                      Screen Shot 2019-11-20 at 8.46.44 PM.png

                                      and directly to my ISP
                                      Screen Shot 2019-11-20 at 8.56.07 PM.png

                                      1 Reply Last reply Reply Quote 0
                                      • ikifarI
                                        ikifar @mervincm
                                        last edited by

                                        @mervincm Well do you have anything like squid that could be breaking https

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          mervincm @ikifar
                                          last edited by

                                          @ikifar
                                          the only packages I have installed are acme,bandwidthd,openvpn-client-export,RRD_Summary

                                          I might have run snort on this install but that would have been a couple years back.

                                          ikifarI 1 Reply Last reply Reply Quote 0
                                          • ikifarI
                                            ikifar @mervincm
                                            last edited by

                                            @mervincm so snort is definitely not on the system then

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