Feature #10858
closedOpenVPN Client silent install
100%
Description
Allow to use openvpn client export windows installers for unattended deploy
Currently it's possible to create silent installer by changing this part of code:
https://github.com/pfsense/FreeBSD-ports/blob/6d29773895fc54d1f7f88af4fbc398303d6cd91a/security/pfSense-pkg-openvpn-client-export/files/usr/local/pkg/openvpn-client-export.inc#L639-L648:
if ($usetoken) { $procchain = ';!@Install@!UTF-8! RunProgram="openvpn-install.exe /S" RunProgram="openvpn-postinstall.exe /S /Import" ;!@InstallEnd@!' ; } else { $procchain = ';!@Install@!UTF-8! RunProgram="openvpn-install.exe /S" RunProgram="openvpn-postinstall.exe /S" ;!@InstallEnd@!' ;
The "/S" key is used for silent install
Need to add WebGUI checkbox for this feature.
Files
Updated by Viktor Gurov over 3 years ago
Updated by Jim Pingle over 3 years ago
- Status changed from New to Pull Request Review
Updated by Renato Botelho over 3 years ago
- Status changed from Pull Request Review to Feedback
- Assignee set to Renato Botelho
- % Done changed from 0 to 100
PR has been merged. Thanks!
Updated by Viktor Gurov over 3 years ago
- Status changed from Feedback to Resolved
1.4.23_2 - works as expected
Updated by Jordan Fishman about 3 years ago
Hello,
There appears to be a bug in the page, where the "Save as default" button does not save/apply the "silent install" setting.
Attempts to attach a screen recording result in a server error.
PFSense Version 2.4.5-RELEASE-p1 (amd64)
Package openvpn-client-export 1.5_5
As always, I really appreciate all that you folks do!
Updated by Viktor Gurov about 3 years ago
Jordan Fishman wrote:
Hello,
There appears to be a bug in the page, where the "Save as default" button does not save/apply the "silent install" setting.
Attempts to attach a screen recording result in a server error.PFSense Version 2.4.5-RELEASE-p1 (amd64)
Package openvpn-client-export 1.5_5As always, I really appreciate all that you folks do!
fix:
https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/52
Updated by Renato Botelho about 3 years ago
- Status changed from Resolved to Feedback
PR has been merged. Thanks!
Updated by Max Leighton almost 3 years ago
- Status changed from Feedback to Resolved
Tested OpenVPN Client Export 1.6_1 in 2.5.2.r.20210611.0300 and the silent installer option is getting saved as default like you would expect. I'll mark the ticket resolved.