Options error: Unrecognized option or missing parameter(s) i

Got a problem with Viscosity or need help? Ask here!

bnguyen

Posts: 2
Joined: Tue Jun 06, 2017 4:02 am

Post by bnguyen » Tue Jun 06, 2017 4:05 am
Hi,
I am no longer able to connect after changing my Networking>Mode settings from Automatic to Split DNS. Your help is appreciated.

Thanks.


2017-06-05 14:01:07: Viscosity Mac 1.7.1 (1402)
2017-06-05 14:01:07: Viscosity OpenVPN Engine Started
2017-06-05 14:01:07: Running on macOS 10.12.5
2017-06-05 14:01:07: ---------
2017-06-05 14:01:07: State changed to Connecting
2017-06-05 14:01:07: Checking reachability status of connection...
2017-06-05 14:01:07: Testing address: x.x.x.x Reachable
2017-06-05 14:01:07: Connection is reachable. Starting connection attempt.
2017-06-05 14:01:07: Options error: Unrecognized option or missing parameter(s) in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/connection.lYiPYV/config.conf:20: compress (2.3.16)
2017-06-05 14:01:08: The OpenVPN subsystem could not be started.
2017-06-05 14:01:08: State changed to Disconnected

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu Jun 08, 2017 6:10 am
Hi bnguyen,

The "compress" option is only available using OpenVPN 2.4. Try changing the OpenVPN version to 2.4 under Preferences->Advanced and see how you get on.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

bnguyen

Posts: 2
Joined: Tue Jun 06, 2017 4:02 am

Post by bnguyen » Thu Jun 08, 2017 11:21 am
Changing to version 2.4 and attempt to connect results in immediate disconnect. With the below message. I took a stab at tls-remote but alas, i'm not very familiar with it. I did gather that in 2.4, tls-remote is deprecated. Any idea what the equivalent for that line would be for 2.4?


2017-06-07 21:17:55: Viscosity Mac 1.7.2b1 (1403)
2017-06-07 21:17:55: Viscosity OpenVPN Engine Started
2017-06-07 21:17:55: Running on macOS 10.12.5
2017-06-07 21:17:55: ---------
2017-06-07 21:17:55: State changed to Connecting
2017-06-07 21:17:55: Checking reachability status of connection...
2017-06-07 21:17:55: Testing address: **.*.***.*** Reachable
2017-06-07 21:17:55: Connection is reachable. Starting connection attempt.
2017-06-07 21:17:57: Options error: The command "tls-remote" or one of its parameters is invalid for this version of OpenVPN (2.4.2). Please edit the connection, make sure the command is valid, and try again.
2017-06-07 21:17:57: Full command: tls-remote "C=*****, L=**********, O=**********, CN=**.*.**.***, emailAddress=***********@**********.com"
2017-06-07 21:17:57: The OpenVPN subsystem could not be started.
2017-06-07 21:17:57: State changed to Disconnected

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Thu Jun 08, 2017 6:59 pm
Hi bnguyen,

The "tls-remote" command has been removed in OpenVPN 2.4 (and deprecated in 2.3). You have a couple of options depending on what version of OpenVPN you wish to use:

To use OpenVPN 2.4 do the following:

1. Make sure the version is set to OpenVPN 2.4 under Preferences->Advanced
2. Edit your connection in Viscosity, click on the Advanced tab, and remove the line that starts with "tls-remote", and then click Save.
3. Try connecting

It should be pointed out that removing the tls-remote command lowers the amount of server verification performed. If you're in control of your OpenVPN setup I recommend moving to using the "remote-cert-tls" command instead. Otherwise you should advise your VPN Provider.

To use OpenVPN 2.3 do the following:

1. Make sure the version is set to OpenVPN 2.3 under Preferences->Advanced
2. Edit your connection in Viscosity, click on the Options tab, and make sure the "Compression" option is set to "Off".
3. Click Save and try connecting.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
4 posts Page 1 of 1