I am trying to parse....but I don't see a leadiing -- Error
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Mar 10, 2016 12:37 am
I am trying to parse....but I don't see a leadiing -- Error
I have been running OpenVPN via PFSense router successfully for a few months, but only with iOS and OSX clients. When I attempted to use the certificate via OpenVPN GUI, I receive the error message. I'm trying to parse "Location of .ovpn file" as an option parameter, but I don't see a leading --
I get the same error message on all 3 windows machines I have tried it on. I can use the OSX and iOS clients just fine.
Anybody have any idea where to start? This is my first time using the Windows OpenVPN client....
I get the same error message on all 3 windows machines I have tried it on. I can use the OSX and iOS clients just fine.
Anybody have any idea where to start? This is my first time using the Windows OpenVPN client....
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: I am trying to parse....but I don't see a leadiing -- Er
I hope you downloaded the correct version ..oguruma wrote:This is my first time using the Windows OpenVPN client
https://openvpn.net/index.php/download/ ... loads.html
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Mar 10, 2016 12:37 am
Re: I am trying to parse....but I don't see a leadiing -- Er
I did, in fact, install the correct version.... The issue persists across two different Windows versions (7 and 10). Both are 64 bit.
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: I am trying to parse....but I don't see a leadiing -- Er
This suggests that the GUI has not been installed correctly ..oguruma wrote:via OpenVPN GUI, I receive the error message. I'm trying to parse "Location of .ovpn file" as an option parameter, but I don't see a leading --
You could post your config, log and/or screenshot ..
-
- OpenVpn Newbie
- Posts: 3
- Joined: Thu Mar 10, 2016 12:37 am
Re: I am trying to parse....but I don't see a leadiing -- Er
How is it that one would incorrectly install this? I tried both with the "export tool" provided by PFSense, as well as the download page, and I got the same results on both attempts. I tried on a third PC and I got the same issue.
persist-tun
persist-key
cipher AES-256-CBC
auth SHA1
tls-client
client
remote MY IP udp
lport 0
verify-x509-name "DDN" name
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
snip
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
snip
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
snip
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
snip
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 1
persist-tun
persist-key
cipher AES-256-CBC
auth SHA1
tls-client
client
remote MY IP udp
lport 0
verify-x509-name "DDN" name
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
snip
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
snip
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
snip
-----END PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
snip
-----END OpenVPN Static key V1-----
</tls-auth>
key-direction 1
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: I am trying to parse....but I don't see a leadiing -- Er
How long is a piece of string ?oguruma wrote:How is it that one would incorrectly install this?
Try starting the VPN from the command line like so (Login as administrator):
Code: Select all
C:\Program Files\Opevpn\Config>openvpn --config filename.ovpn
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri May 13, 2016 5:59 pm
Re: I am trying to parse....but I don't see a leadiing -- Error
I'm having the same issue.
I'm running Windows 7 SP1. 64-bit. Downloaded and Installed the Windows Vista and later 64-bit version.
My company provided me with an .ovpn file that works on my Mac computer, but when I run OpenVPN (as administrator) on my PC and try to open the .ovpn file, it kicks back with the "I'm trying to parse "file path" as an --option parameter but I don't see a leading "--"
I'm running Windows 7 SP1. 64-bit. Downloaded and Installed the Windows Vista and later 64-bit version.
My company provided me with an .ovpn file that works on my Mac computer, but when I run OpenVPN (as administrator) on my PC and try to open the .ovpn file, it kicks back with the "I'm trying to parse "file path" as an --option parameter but I don't see a leading "--"
- Traffic
- OpenVPN Protagonist
- Posts: 4066
- Joined: Sat Aug 09, 2014 11:24 am
Re: I am trying to parse....but I don't see a leadiing -- Error
vince wrote:it kicks back with the "I'm trying to parse "file path" as an --option parameter but I don't see a leading "--"
- As above
Code: Select all
C:\Program Files\Opevpn\Config>openvpn --config filename.ovpn