-
Notifications
You must be signed in to change notification settings - Fork 33
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
Add custom dockerCmd and vpnCmd based on the configuration file #19
Comments
vpnCmd should allow as many arguments as you give on the command line. But in the case of My guess is it would be easiest to detect the argument or arguments you need to special case and then add the appropriate flags to dockerCmd and vpnCmd. Something like that is done here: Lines 42 to 50 in 940c738
I'd be happy to review and merge. |
I was more thinking about the following use case: dlenski/openconnect#60 (comment), when you simply know already the certificate fingerprint and want to setup your connection. I was wondering if that should go directly into the .profile file or somewhere else. For example:
But you are right, the config file could solve those issues, if required. Maybe an update to the docs would sufface. I'll take another look and open a PR if I see some possibility of improvement on the code or docs for that scenario. Thanks for you response. |
Currently, you cannot have extra arguments for the cmd. One example would be the
--servercert
to allow self-signed certificates for the vpn connection.I'm willing to provide the changes, if someone could review and merge it.
The text was updated successfully, but these errors were encountered: