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

    Settings for the most responsive browsing?

    Scheduled Pinned Locked Moved General pfSense Questions
    59 Posts 6 Posters 12.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.
    • O
      Octopuss
      last edited by

      I feel like web browsing is kind of laggy (and always has been) despite having really fast connection, so I was wondering if there were some universally applicable tips what to change in pfSense's settings to make everything a little more responsive.
      Basically what happens is I click a link in bookmarks, and it can take up to two seconds before the page starts loading. I think most of that delay consists of the browser showing any or all of the "waiting for, looked up, looking up" or whatever messages in the status bar.

      I should also mention that our house is connected via wifi, but it should be pretty stable and I don't think it's the root of the problem: our ISP has recently upgraded the AP to some GiFi technology that's supposedly almost impossible to interrupt (no idea what is the correct word, basically interference like I had when we had 5GHz AP).
      dc150150-f1f5-4198-8b30-637d4a5d16e6-image.png

      When it comes to pfSense, I don't really know what I'm doing, because I have borderline zero networking knowledge and I set it up according to various guides I could google up over two years ago and forgot even the little I learned during the process.
      Oh and I am running it virtualized, btw.

      If what I'm asking has any solution (I am aware I am asking an extremely vague question and pfSense has a gazzilion settings), I can provide screenshots, the entire thing's config, and answer any questions the best I can.

      johnpozJ GertjanG S 3 Replies Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @Octopuss
        last edited by

        @octopuss said in Settings for the most responsive browsing?:

        "waiting for, looked up, looking up" or whatever messages in the status bar.

        You sure your browser is not using doh, and not even using pfsense for dns?

        Many a browser loves to use their own dns via doh, unless you specifically tell it not too.

        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

        O 1 Reply Last reply Reply Quote 1
        • O
          Octopuss @johnpoz
          last edited by

          @johnpoz I have no idea what doh is unfortunately.

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

            @octopuss

            https://support.mozilla.org/en-US/kb/firefox-dns-over-https

            All the browsers can, and not sure on all - but many like to enable it without any user interaction or opt-in

            https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/

            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

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

              @octopuss said in Settings for the most responsive browsing?:

              Basically what happens is I click a link in bookmarks, and it can take up to two seconds before the page starts loading.

              Something to look at : what does your browser do when you ask it to show "a page".
              Open the browser console, every browser has one. For Firefox, its SHIF+CTRL+I.
              Goto the 'network' pane.
              Now, open a site like https://www.flickr.com
              See what happens in the pane.
              It won't take a minute before you ask yourself : will it ever stop ?
              About DNS : as soon as a host name is resolved, it will be available for future usage without a lengthy lookup.
              If the site that you visit wants to inform every other big player in the net, flickr is a good example here, many sites get contacted, as many connections are opened, and you start wondering : is congestion a thing ?

              Also : Go here : https://www.waveform.com/tools/bufferbloat and do the test.

              Last but not least : do not use "responsive" and "wifi" in the same phrase 😊
              No one can't see the radio waves around your devices and access points. Special equipment is need. So communication might be a mess, with many re transmit requests etc.

              The next time you buy that wireless device, think about this video I Declared Victory. I was SOOO Wrong… - Deep WiFi Troubleshooting.

              Test are always compared with 1000 Mbis/sec wired connections - and your ISP uplink. "Wifi" can be very erratic, and not reproducible. Good wifi equipment is rarely the AP you got from your ISP. It might be good enough ... And don't forget that you need more as a good access point : the other side of your connection : your device needs also to be 'good' ? ( and you can't swap the wifi adapter in your phone ^^)

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

              O 1 Reply Last reply Reply Quote 1
              • O
                Octopuss @johnpoz
                last edited by

                @johnpoz said in Settings for the most responsive browsing?:

                @octopuss

                https://support.mozilla.org/en-US/kb/firefox-dns-over-https

                All the browsers can, and not sure on all - but many like to enable it without any user interaction or opt-in

                https://developers.cloudflare.com/1.1.1.1/encryption/dns-over-https/encrypted-dns-browsers/

                I am using Pale Moon, which I'm sure doesn't support this nonsense.

                1 Reply Last reply Reply Quote 0
                • O
                  Octopuss @Gertjan
                  last edited by Octopuss

                  @gertjan said in Settings for the most responsive browsing?:

                  @octopuss said in Settings for the most responsive browsing?:
                  Last but not least : do not use "responsive" and "wifi" in the same phrase 😊
                  No one can't see the radio waves around your devices and access points. Special equipment is need. So communication might be a mess, with many re transmit requests etc.

                  The next time you buy that wireless device, think about this video I Declared Victory. I was SOOO Wrong… - Deep WiFi Troubleshooting.

                  Test are always compared with 1000 Mbis/sec wired connections - and your ISP uplink. "Wifi" can be very erratic, and not reproducible. Good wifi equipment is rarely the AP you got from your ISP. It might be good enough ... And don't forget that you need more as a good access point : the other side of your connection : your device needs also to be 'good' ? ( and you can't swap the wifi adapter in your phone ^^)

                  From what the ISP's technician told me, this frequency cannot be "interefered". It only works on short distances (which in our case is about 260m AP to AP).
                  Also there is no packetloss at all, I have a program that lets you periodically ping a list of IPs, and there is not even one lost packet in 1000 pings. Also, the latency barely ever spikes. I have pings of under 5ms across the country, and the rare spikes are still under 20ms.
                  I don't know what the AP on the roof is, but this is a small local ISP that takes pride in only using good equipment, so I'm pretty sure we have a good one.

                  O F 2 Replies Last reply Reply Quote 0
                  • O
                    Octopuss @Octopuss
                    last edited by

                    03526fa8-00de-4b07-ae49-ba788b5193b7-image.png

                    1 Reply Last reply Reply Quote 0
                    • F
                      FSC830 @Octopuss
                      last edited by

                      @octopuss said in Settings for the most responsive browsing?:

                      From what the ISP's technician told me, this frequency cannot be "interefered".

                      Nice company minded statement. 😊
                      Every frequency can be interfered, its a question of equipment and efforts, but not of physics.

                      The higher the frequency, the lower is the risk of being interfered by typical other WLAN or low shielded devices, but there is no radio frequency that can not be interfered.

                      Therefore this statement is rather optimistic.

                      Regards

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        Octopuss @FSC830
                        last edited by Octopuss

                        @fsc830 Maybe he said "mostly cannot be interfered" or something, I don't know.
                        What I can say is that I didn't have to call them once since the upgrade, whereas with the previous 5GHz AP they constantly had to tune it because despite being in the outskirts of a town, there are still way too many signals around, and the connection would randomly start dropping or speed would drop to 20% of what it was supposed to be.

                        1 Reply Last reply Reply Quote 0
                        • O
                          Octopuss
                          last edited by

                          04fbe76f-5ad2-4506-86a1-ac5af196f416-image.png
                          Looks pretty good to me.

                          Oh and the AP should be Mikrotik nRAY.

                          1 Reply Last reply Reply Quote 0
                          • S
                            SteveITS Galactic Empire @Octopuss
                            last edited by

                            @octopuss What OS is on your computer? 2 seconds sounds like a DNS timeout. *nix usually queries its DNS servers in order, while Windows uses the "last known good" server first.

                            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                            Upvote 👍 helpful posts!

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              Octopuss @SteveITS
                              last edited by Octopuss

                              @steveits Windows 10.
                              It's not flat 2 seconds for every site. Some are this slow, some are not. Sites within the country tend to be noticeably faster to start loading.
                              Most sites seem to load faster the 2nd time too.

                              pfSense runs under ESXi on all-in-one server.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                SteveITS Galactic Empire @Octopuss
                                last edited by

                                @octopuss In DNS Resolver settings, is "DNS Query Forwarding" enabled?

                                If it is, disable the DNSSEC option.

                                In v23.01, some have posted of random failures if "DNS Query Forwarding" is enabled and "Use SSL/TLS for outgoing DNS Queries to Forwarding Servers" is checked.

                                Did you say what pfSense version you have?

                                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                Upvote 👍 helpful posts!

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  Octopuss @SteveITS
                                  last edited by Octopuss

                                  @steveits Yes, I have forwarding enabled in the Resolver. It's the only way to use specific DNS servers I think? I guess using my ISP's DNSes makes the most sense as they are like 1km away from me.

                                  I used to have DNSSEC enabled, but have disabled it when I was digging in the settings before posting here. I don't think there is any change in any way.
                                  I have also disabled the use SSL/TLS setting because the DNS servers I use aren't compatible with it.

                                  I have also updated from 2.5.2 to 2.7.0 the same day.

                                  O 1 Reply Last reply Reply Quote 0
                                  • provelsP
                                    provels
                                    last edited by provels

                                    FWIW, in my home environment, I've found browsing speed no different on the 400 Mb I once had or the 70 Mb I have now.

                                    Peder

                                    MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                    BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                    O 1 Reply Last reply Reply Quote 0
                                    • O
                                      Octopuss @provels
                                      last edited by Octopuss

                                      @provels I don't believe it has anything to do speed either. Not unless you have like 10Mbit download or something at least.

                                      1 Reply Last reply Reply Quote 0
                                      • O
                                        Octopuss @Octopuss
                                        last edited by

                                        I have also updated from 2.5.2 to 2.7.0 the same day.

                                        I meant to write 2.6.0.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          SteveITS Galactic Empire @Octopuss
                                          last edited by

                                          @octopuss I think you need to verify it's a DNS issue. From your computer try nslookup to see how long domains take to resolve. Use a hostname you haven't connected to/looked up already, so it isn't cached. Syntax:

                                          nslookup abc.com IP_of_pfSense

                                          That will show you how long it takes pfSense to resolve it. Then maybe try again using a public DNS server like 8.8.8.8 or 9.9.9.9.

                                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                          Upvote 👍 helpful posts!

                                          O 1 Reply Last reply Reply Quote 0
                                          • O
                                            Octopuss @SteveITS
                                            last edited by

                                            @steveits Is the command supposed to give me some kind of measurement in miliseconds or am I supposed to simply observe whether it feels slow?

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