Page 1 of 1

[Solved] Open VPN connection issues ncp-ciphers

Posted: Mon Jun 26, 2017 1:29 pm
by jhamrockbwoy
Hello,

I'm new to Open VPN so I apologize in advance for my lack of knowledge.

I setup my VPN Server on my Asus router, here is the config file:

client
client
dev tun
proto udp
remote ***.asuscomm.com 1194
float
ncp-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC:AES-256-CBC
cipher AES-128-CBC
comp-lzo adaptive
keepalive 15 60
auth-user-pass
remote-cert-tls server
<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----

-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind

This is the error I've been getting from Tunnelblick

*Tunnelblick: OS X 10.12.5; Tunnelblick 3.7.1b (build 4813); prior version 3.7.1a (build 4812)
2017-06-26 09:25:23 *Tunnelblick: Attempting connection with client1 using shadow copy; Set nameserver = 769; monitoring connection
2017-06-26 09:25:23 *Tunnelblick: openvpnstart start client1.tblk 1337 769 0 1 0 1065264 -ptADGNWradsgnw 2.3.17-openssl-1.0.2k
2017-06-26 09:25:24 *Tunnelblick:

Could not start OpenVPN (openvpnstart returned with status #251)

Contents of the openvpnstart log:
*Tunnelblick: openvpnstart log:
OpenVPN returned with status 1, errno = 0:
Undefined error: 0

Command used to start OpenVPN (one argument per displayed line):

/Applications/Tunnelblick.app/Contents/Resources/openvpn/openvpn-2.3.17-openssl-1.0.2k/openvpn
--daemon
--log
/Library/Application Support/Tunnelblick/Logs/-SUsers-SDane-SLibrary-SApplication Support-STunnelblick-SConfigurations-Sclient1.tblk-SContents-SResources-Sconfig.ovpn.769_0_1_0_1065264.1337.openvpn.log
--cd
/Library/Application Support/Tunnelblick/Users/Dane/client1.tblk/Contents/Resources
--verb
3
--config
/Library/Application Support/Tunnelblick/Users/Dane/client1.tblk/Contents/Resources/config.ovpn
--verb
3
--cd
/Library/Application Support/Tunnelblick/Users/Dane/client1.tblk/Contents/Resources
--management
127.0.0.1
1337
--management-query-passwords
--management-hold
--script-security
2
--up
/Applications/Tunnelblick.app/Contents/Resources/client.up.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw
--down
/Applications/Tunnelblick.app/Contents/Resources/client.down.tunnelblick.sh -9 -d -f -m -w -ptADGNWradsgnw

Contents of the OpenVPN log:

Options error: Unrecognized option or missing parameter(s) in /Library/Application Support/Tunnelblick/Users/Dane/client1.tblk/Contents/Resources/config.ovpn:6: ncp-ciphers (2.3.17)
Use --help for more information.

More details may be in the Console Log's "All Messages"

Re: Open VPN connection issues

Posted: Mon Jun 26, 2017 2:16 pm
by TinCanTech
jhamrockbwoy wrote:Options error: Unrecognized option or missing parameter(s) in /Library/Application Support/Tunnelblick/Users/Dane/client1.tblk/Contents/Resources/config.ovpn:6: ncp-ciphers (2.3.17)
Openvpn 2.3.x does not support --ncp-ciphers

Re: Open VPN connection issues

Posted: Mon Jun 26, 2017 2:17 pm
by jhamrockbwoy
Yea I figured out the issue now. Thanks

I changed the version to 2.4.3 and now it works.