Have a Question?

OPNsense WireGuard Performance



Protectli has a variety of hardware to meet a range of requirements. It is important to provide information regarding various operating system and applications so customers can make an educated decision before purchase. In this article we will cover performance results for the WireGuard plugin available on OPNsense.


WireGuard is a modern, efficient, and secure VPN solution which is relatively easy to configure and deploy compared to OpenVPN and IPsec. For more information on WireGuard please visit the website here https://www.wireguard.com/

Test Configuration

WireGuard supports network topologies such as point-to-point, star, and mesh. For our test configuration we utilized a point-to-point configuration. A LAN network ( was used as the pseudo WAN connection between the WireGuard tunnel "endpoint A" and "endpoint B". We used a FW6E (IP address – running OPNsense (LAN address – as WireGuard endpoint A (tunnel A –, and the devices under test (IP address 192.168.20.x) running OPNsense (LAN address – as WireGuard endpoint B (tunnel B Client A was a Windows 10 desktop ( running an iPerf3 server and client B( was a Windows 10 laptop running iPerf3 as a client.

See the network diagram below for a visual representation of the network topology

Performance results

The WireGuard implementation on OPNsense is fairly straightforward without many configurable options. WireGuard utilizes the ChaCha20Poly1305 cipher suite. Our most recent test was completed September 29th, 2023. This was accomplished on OPNsense 23.7.5. Contrary to what we would have believed, we were getting much faster speeds utilizing the WireGuard-go implementation over the WireGuard kernel implementation. The average speeds were calculated from a 5 minute long iPerf3 test. The throughput may vary while being utilized for extended periods of time.

Performance results are shown in the table below

Vault ModelUnencrypted (Mbps) "#iPerf3 -c -P4 -f m"IPSec (pfSense) AES-128-GCM/AES-XCBC/ AES128-GCM "#iPerf3 -c -P4 -f m"IPSec (OPNsense) 128 bit AES-GCM w/ 128 bit ICV/AES-XCBC/14 [2048 bits] DH/AES128gcm16/No Hash/14 [2048 bits] PFS "#iPerf3 -c -P4 f m"OpenVPN (pfSense 2.7) AES-256-GCM/SHA256 (Mbps) "#iPerf3 -c -P4 -f m"WireGuard (OPNsense wireguard-go) 256-bit ChaCha20Poly1305 Avg (Mbps) "#iPerf3 -c -P4 -f m"Wireguard (pfSense® 2.7.2)
V1210~2340~347~600 (wireguard-kernel, OPNsense 24.1)~1.8Gbps

For more detailed information, please see the Google spread sheet below.

OPNsense WireGuard Performance Spread Sheet

As always, if you have any questions or concerns please don't hesitate to reach out to support@protectli.com

Table of Contents