OPNsense Forum

English Forums => Hardware and Performance => Topic started by: DC on August 28, 2023, 03:03:13 AM

Title: WireGuard vs QNAP QBelt VPN | Performance Mystery
Post by: DC on August 28, 2023, 03:03:13 AM
Hi, this is my first time setting up a VPN with WireGuard on OPNsense, but from what I understand, WireGuard should be the option with the highest performance.

Well, here's the scenario:
At the company, I have a Google Fiber Business connection (2 Gbps Down / 1 Gbps Up). On the other end, I have a workstation with a connection from another ISP, with full duplex 1 Gbps.

I know that with this setup, the maximum test limit will be 1 Gbps. However, I'm getting conflicting results.

When I test the performance using iperf3, I get the following results on the workstation:

WireGuard - 40 Mbps UP | 115 Mbps Down
QNAP QBelt - 300 Mbps UP | 25 Mbps Down

This result doesn't make much sense to me because they are directly opposite, and the case of QNAP QBelt has a very large difference in UP performance, not to mention that QNAP QBelt requires Port Forwarding through OPNsense.

Does anyone have any ideas to share about what could be causing this and how I can improve WireGuard's performance?


NOTE: Just to clarify, I have no intention of using QNAP's VPN; this was a choice the client made in the past before having OPNsense.
Title: Re: WireGuard vs QNAP QBelt VPN | Performance Mystery
Post by: newsense on August 28, 2023, 04:24:55 AM
QuoteQOne Qdoes Qnot Quse Qproprietary Qvpns


Don't use the NAS as a VPN server. QNAPs security practices are less than stellar to begin with - but their in house developed VPN is stellar ?

Don't use anything other than established VPN potocols. IPSec and OpenVPN to OPNsense and appropriate FW rules/dedicated VLAN or the NAS would suffice.

Current state of Wireguard development or even maintenance is becoming more and more concerning as time goes by, and looking at GH there's not much confidence things are changing.
Title: Re: WireGuard vs QNAP QBelt VPN | Performance Mystery
Post by: franco on August 28, 2023, 09:14:08 AM
> QNAPs security practices are less than stellar to begin with

*cough* https://www.qnap.com/solution/pfsense/en-us/ *cough*