Project

General

Profile

Actions

Feature #10858

closed

OpenVPN Client silent install

Added by Viktor Gurov over 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
OpenVPN Client Export
Target version:
-
Start date:
08/31/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:

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

Silent Install fails to save.avi (512 KB) Silent Install fails to save.avi Video demonstrates workflow Jordan Fishman, 02/15/2021 07:15 PM
Actions #2

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Pull Request Review
Actions #3

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!

Actions #4

Updated by Viktor Gurov over 3 years ago

  • Status changed from Feedback to Resolved

1.4.23_2 - works as expected

Actions #5

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!

Actions #6

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_5

As always, I really appreciate all that you folks do!

fix:
https://gitlab.netgate.com/pfSense/FreeBSD-ports/-/merge_requests/52

Actions #7

Updated by Renato Botelho about 3 years ago

  • Status changed from Resolved to Feedback

PR has been merged. Thanks!

Actions #8

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.

Actions

Also available in: Atom PDF