-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Importing the generated .ovpn file into OpenVPN Connect mobile app fails #187
Comments
Unfortunately I am not a user of the |
Currently I'm using an older version of the module (prior to the ovpn refactoring). I'll try to update and report back. |
So yeah, this is the issue: https://github.com/luxflux/puppet-openvpn/blob/master/manifests/client.pp#L336-L340 It includes the original config in the ovpn file which contains references to the external files. |
Prior to this, .ovpn would include the .conf file, which means the external references to files were also included. Now the main template has been split into 2 files: client.erb (included in both .conf and .ovpn) and client_external_auth.erb (included only in .conf) This should fix issue voxpupuli#187
@duckpuppy did you have a chance to test the PR I submitted? |
I haven't seen that a PR was submitted for this ticket. I should have some On Thu, Mar 10, 2016 at 3:46 PM Elisiano Petrini [email protected]
|
@duckpuppy did it work out? |
Prior to this, .ovpn would include the .conf file, which means the external references to files were also included. Now the main template has been split into 2 files: client.erb (included in both .conf and .ovpn) and client_external_auth.erb (included only in .conf) This should fix issue #187
I assume this is fixed by #190. |
The generated client .ovpn files have the following options set:
Because the directives are present in the file, the mobile client will not import the .ovpn file due to the files not being present. Simply removing those three lines from the generated .ovpn file allows it to import successfully since those keys are also contained inline in the .ovpn file itself. If having those directives is necessary for some other reason, perhaps an option could be introduced to control the generation of those directives.
The text was updated successfully, but these errors were encountered: