adamwms Hello, OS: Windows 7 Pro Previously I had 2.3.8 client but uninstalled it + reboot and installed 2.4.7 + reboot. My error: I'm trying to parse "C:\path\config.ovpn" as an --option parameter but I don't see a leading '--' My config.ovpn file: -------------------------------------------------------------------------- client dev tun nobind remote wan1.example.com 1194 udp remote wan2.example.com 1194 udp fragment 1400 mssfix push-peer-info comp-lzo no verb 4 ;;user nobody ;;group nogroup ;;persist-key ;;persist-tun ;;mlock auth-user-pass auth-retry interact remote-cert-tls server cipher AES-128-CBC reneg-sec 0 key-direction 1 <tls-auth> # # 2048 bit OpenVPN static key # -----BEGIN OpenVPN Static key V1----- ... -----END OpenVPN Static key V1----- </tls-auth> <ca> -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- </ca> <cert> -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE----- </cert> <key> -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY----- </key> -------------------------------------------------------------------------- I can connect fine with the same config using 2.4.7 openvpn.exe directly. I.e. browse to C:\Program Files\OpenVPN\config\config.ovpn open with C:\Program Files\OpenVPN\bin\openvpn.exe provide username/password in cmd and keep it open for the duration of the session. The same 2.4.7 client GUI connects fine with various 2.4.7 configurations (pfSense client exports). Why am I seeing this error and how to fix the issue? Thanks, Adam
TinCanTech The error is: I'm trying to parse "C:\path\config.ovpn" as an --option parameter but I don't see a leading '--' Which means that the command line syntax you are trying to use is incorrect. With Openvpn-2.4 it is recommended to use the GUI.
adamwms TinCanTech: if you read my post again you will see that it's exactly the other way round - command line works and GUI doesn't.
TinCanTech adamwms wrote if you read my post again you will see that it's exactly the other way round It is absolutely not clear from your post what you are doing. adamwms wrote command line works and GUI doesn't The GUI will use config files from your \Users\$username\openvpn\config folder. But because you chose to obscure the "path" you are using I cannot tell .... Please see: https://forums.openvpn.net/viewtopic.php?f=30&t=22603#p68963 and post your appropriate log file.