openvpn_gui.exe connect without any prompt
Posted: Wed Dec 13, 2017 1:28 pm
Hello,
I am currently running OpenVPN 2.4.4 on PfSense, acting as a "remote access" server. I am utilizing my setup with both LDAP credentials and user certs. I downloaded the OpenVPN gui from PfSense, which incorporates my client config, along with certificates. My goal is to be able to pass a command that will connect my VPN, without any prompts. I have ticked the "Save Password", which apparently stores and encrypts it in the registry. I have used this command:
And even though my password is saved, it still prompts the username/password dialogue box. Is there any parameter or setting where the entire process can be silent, since it already knows about the password? I know there is the "auth-user-pass" feature, but that requires a plaintext file. If that is absolutely my only option, I will go with that. Maybe if no other option with the regular OpenVPN gui client, maybe there is another client out there capable of this.
I appreciate any insight to this!
Ken
I am currently running OpenVPN 2.4.4 on PfSense, acting as a "remote access" server. I am utilizing my setup with both LDAP credentials and user certs. I downloaded the OpenVPN gui from PfSense, which incorporates my client config, along with certificates. My goal is to be able to pass a command that will connect my VPN, without any prompts. I have ticked the "Save Password", which apparently stores and encrypts it in the registry. I have used this command:
Code: Select all
openvpn_gui.exe --connect myconfig.ovpn
I appreciate any insight to this!
Ken