Page 1 of 1

OpenVPN Version per Configuration

Posted: Wed Jul 25, 2018 10:27 am
by slakr007
Sorry if this has been asked. I didn't find anything specifically related, though.

Is there a way to set the OpenVPN version under Advanced PER configuration rather than globally? I have a work VPN that just does not seem to work unless this is set to 2.3. However, I have a home VPN running 2.4. My home VPN connection seems to work fine with the version set to 2.3, but the purist in me would rather each connection match the server.

Re: OpenVPN Version per Configuration

Posted: Fri Jul 27, 2018 2:01 pm
by James
Hi slakr007,

The version can be overridden on a connection-by-connection basis by using the “#viscosity protocol-version” advanced command, for example "#viscosity protocol-version 2.3”. For information on how to specify advanced commands please see:
https://www.sparklabs.com/support/kb/ar ... n-commands

However, OpenVPN 2.4 is fully backwards compatible with OpenVPN 2.3, so I do recommend getting your connection to work using version 2.4 instead. The most common problem to run into is compression setting differences, which the following article should help with:
https://www.sparklabs.com/support/kb/ar ... ader-byte/

Cheers,
James

Re: OpenVPN Version per Configuration

Posted: Fri Jul 27, 2018 2:35 pm
by slakr007
I ran into that compression article before. Not sure what I did the first time around, but this time I started with a clean version of the client configuration from work and carefully changed one thing at a time. I think the client configuration was borked from the start since it specified `comp-lzo no` but deleting that and setting compression to LZO in the options works with the OpenVPN version set to Automatic.

So, seems like it's all good now! Thanks, James.