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

Does AirVPN support compression?

Recommended Posts

Compression is supported, but not recommended for all devices.

Note that most data that passes inside the tunnel is not compressible in any case, so the theoretical

gain you can benefit from using compression is very limited by what you are going to test.

Unless you are doing iperf tests with compressible data, such as /dev/zero, this is not going to benefit

you much, as most of the real-life traffic is not compressible from the beginning, such as encrypted

underlying protocols (when you use HTTPS websites) and so on.

This is based on the axiom that encrypted data is random. And random data can't be compressed.


A safer default would be turning it off, or at the best as 'adaptive'.

From the OpenVPN wiki:

With adaptive compression, OpenVPN will periodically sample the compression process to measure its efficiency. If the data being sent over the tunnel is

already compressed, the compression efficiency will be very low, triggering openvpn to disable compression for a period of time until the next re-sample test.


This was a more practical feature in the earlier days of the internet, when most traffic was counted and billed and data was mostly plain-text.



More about it here:

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

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...