Hello all,
I have an OpenVPN GUI version v11.31 (on Windows 11) from my pfsense firewall. There is a .ovpn file which connects and all works OK.
I moved the .ovpn (and all other related files) from config to the config-auto folder and when I open the GUI or connect manually I get:
---------------------------
OpenVPN GUI
---------------------------
Could not parse --management option in <C:\Program Files\OpenVPN\config-auto\pfSensetet.ovpn>.
---------------------------
OK
---------------------------
Even if I delete all entries from the config file so it's blank I get the same error. User has full permissions on this folder.
(The pfsense is quite old and doesn't work with the newest versions of openvpn client so I'm stuck with this one, and I'm trying to get it to connect on windows startup)
OpenVPN not auto-connecting "Could not parse --management"
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 7
- Joined: Fri Dec 18, 2020 12:11 pm
-
- OpenVpn Newbie
- Posts: 7
- Joined: Fri Dec 18, 2020 12:11 pm
Re: OpenVPN not auto-connecting "Could not parse --management"
As no responses - is it worth me updating to a newer GUI version and try to get it working with my pfsense? Would the newer client act on the config-auto folder contents properly?
-
- OpenVpn Newbie
- Posts: 7
- Joined: Fri Dec 18, 2020 12:11 pm
Re: OpenVPN not auto-connecting "Could not parse --management"
Further playing with this and hopefully this will help someone in future. This "auto" folder won't start from the GUI so I just put the files from config into config-auto, then disabled the GUI and enabled the OpenVPNService - start that and it connected OK. Also changed the encoding of the password.txt file to ANSI following another thread on here, but don't think that was the crucial part.
It's a shame that I have no way of seeing the VPN with the nice green/orange/black icon in the systray but it's working automatically now.
It's a shame that I have no way of seeing the VPN with the nice green/orange/black icon in the systray but it's working automatically now.
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Mar 28, 2023 6:41 am
Re: OpenVPN not auto-connecting "Could not parse --management"
Hello,
same problem.
config-auto not works with GUI
and no pre-logon on loginscreen with Windows 11.
Have anybody a fix or workaround?
Holger
same problem.
config-auto not works with GUI
and no pre-logon on loginscreen with Windows 11.
Have anybody a fix or workaround?
Holger
-
- OpenVpn Newbie
- Posts: 7
- Joined: Fri Dec 18, 2020 12:11 pm
Re: OpenVPN not auto-connecting "Could not parse --management"
My VPN is stable now I've made it the service, but annoying I couldn't get it working the documented way, and no icon so I (actually non-technical users of my PC) can't just stop/start the VPN easily.
-
- OpenVpn Newbie
- Posts: 5
- Joined: Tue Oct 05, 2021 7:22 pm
Re: OpenVPN not auto-connecting "Could not parse --management"
Had the same problem and for me the problem was my text editor not complaining on saving, but lacking admin privileges, the config file would be saved to "C:\Users\me\AppData\Local\VirtualStore\Program Files\OpenVPN\config-auto" as a second file. So while everything looked fine in the text editor, OpenVPN would still use the unaltered original file without the management option needed.
See https://github.com/OpenVPN/openvpn-gui/issues/661
See https://github.com/OpenVPN/openvpn-gui/issues/661
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon Sep 16, 2024 12:47 pm
Re: OpenVPN not auto-connecting "Could not parse --management"
I think some dumb user create this option. Why client normal config file need "management".