Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
OpenVPN client export (Windows) broken on 16.7
« previous
next »
Print
Pages: [
1
]
Author
Topic: OpenVPN client export (Windows) broken on 16.7 (Read 9811 times)
woo
Newbie
Posts: 28
Karma: 3
OpenVPN client export (Windows) broken on 16.7
«
on:
August 03, 2016, 01:45:50 pm »
Hi OPNsense team,
I've recently installed 16.7 as what is going to be our upcoming VPN concentrator,
and so far the configuration etc all worked really fine - thanks for all that!
Just the OpenVPN client exporter seems to produce invalid archive files.
I've tried all four Windows clients (XP and 6, both 32 and 64 bit), and the resulting exes all produce a window "Extraction Failed - Unsupported Method" on execution.
The clients work fine when I manually extract them with 7zip and then run the files inside, but I can't trust our users to get this right.
How exactly is OPNsense generating these customized installers, and is there any way I can assist with debugging this issue? I'd really like to see this working.
Thanks,
~woo
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #1 on:
August 03, 2016, 09:42:46 pm »
Hi woo,
The windows installers are old, we should have removed them before 16.7, they are up for removal for one of the next releases.
More information can be found here:
https://github.com/opnsense/core/issues/994
We use viscosity at our office, which has a very easy installation and config import for osx and windows.
Regards,
Ad
Logged
woo
Newbie
Posts: 28
Karma: 3
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #2 on:
August 04, 2016, 09:30:53 am »
meh.. at least the OpenVPN client is free and OSS, while Viscosity costs 9$ per client.
Well, as long as the profile export for the OpenVPN client stays, I'm kinda OK with it. Gonna bundle it myself then.
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #3 on:
August 04, 2016, 09:35:23 am »
We're certainly not going to drop the config exports, we just don't want to bootstrap (windows) executable files.
If there will be another free alternative which can accept simple (plain text) configuration data, we might consider adding that at a later time.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #4 on:
August 04, 2016, 12:55:18 pm »
You can still use OpenVPN on windows - just download it here:
https://openvpn.net/index.php/open-source/downloads.html
It is just that the installers are not shipped anymore which means you have to configure it by yourself.
«
Last Edit: August 04, 2016, 01:00:41 pm by fabian
»
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #5 on:
August 04, 2016, 12:59:01 pm »
Here is the diff where it got removed:
https://github.com/opnsense/core/commit/35b96a9da653bbae5d3ec4e766a1c79ffb8a3989
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #6 on:
August 04, 2016, 01:07:09 pm »
There are simple problems with it: they are really heavy, nobody maintains them from the OPNsense side, and they aren't used as frequently as expected. I think a plugin could bring them back, but we should make sure to load the binary files on demand, not push and update them in the repository anymore.
Logged
silent_mastodon
Newbie
Posts: 35
Karma: 2
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #7 on:
August 06, 2016, 06:52:13 am »
Just as some user feedback, I would prefer a link to the official OpenVPN binaries in the client export section if opnsense isn't going to track and ship them itself. The plugin isn't a bad idea either, but I don't personally consider "just use Viscosity" as an alternative, as it is not Libre software.
As an aside, one of the reasons that I migrated away from the Sophos UTM (which was Astaro before that) software was the ridiculous licensing requirements for "commercial" use of OpenVPN and other features that are themselves libre software.
I will pay for human support; I will not pay for "integration" work that just amounts to slapping a gui on a tool/service, much less $xxxx/yr because you have 50+ total clients...
Maybe that just makes me a jerk, but whatever.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #8 on:
August 06, 2016, 09:25:00 am »
The link is already there:
https://github.com/opnsense/core/blob/35b96a9da653bbae5d3ec4e766a1c79ffb8a3989/src/www/vpn_openvpn_export.php#L706
Logged
silent_mastodon
Newbie
Posts: 35
Karma: 2
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #9 on:
August 07, 2016, 01:31:45 pm »
Okay...I suppose that's true. I'm comfortable enough with opnsense that I generally don't enable the help text, so it would be useful if those links were simply shown by default, especially if the installer is to be removed.
Logged
franco
Administrator
Hero Member
Posts: 17659
Karma: 1611
Re: OpenVPN client export (Windows) broken on 16.7
«
Reply #10 on:
August 07, 2016, 08:46:31 pm »
I've changed visibility here:
https://github.com/opnsense/core/commit/84b04888
FWIW, it was a mistake to embed the binaries into the core.git repo as they are huge and move along with each OpenVPN version. And I think the same problem will apply for plugins.git. Since the files are known they could be downloaded by the new plugin, checksum-verified and then used.
Problematic is that it's off the beaten track even with a full plan on how to do it: coding it cleanly and lightly and then keeping it up to date, best by someone who uses it every single week. It's not a lot but without proper incentive it becomes a side-show that will keep valuable resources away from improving the core system further, let alone testing difficulties.
If you have such a use case, sponsoring or contributing code may be worth it. Otherwise we'll end up in a "as soon as somebody steps up everybody will benefit". I don't believe that's how it works. It should be more along the lines of "I step up and everybody benefits".
And if nothing comes of this, it may be ok too.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
OpenVPN client export (Windows) broken on 16.7