Weird slow OpenVpn connection
-
@Gertjan I use a slightly modified Dell Precision Tower 3620 with a 4 port nic intel! The nic is wan and lan!
I have 470 down and 20up!
-
@Gertjan I don’t understand why the connection is on that way better hardware so much slower then on the small slow ASUS router! Yes I indeed used mobile data network to connect but I used to do that and never had such a slow connection!
-
@d-k said in Weird slow OpenVpn connection:
Dell Precision Tower 3620 with a 4 port nic intel!
Without knowing more about your Dell, I'm pretty sure it has a 1 Gbits/sec BICs for a WAN and a LAN.
This device can easily completely fill up the up and down stream of your ISP.
And it will "eat through a VPN connection like cake".@d-k said in Weird slow OpenVpn connection:
but I used to do that and never had such a slow connection!
Like me this morning.
Normally, a couple of hundreds of Mbits/sec and this morning, it was crawling.Again, if you have a NAS or something like that, and you can connect a PC on the WAN side of pfSense, do a NAS transfer direcly (open up the ports on WAN first) and do also a OpenVPN test with a OpenVPN client on the PC and the OpenVPN server on pfSense.
You didn't add weird stuff like jumbo packets on WAN (just an example) or anything else special that is not 'default' ?
-
@Gertjan No pretty much everything should still be standard except firewall rules And Nat port forwarding!
-
I know it sounds strange, but try changing from UDP to TCP.
I have found that the very same OpenVPN tunnel on TCP works faster than UDP. I know it's supposed to be the other way around, but my real world experience has consistently been the opposite.
Alternatively, you might have an MTU issue. Either way, TCP may paradoxically speed things up.
-
@Decepticon I am already running on TCP!
This is the nic I use for wan and lan!
https://a.co/d/gvQPQjX
-
@Decepticon I also tried UDP Protocol and exact the same speed as TCP!
-
This post is deleted! -
In that case, I don't know. My personal view is that pfSense makes OpenVPN much more complicated than it needs to be. Ideally, I'd just paste my OpenVPN configuration file into a field and it would work. Instead, pfSense breaks all the options into separate entries on a webpage. It may be that in one of those many options, you've changed something. Or it may be that your new hardware is just less capable than your old one when it comes to OpenVPN.
My best recommendation is to use Wireguard, which is way faster than OpenVPN. The implementation in pfSense is much easier to map to a configuration file.
-
@Decepticon Ok I’ll check it out thanks!
I also did a run from my computer and from 550up I went down to 50up that’s pretty interesting so it’s not the mobile network 5g connection that is the problem!
-
@Decepticon I found the issue I watched a second tutorial and saw that he didn’t use TCP and IPV6 on all interfaces (multidimensional) instead he used only TCP on IPv4 only! And that speeds up to the speed it should be!
-
I'm glad that my suggestions pointed you in the right direction!
-
@Decepticon yup thanks!