How to configure a custom install package for your secure vpn clients.
There are many options here but I want to do a simple one and then elaborate on it further in another post.
- Download the latest client build from Checkpoint
- Obtain the MSI packaging tool provided by Checkpoint. If you have the smart dashboard installed you can find this program in c:\program files\Checkpoint\Smartconsole\R65\program\util
- With cpmsi_tool.exe we will extract the MSI downloaded in step 1
- Create a directory x:\secureclient
- place the latest secureclient and the cpmsi_tool.exe in this directory
- Rename the downloaded msi package to Base.msi
- Open a command line prompt and change to the new directory secureclient
- Type: cpmsi_tool.exe Base.msi out all (this will extract the files from the msi file.
Once these files are extracted you can edit them in notepad. The product.ini file has many options that you can research to make changes.
examples: show welcome screen, force options etc. etc.
After you have made any options changes to these files you need to re-package the files back into the msi file.
At command prompt again Type: cpmsi_tool Base.msi in all
Now install the Base package on a laptop.
Configure the settings to connect to your firewall. Connect to the firewall and make sure the connections works. This updates the topology etc.
Disconnect the vpn client and then go to control panel services and stop the checkpoint services. Now go and get this file: c:\program files\checkpoint\secuRemote\database\userc.C
Now we have the basic configuration file. So lets re-assemble the msi file with the updated userc file.
Note here: you can edit this userc.C file to make many changes. For this example we are just going to leave it alone.
copy the userc.C file back to the directory on the computer that we were working on originally (not the test laptop)
Lets make sure we have all this separate:
Make a new directory called finished and copy the base.msi file to this directory. Rename it to (whateveryouwant.msi). Extract it by Typing: cpmsi_tool.exe whateveryouwant.msi out all. Then copy the userc.C file that you copied from your laptop to this directory and allow it to overwrite the file. This contains all the changes you made.
Repackage the file by Typing: cpmsi_tool.exe whateveryouwant.msi in all
Now you have a pre-configured package to work test.
There are many variables to change in there but this is a quick and dirty way to create this. Please check Checkpoint’s secure knowledge for more definitive ways to customize this file.