-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not parse --management option #661
Comments
The file name error (missing ) in the message needs to be fixed but looks like its only a logging error. Your config edits look good, I'm not sure why the GUI cannot parse the line. Independent of the GUI error, it seems the service is not starting this connection. Do you see anything in |
|
There is no such file. Probably should be "C:\Program Files\OpenVPN\log\IPFire_preboot.log"
Seems to me like this could fail because I have the config file in a sub-dir of of "config-auto". The p12 file exists in the same directory as the config file. Will test this tomorrow and report back.
|
Right, I overlooked that -- it would explain the parse error from the GUI as it tries to read the password from that file. |
Sub-directories are okay as it will look in the same directory as the config file. Unless you have --cd option in the ovpn. But the management parse error from the GUI is very likely due to the use of "stdin" as @cron2 pointed out. |
|
True, but will only work if interactive session (started from command line). Not when started by "OpenVPNService" as there is no stdin to prompt the password from. Also see instructions for prestarted connections and PLAP: https://github.com/OpenVPN/openvpn-gui#persistent-or-pre-started-connections |
Solved: Stupid Windows VirtualStore would automatically kick in. Editing files in "C:\Program Files\OpenVPN\config-auto" with UltraEdit would not complain on saving, but Windows would automatically save the file in "C:\Users\me\AppData\Local\VirtualStore\Program Files\OpenVPN\config-auto"... |
And yes, when editing the correct file, "stdin" doesn't work (as you expected). However, the correct config file would at that time be missing the port, iirc. The error message should be improved to clarify what's wrong (e.g. "no port recognized", "stdin not supported when using PLAP", "management password file not found") |
@selvanair shall we reopen this for improvement on the error messages? If even you didn't see the |
I could also create a new issue to keep things separated. |
Yes! |
I am trying to get PLAP to work using OpenVPN 2.6.7 on Windows 10.
It is enabled in the GUI settings, the services are running, I have rebooted, the connection is in the config-auto directory and it is shown in the GUI under "Persistent Profiles". However, I don't see any PLAP on the login screen, and I get this error when trying to start it via the GUI:
btw: The correct file should be "...\config-auto\IPFire_preboot\IPFire_preboot.ovpn". Seems like some variable is misplaced.
Config file has been copied from the one that I use interactively to connect to the company. Renamed so it is not a duplicate and appended this:
Connecting via telnet is not possible (Connection refused).
The text was updated successfully, but these errors were encountered: