{"id":86019,"date":"2022-11-07T21:07:09","date_gmt":"2022-11-07T20:07:09","guid":{"rendered":"https:\/\/www.avanet.com\/kb\/sophos-firewall-troubleshooting-iperf-speedtest\/"},"modified":"2022-11-07T21:11:15","modified_gmt":"2022-11-07T20:11:15","slug":"sophos-firewall-troubleshooting-iperf-speedtest","status":"publish","type":"kb","link":"https:\/\/www.avanet.com\/en\/kb\/sophos-firewall-troubleshooting-iperf-speedtest\/","title":{"rendered":"Sophos Firewall Troubleshooting &#8211; iPerf Speedtest"},"content":{"rendered":"\n<p>Sophos firewalls are one of the firewalls on the market that offer a lot of performance for the price. At least if you choose a firewall that is not too small, but rather one that is properly sized. <\/p>\n\n<p>Nevertheless, it can happen that you get the speed on the firewall due to a misconfiguration, but no longer behind the firewall.\nIn this case, it is helpful not to simply go to any speed test website, but to perform a clean test.\nOr you want to test the performance of a VPN connection.\nHere iPerf helps.   <\/p>\n\n<p>At iPerf.fr you can download the tool.\nThe tool is available from Windows to macOS, Linux, Android and iOS. <\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-1024x931.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"931\" data-id=\"86009\" src=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-1024x931.jpg\" alt=\"iPerf3 Speedtest Tool under Windows\" class=\"wp-image-86009\" srcset=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-1024x931.jpg 1024w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-64x58.jpg 64w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-300x273.jpg 300w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-768x698.jpg 768w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-1536x1396.jpg 1536w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-600x545.jpg 600w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest.jpg 1958w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">iPerf3 under Windows<\/figcaption><\/figure>\n<\/figure>\n\n<p>To measure the performance of a route, you need two things.\nA computer that acts as a Server and, consequently, a client that loads data from the Server. <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-iperf-server\">iPerf Server<\/h2>\n\n<p>The following command starts iPerf in Serverand waits for the client to connect.<\/p>\n\n<pre class=\"wp-block-code\"><code>iperf3 -s<\/code><\/pre>\n\n<p>\u26a0\ufe0f Remember the firewall, which may be active on a Windows system, for example.<\/p>\n\n<p>If you want to test e.g. the internet speed, you can also take one of the Public Server nearby.\nIn my experience, the ones on the iPerf.fr site are often offline and I use the list on the <a href=\"https:\/\/github.com\/R0GGER\/public-iperf3-servers\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">iPerf Public Server on GibHub<\/a> here. <\/p>\n\n<h2 class=\"wp-block-heading\">iPerf Client<\/h2>\n\n<p>On the client you can start a speed test with the following command.<\/p>\n\n<pre class=\"wp-block-code\"><code>iperf3 -c 10.10.10.50<\/code><\/pre>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-1024x533.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"533\" data-id=\"86014\" src=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-1024x533.jpg\" alt=\"\" class=\"wp-image-86014\" srcset=\"https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-1024x533.jpg 1024w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-64x33.jpg 64w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-300x156.jpg 300w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-768x400.jpg 768w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-1536x799.jpg 1536w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client-600x312.jpg 600w, https:\/\/www.avanet.com\/assets\/sophos-firewall-iperf-speedtest-client.jpg 1952w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">iPerf speed test of TCP performance<\/figcaption><\/figure>\n<\/figure>\n\n<h2 class=\"wp-block-heading\">More commands<\/h2>\n\n<p>Of course there are several parameters for iPerf.\nHere are a few often used examples. <\/p>\n\n<h3 class=\"wp-block-heading\">Test UDP performance<\/h3>\n\n<p>With the parameter -u you can do the speetest from above, but with UDP.<\/p>\n\n<pre class=\"wp-block-code\"><code>iperf3 -c 10.10.10.50 -u<\/code><\/pre>\n\n<h3 class=\"wp-block-heading\">Tests for a 1Gbit line<\/h3>\n\n<p>We often test a 1Gbit line to see where the limitations are here.<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>-t:<\/strong> How many seconds should the test be performed.\n(default 10 seconds) <\/li>\n\n\n\n<li><strong>-d:<\/strong> Execute a simultaneous bidirectional test<\/li>\n\n\n\n<li><strong>-u: <\/strong>Using UDP instead of TCP<\/li>\n\n\n\n<li>-b<strong>: <\/strong>Target bandwidth 1G (default 1 Mbit\/s).\nThis setting requires UDP (-u). <\/li>\n\n\n\n<li><strong>-p:<\/strong> Server(default 5001)<\/li>\n<\/ul>\n\n<pre class=\"wp-block-code\"><code>iperf3 -c 10.10.10.50 -t 30 -d -u -b 1g -p 5200<\/code><\/pre>\n","protected":false},"author":5,"featured_media":0,"parent":0,"template":"","format":"standard","kb_kategorie":[382],"class_list":["post-86019","kb","type-kb","status-publish","format-standard","hentry","kb_kategorie-sophos-firewall"],"blocksy_meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/kb\/86019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/users\/5"}],"wp:attachment":[{"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/media?parent=86019"}],"wp:term":[{"taxonomy":"kb_kategorie","embeddable":true,"href":"https:\/\/www.avanet.com\/en\/wp-json\/wp\/v2\/kb_kategorie?post=86019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}