Jump to content
Not connected, Your IP:
Sign in to follow this  

AirVPN performance better than expected.

Recommended Posts

When deciding which pfSense router hardware to use with AirVPN I like to test CPU/System performance to know what the limits of the hardware are. I normally do this on my LAN so I can be sure to eliminate network problems.


The basic method I use is to set a simple OpenVPN tunnel between two machines using the shell command line openvpn.


I then use iperf3 to measure the throughput of the tunnel.


This works for my router, pfSense, Intel Celeron N3150. I get a test result of 127Mb/s, slighy higher if I used the rdrand engine ~134Mb/s.


All well and good. This is the router hardware I now run my pfsense connection to airvpn with.


The problem is, and it is a silly problem, is that the performance to AirVPN is much better than my theoretical LAN maximum. I get 155Mb/s, which could be limited by my ISP rather than router CPU.


I have checked all the OpenVPN parameters between the tunnel to AirVPN and the tunnel on my LAN and they look similar enough apart from AirVPN is using dyname/TLS keys.


Obviously my test is wrong, but I just can't see what is wrong with it. The only way I can get my LAN openvpn tunnel to work as fast as the WAN one to AirVPN is to raise tun-mtu to about 1900. But I'm pretty sure Airvpn use 1500.


I don't expect anyone will be able to help but there is always hoping ;o)

Share this post

Link to post

Apologies I intended to post this to  the problems page.


The fact that AirVPN is not behaving as expected is a worry to me. My primary concern is that encryption implemented correctly.


It may seem good that Airvpn is faster than expected, but it would be easy to achieve that result by not encrypting at all.


The way to build trust in AirVPN is to understand what it is doing. At the present I do not understand. 

Share this post

Link to post

There is no way to know without knowing the server specs of your OpenVPN server. If it's the same Celeron, obviously your LAN-LAN performance

would be lower than the speed you can get on WAN while connected to high performance Xeon servers used by Air.

Also, make sure you adjust the buffer sizes in your test connection to be as close to the Air config you are using.

Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.

Share this post

Link to post

I'm using a Haswell and an AMD 5350 both of which are faster than the N3150.


I cross check them against each other to prove this is the case.


What I need to be able to do is understand the AirVPN OpenVPN tunnel, is there a spec somewhere?.


I have run with the logs at verb 4 to get 200+ parameters and whilst some are different the significant ones seem to be the same.


Does anyone else have alternative methods of testing?

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

  • Create New...