Add other servers' bundled configurations to OpenVPN Windows Installer
CheeMG last edited by CheeMG
We have a few offices using PFSense firewall with PFSense OpenVPN installed. And our remote users have to be able to connect to all the offices' OpenVPN.
We want to be able to give our users a single OpenVPN Windows Installer created by openvpn-client-export that contains all the configuration files/certificates/keys of all the office OpenVPN.
We tried to unzip the Windows Installer from Client Export and then add the other offices' config files/certificates/keys and then we used Windows iexpress.exe to create the executable installer.
But iexpress.exe does appear to be working. It does not copy the config files/certs/keys to the config folder even though we specified "openvpn-postinstall.exe" in the Post Install Command in IExpress wizard. The exe installer created by IEpress only installs OpenVPN but doesn't copy the config files/certs/keys to the config folder.
Tried 7-zip following instructions here: http://ntsblog.homedev.com.au/index.php/2015/05/14/self-extracting-archive-runs-setup-exe-7zip-sfx-switch/
but still didn't work.
Does anybody know how to add the other Openvpn servers' config files/certs/keys into the Windows Installer created by client-export?
What tool did PFSense openvpn-client-export package use to create the Windows Installer (which has the bundled config in it)?
Thank you very much in anticipation.
I haven't tried doing it by hand in ages, but you can use 7-zip. Follow along with how the export package crafts the archive:
Make note of things like the procchain how it forms the self-extracting sfx file.
CheeMG last edited by
Thank you jimp! Works now.