<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Very poor OpenVPN performance]]></title><description><![CDATA[<p dir="auto">Hey guys I'm paying for a public VPN service, so I don't control the server side only the client side.</p>
<p dir="auto">The problem I'm having is when I use the OpenVPN Client on my desktop or laptop computers the speed is excellent around 200Mb/s consistently.</p>
<p dir="auto">But when I use the OpenVPN Client in PFSense the speed is very low, 5-10Mb/s and if it gets any higher (30-40Mb/s) I get huge amounts of packet loss and very high latency being reported in the PFSense Status Page.</p>
<p dir="auto">Here are two speed tests to illustrate the problem:</p>
<p dir="auto"><img src="http://www.speedtest.net/result/5394857572.png" alt="" class=" img-fluid img-markdown" /><br />
<img src="http://www.speedtest.net/result/5394856580.png" alt="" class=" img-fluid img-markdown" /></p>
<p dir="auto">I did these tests within the same minute late at night when the network should have no congestion so you can really see the problem. Both my Windows/Mac OpenVPN Client and the PFSense Client are setup the same except for one difference, the Windows one uses a TAP interface and the PFSense is using a TUN interface. Apart from that they're both using UDP, same port number, same level of compression, same server that they connect to and of course through the same modem and the same ISP on my side. I have tried using OpenVPN over TCP instead and the results are identical.</p>
<p dir="auto">Does anyone have any thoughts about what this could be? I'm also going to list my router specs although I think it's beefy enough to handle much higher speeds than this.</p>
<p dir="auto">The router is running an Intel Haswell G3220 Pentium chip (3GHz Dual Core with 3MB Cache). 16GB of DDR3 Memory, on-board Intel NIC on the motherboard (WAN) and another Intel NIC in one of the PCIe slots (LAN). The system I'm using for both of those speed tests also has Intel NIC's from an X79 motherboard. It is equpped with a 3930K and 32GB of DDR3.</p>
<p dir="auto">When doing the speed test on PFSense the CPU load is only around 10-15% and the RAM usage is like 2GB out of 16GB. So I'm really not thinking it's the hardware but some kind of configuration issue or some setting I'm overlooking.</p>
<p dir="auto">By the way I'm still using PFSense 2.2.6 - I've not yet upgraded to the latest version but I do plan to soon.</p>
<p dir="auto">Thanks.</p>
]]></description><link>https://forum.netgate.com/topic/101371/very-poor-openvpn-performance</link><generator>RSS for Node</generator><lastBuildDate>Sun, 11 Oct 2026 12:24:51 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/101371.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Jun 2016 11:58:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Very poor OpenVPN performance on Tue, 21 Jun 2016 08:46:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/0x10c">@<bdi>0x10C</bdi></a></p>
<p dir="auto">in the OpenVPN Client you could try to increase the TCP/UDP socket send and receive buffers size, adding at bottom of the "Custom options" these two lines:</p>
<p dir="auto">sndbuf 524288;<br />
rcvbuf 524288</p>
<p dir="auto">About the OpenVPN capability of the CPU you could run the simple OpenVPN benchmark formula referenced here:<br />
https://forum.pfsense.org/index.php?topic=105238.msg616743#msg616743 in the Reply #9 message</p>
<p dir="auto">If I execute the command on my router with a Celeron N3150 I get<br />
27.41 real        25.62 user        1.77 sys</p>
<p dir="auto">(3200 / 27.41) = 117 Mbps OpenVPN performance (estimate)</p>
<p dir="auto">This value perfectly fits to the result of the speed test</p>
<p dir="auto"><img src="/public/_imported_attachments_/1/speedt1.png" alt="speedt1.png" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/speedt1.png_thumb" alt="speedt1.png_thumb" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/post/633026</link><guid isPermaLink="true">https://forum.netgate.com/post/633026</guid><dc:creator><![CDATA[mauroman33]]></dc:creator><pubDate>Tue, 21 Jun 2016 08:46:33 GMT</pubDate></item><item><title><![CDATA[Reply to Very poor OpenVPN performance on Mon, 20 Jun 2016 13:27:16 GMT]]></title><description><![CDATA[<p dir="auto">That chip doesn't support AES-NI, that's one of the big issues.</p>
<p dir="auto">http://ark.intel.com/products/77773/Intel-Pentium-Processor-G3220-3M-Cache-3_00-GHz</p>
]]></description><link>https://forum.netgate.com/post/632833</link><guid isPermaLink="true">https://forum.netgate.com/post/632833</guid><dc:creator><![CDATA[mevans336]]></dc:creator><pubDate>Mon, 20 Jun 2016 13:27:16 GMT</pubDate></item><item><title><![CDATA[Reply to Very poor OpenVPN performance on Sun, 19 Jun 2016 05:02:13 GMT]]></title><description><![CDATA[<p dir="auto">Are you using IDP in PFsense if it is free version then it may be the reason.</p>
]]></description><link>https://forum.netgate.com/post/632588</link><guid isPermaLink="true">https://forum.netgate.com/post/632588</guid><dc:creator><![CDATA[noor]]></dc:creator><pubDate>Sun, 19 Jun 2016 05:02:13 GMT</pubDate></item><item><title><![CDATA[Reply to Very poor OpenVPN performance on Sun, 19 Jun 2016 04:40:06 GMT]]></title><description><![CDATA[<p dir="auto">same issue facing in latest version i think this is the bug which should be reported to the developers ASAP.</p>
]]></description><link>https://forum.netgate.com/post/632586</link><guid isPermaLink="true">https://forum.netgate.com/post/632586</guid><dc:creator><![CDATA[noor]]></dc:creator><pubDate>Sun, 19 Jun 2016 04:40:06 GMT</pubDate></item><item><title><![CDATA[Reply to Very poor OpenVPN performance on Mon, 13 Jun 2016 12:53:45 GMT]]></title><description><![CDATA[<p dir="auto">Did you manage to figure out the reason behind the performance problems? If so, could you please share what you've done?</p>
]]></description><link>https://forum.netgate.com/post/631271</link><guid isPermaLink="true">https://forum.netgate.com/post/631271</guid><dc:creator><![CDATA[mozg31337]]></dc:creator><pubDate>Mon, 13 Jun 2016 12:53:45 GMT</pubDate></item><item><title><![CDATA[Reply to Very poor OpenVPN performance on Sun, 12 Jun 2016 22:07:53 GMT]]></title><description><![CDATA[<p dir="auto">I have a very similar issue on 2.3.1 p1. I will open another thread for that as we are dealing with different pfSense versions.</p>
]]></description><link>https://forum.netgate.com/post/631204</link><guid isPermaLink="true">https://forum.netgate.com/post/631204</guid><dc:creator><![CDATA[mozg31337]]></dc:creator><pubDate>Sun, 12 Jun 2016 22:07:53 GMT</pubDate></item></channel></rss>