Wireguard - very slow speeds

Started by viktri, March 20, 2021, 08:02:39 AM

Previous topic - Next topic
March 20, 2021, 08:02:39 AM Last Edit: March 20, 2021, 09:03:16 AM by viktri
I recently switched over from PFsense to OPNsense.

I'm using the same hardware that I used with PFsense - i5 8250u with 8gb ram.

I have a test server and client that I use consistently to test my speeds. Server has gigabit internet and client has approximately 40-50MB/s.

On my PFsense, I was able to reach open VPN speeds around 15-30MB/s and WG around 30-40MB/s.
I've set up WG in the same with using OPNsense but I'm only getting around 300KB/s.

I've followed various online guides and tested a ton of different firewall settings. None helped. I've left my settings following this youtube guide: https://www.youtube.com/watch?v=gNyIACWc60w

My best guess is that the problem has something to do with firewall settings - PFsense probably managed some of the firewall adjustments and I don't know how to fix this. I've tried all sorts of various combinations and nothing has helped.

Was hoping that maybe I could get some insight.

Currently my firewall settings are as follows:
No NAT port forward
No NAT outbound
Rules Floating Destination this Firewall, port, pass, UDP, any direction, source: any
No WAN rules
Interface setup WG0 and Rules for WG0 are pass, destination any, source any, direction in, protocol any

EDIT:
Never mind, the problem has to do with my upload speeds. For some reason OPNsense has limited my upload speeds to just a few Mbps. Not sure what's going on. My server can download from the client (who is uploading) fine.

edit: can delete this post
the problem was with sensei package - I removed it and my upload speeds returned.