I see many topics asking about different types of VPN client configurations (and multiple VPN clients at one time) running on the router. Do we have any idea of the capability of the CPU and it’s ability over VPN? For example, my last router Netgear R7000 with a dual core 1.2Ghz (overclocked) ARM CPU was able to reach a maximum of 40-45Mbps download speed on a 125Mbps link over VPN.
Few things, VPN connection requires encryption, so is CPU heavy (Instruction sets? FPU?). OpenVPN is currently single threaded, so can only run on one core afaik, and you lose features like CTF.
Turris team, or others, care to comment? This is of big interest to me.
You’ll probably be able to reach 100-110Mbps/s on a private link where you control both ends of the tunnel.
If using a public VPN service, I think you should expect 60-70Mbps doing a speedtest.
It’s mainly a Ghz story. I don’t think the crypto engine is going to improve those numbers by much, if at all, but it’s going to free your CPU to do other things.
Look for OpenVPN (not Openssl) speedtests using the Linksys WRT1200AC and WRT1900ACS. iperf benchmarks on the LAN are not going to give you what you seek.
Actually OpenVPN is quite slow, especially on embedded devices. This is generally because of not optimized kernel and userspace data transfers. You can speed it up by increasing MTU inside the tunnel, like
tun-mtu 9000
mssfix 0
It would use IP level fragmentation and you’ll get 2x or 3x speed up.
Just for comparison, I get 60-65 MBit/s with OpenVPN and default settings and 200-250 MBit/s with strongSwan (IPsec daemon) in kernel mode on an 4 core ARMv7.
I’ve tested the VPN performance on my Omnia (2GB) on 200/20Mbit line, the peak of the throughput is 4500KB/s in the download direction of the line (according to Total Commander, SMB protocol, no other than default services running on Omnia). I don’t think that Onmia can reach 100Mbit of OpenVPN traffic.
Sorry, I meant a bit more step by step guide for someone who never setup the vpn in the turris before (maybe wasn’t patient enough)
Just to make sure I understand those steps from the article mentioned above:
I just need to create a new config with data from ProtonVPN in there?
That’s it? You enable it there in LUCY? Where?
I am not trying to be lazy. Just don’t have enough time for testing without my wife trying to kill me for not being able to connect
Should be easy enough to use one of those “Check my IP” sites once while you think you are on the VPN from your desktop. Then disable your VPN, and check again.
I suspect you will have the same public facing IP, and you traffic is not routing through the tunnel.