{"id":86021,"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:13:27","modified_gmt":"2022-11-07T20:13:27","slug":"sophos-firewall-troubleshooting-iperf-speedtest","status":"publish","type":"kb","link":"https:\/\/www.avanet.com\/it\/kb\/sophos-firewall-troubleshooting-iperf-speedtest\/","title":{"rendered":"Sophos Firewall Troubleshooting &#8211; iPerf Speedtest"},"content":{"rendered":"\n<p>I Sophos Firewallsono tra i firewall presenti sul mercato che offrono molte prestazioni per il loro prezzo.\nAlmeno se si sceglie un firewall non troppo piccolo, ma di dimensioni adeguate. <\/p>\n\n<p>Tuttavia, pu\u00f2 accadere che si ottenga la velocit\u00e0 a causa di una configurazione errata sul firewall, ma non pi\u00f9 dietro il firewall.\nIn questo caso, \u00e8 utile non andare semplicemente su un qualsiasi sito di speed test, ma effettuare un test pulito.\nOppure volete testare le prestazioni di una connessione VPN.\niPerf \u00e8 d&#8217;aiuto in questo caso.   <\/p>\n\n<p>\u00c8 possibile scaricare lo strumento dal sito iPerf.fr.\nLo strumento \u00e8 disponibile per Windows, macOS, Linux, Android e 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=\"Strumento iPerf3 Speedtest in 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 in Windows<\/figcaption><\/figure>\n<\/figure>\n\n<p>Per misurare le prestazioni di un percorso, sono necessarie due cose.\nUn computer che funge da Server e di conseguenza un client che carica i dati dal Server. <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-iperf-server\"> Server iPerf<\/h2>\n\n<p>Il comando seguente avvia iPerf in Servere attende la connessione del client.<\/p>\n\n<pre class=\"wp-block-code\"><code>iperf3 -s<\/code><\/pre>\n\n<p>\u26a0\ufe0f Ricordate il firewall, che potrebbe essere attivo, ad esempio, su un sistema Windows.<\/p>\n\n<p>Se volete testare la velocit\u00e0 di Internet, ad esempio, potete anche prendere uno dei Server pubblici nelle vicinanze.\nPer esperienza, quelle sul sito iPerf.fr sono spesso offline e io uso l&#8217;elenco sul <a href=\"https:\/\/github.com\/R0GGER\/public-iperf3-servers\" target=\"_blank\" rel=\"noreferrer noopener nofollow\"> Server pubblico iPerf su GibHub<\/a>. <\/p>\n\n<h2 class=\"wp-block-heading\">Cliente iPerf<\/h2>\n\n<p>\u00c8 possibile avviare un test di velocit\u00e0 sul client con il seguente comando.<\/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\">Test di velocit\u00e0 iPerf delle prestazioni TCP<\/figcaption><\/figure>\n<\/figure>\n\n<h2 class=\"wp-block-heading\">Altri comandi<\/h2>\n\n<p>Naturalmente, esistono diversi parametri per iPerf.\nEcco alcuni esempi spesso utilizzati. <\/p>\n\n<h3 class=\"wp-block-heading\">Test delle prestazioni UDP<\/h3>\n\n<p>Con il parametro -u \u00e8 possibile eseguire lo speetest di cui sopra, ma con 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\">Test per una linea a 1Gbit<\/h3>\n\n<p>Spesso testiamo una linea da 1Gbit per vedere dove sono i limiti.<\/p>\n\n<ul class=\"wp-block-list\">\n<li><strong>-t:<\/strong> Per quanti secondi deve essere eseguito il test.\n(predefinito 10 secondi) <\/li>\n\n\n\n<li><strong>-d:<\/strong> Esecuzione di un test bidirezionale simultaneo<\/li>\n\n\n\n<li><strong>-u: <\/strong>Usa UDP invece di TCP<\/li>\n\n\n\n<li>-b<strong>: <\/strong>larghezza di banda target 1G (valore predefinito 1 Mbit\/s).\nQuesta impostazione richiede UDP (-u). <\/li>\n\n\n\n<li><strong>-p:<\/strong> Server(predefinita 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":[409],"class_list":["post-86021","kb","type-kb","status-publish","format-standard","hentry","kb_kategorie-sophos-firewall"],"blocksy_meta":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.avanet.com\/it\/wp-json\/wp\/v2\/kb\/86021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.avanet.com\/it\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/www.avanet.com\/it\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.avanet.com\/it\/wp-json\/wp\/v2\/users\/5"}],"wp:attachment":[{"href":"https:\/\/www.avanet.com\/it\/wp-json\/wp\/v2\/media?parent=86021"}],"wp:term":[{"taxonomy":"kb_kategorie","embeddable":true,"href":"https:\/\/www.avanet.com\/it\/wp-json\/wp\/v2\/kb_kategorie?post=86021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}