Jump to content
Not connected, Your IP: 18.224.38.170
bidasci

What are some recommended OpenVPN directives to use?

Recommended Posts

I am wondering from the community what kind of custom OpenVPN dirrectives you use? I am not looking for anything specific but hopefully this will help my speed because no matter what VPN server I connect to (canada, usa, etc) my speed drops by half. Thank you!

Share this post


Link to post

Optimizational relevance in my configs bear these three:

fast-io
rcvbuf 524288
sndbuf 524288

Note that --fast-io has no effect on Windows.
The receive and send buffers are 512K and may improve performance that way. The Windows standard on Win8, for example, is 64K receive and 8K send, if I remember correctly, so adjusting these may really help.

Apart from that, I remove the 128/192 bit AES ciphers. What you could try is using CHACHA20-POLY1305 here, but I think it won't help your throughput at all on a PC. It could help on Android or routers, though.

data-ciphers AES-256-GCM

.

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

In addition to what OpenSourcerer said, I also use:

tls-version-min 1.3

It won't change speeds, but adds security. 

I would also change between the standard UDP configuration to potentially TCP or SSL/SSH > TCP tunnels depending on how friendly your ISP is to VPN traffic. I personally get better throughput on WireGuard on every device I use, so it's worth a shot.

Share this post


Link to post

pull-filter ignore "ifconfig-ipv6 ";
pull-filter ignore "route-ipv6 ";
remote-cert-tls server;
sndbuf 524288;
rcvbuf 524288;
allow-compression asym;
remote us3.vpn.airdns.org 443;

is what I use for my tunnels..

I have a 500Mb symmetrical fiber line.   with Airvpn I never get over 110Mb FYI 

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.

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

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...