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

    Test WAN speed direct from pfsense shell or GUI

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 4 Posters 46.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.
    • J
      jamesc
      last edited by

      Hi all,

      As the subject says really, does anyone know of a way i can test WAN speed (upload/download) directly from the pfsense box, rather than going through sites such as speedtest.net which i have found to be inaccurate on some occasions.

      Thanks

      James

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

        I have done this before by downloading a file from a known fast source to /dev/null using fetch.

        
        [2.0.1-RELEASE][root@pfsense.fire.box]/root(1): fetch -o /dev/null http://download.thinkbroadband.com/50MB.zip
        /dev/null                                     100% of   50 MB 1935 kBps 00m00s
        
        

        Thinkbroadband seem to be able to saturate my connection and have range of file sizes:
        http://www.thinkbroadband.com/download.html
        They are close to me though.

        Steve

        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by

          I commonly use Cachefly's test files for that, the same way Steve described.
          http://cachefly.cachefly.net/10mb.test
          http://cachefly.cachefly.net/100mb.test

          1 Reply Last reply Reply Quote 0
          • J
            jamesc
            last edited by

            Thank you both, that works well for me too.

            Next question: how do you guys test upload? Im guessing you send a file to a public FTP somewhere?

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

              Yeh upload is a more difficult test. Personally my upload bandwidth is small enough that Speedtest.net gets good consistent results. Though it doesn't seem to test loadbalanced uploading.
              It depends what you have access to out on the net somewhere. In the past I have done a similar test but downloading to a remote machine a file I have hosted here behind pfSense.
              I guess uploading via ftp would be similar.

              Steve

              1 Reply Last reply Reply Quote 0
              • C
                cmb
                last edited by

                There aren't any public FTP servers that will accept uploads (or they'd quickly become warez depots). We have servers on very high speed connectivity in several locations that I use for that purpose when needed. That's not an easy task for most people though since there aren't such readily available resources.

                1 Reply Last reply Reply Quote 0
                • N
                  nexusN
                  last edited by

                  You may try this site with selecting the nearest location:
                  http://www.myspeedmeter.net/map.html#

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

                    The problem with those test sites is that they all run some java client or some other very high level code that consumes massive system resources in order to display a shiny graph and a 'speedometer'.  >:(

                    The machine I'm writing this on is quite capable of saturating my WAN connections but it can't keep up with the java front end hence it always shows something completely unrealistic.

                    Steve

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