Immediate disconnect after 1.7 upgrade (Unrecognized option)

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

bobby

Posts: 1
Joined: Thu May 25, 2017 3:42 am

Post by bobby » Thu May 25, 2017 3:48 am
After the automatic update, I can no longer connect to my vpn:
Code: Select all
2017-05-24 08:35:47: Viscosity Mac 1.7 (1393)
2017-05-24 08:35:47: Viscosity OpenVPN Engine Started
2017-05-24 08:35:47: Running on macOS 10.12.5
2017-05-24 08:35:47: ---------
2017-05-24 08:35:47: State changed to Connecting
2017-05-24 08:35:48: Checking reachability status of connection...
2017-05-24 08:35:48: Testing address: [removed] Reachable
2017-05-24 08:35:48: Connection is reachable. Starting connection attempt.
2017-05-24 08:35:48: Options error: Unrecognized option or missing or extra parameter(s) in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/connection.jojfMQ/config.conf:27: push (2.4.2)
2017-05-24 08:35:48: The OpenVPN subsystem could not be started.
2017-05-24 08:35:48: State changed to Disconnected
Here is my extra OpenVPN configuration which worked fine before this upgrade:
Code: Select all
resolv-retry infinite
push "route 10.[removed] 255.255.0.0"
push "route 10.[removed] 255.255.254.0"
push “route 172.16.0.0 255.240.0.0”
cipher AES-128-CBC
comp-lzo yes
auth SHA1
ns-cert-type server
lport 0

James

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

Post by James » Thu May 25, 2017 4:14 pm
Hi bobby,

The error indicates that there is an invalid command ("push") in your connection’s configuration:
Code: Select all
Options error: Unrecognized option or missing or extra parameter(s) in /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/connection.jojfMQ/config.conf:27: push (2.4.2)
The "push" command is a server-side only command, and shouldn't be present in a client configuration. Older versions of OpenVPN ignored the command when running as a client, however version 2.4 has stricter checking.

Removing the command should allow you to connect again. You'll need to remove it from the advanced commands area (all 3 lines where it is used) for your connection. Please see:
http://www.sparklabs.com/support/kb/art ... n-commands

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