Firewall Kernel Parameters
To change the internal default behavior of Firewall or to configure special advanced settings for Firewall, you can use Firewall kernel parameters.
The names of applicable Firewall kernel parameters and their values appear in various SK articles in Check Point Support Center, and provided by Check Point Support.
|
Important:
|
Type |
Name |
---|---|
Integer |
|
String |
|
Working with Integer Kernel Parameters
Step |
Instructions |
|||
---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway Dedicated Check Point server that runs Check Point software to inspect traffic and enforce Security Policies for connected network resources. / each Cluster Member Security Gateway that is part of a cluster.. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||
2 |
Log in to the Expert mode. |
|||
3 |
Make sure you can get the list of the available integer kernel parameters and their values without errors:
|
|||
4 |
If in the previous step there were no errors, get the list of the available integer kernel parameters and their values, and save the list to a file:
|
|||
5 |
Analyze the output file:
|
Step |
Instructions |
||||
---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||
2 |
Log in to Gaia Clish The name of the default command line shell in Check Point Gaia operating system. This is a restricted shell (role-based administration controls the number of commands available in the shell). or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish The name of the global command line shell in Check Point Gaia operating system for Security Appliances connected to Check Point Quantum Maestro Orchestrators and for Security Gateway Modules on Scalable Chassis. Commands you run in this shell apply to all Security Gateway Module / Security Appliances in the Security Group. or the Expert mode. |
||||
3 |
Get the current value of an integer kernel parameter:
Example:
|
|
Important - This change does not survive reboot. |
Step |
Instructions |
||||
---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||
2 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
||||
3 |
Configure the new value for an integer kernel parameter:
Example:
|
||||
4 |
Make sure the new value is configured.
Example:
|
To make a kernel parameter configuration permanent (to survive reboot), you must edit one of the applicable configuration files:
-
For Firewall kernel parameters:
$FWDIR/boot/modules/fwkern.conf
-
For VPN kernel parameters:
$FWDIR/boot/modules/vpnkern.conf
The exact parameters appear in various SK articles in Check Point Support Center, and provided by Check Point Support.
Step |
Instructions |
|||||
---|---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||||
2 |
Log in to the Expert mode. |
|||||
3 |
Back up the current configuration file, if it exists:
|
|||||
4 |
Configure the required Firewall kernel parameter with the assigned value in the exact format specified below.
Example:
|
|||||
5 |
Examine the configuration file.
|
|||||
6 |
Reboot.
|
|||||
7 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||||
8 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
|||||
9 |
Make sure the new value of the kernel parameter is configured.
|
For more information, see sk26202: Changing the kernel global parameters for Check Point Security Gateway.
Step |
Instructions |
||||
---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||
2 |
Log in to the Expert mode. |
||||
3 |
See if the configuration file already exists.
|
||||
4 |
If this file already exists, skip to Step 5. If this file does not exist, then create it manually and then skip to Step 6.
|
||||
5 |
Back up the current configuration file.
|
||||
6 |
Edit the current configuration file. The same syntax applies to the Security Gateway / each Cluster Member and the Scalable Platform Security Group:
|
||||
7 |
Add the required Firewall kernel parameter with the assigned value in the exact format specified below.
|
||||
8 |
Save the changes in the file and exit the editor. |
||||
9 |
On the Scalable Platform Security Group, copy the updated configuration file to all other Security Group Members:
|
||||
10 |
Reboot.
|
||||
11 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||
12 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
||||
13 |
Make sure the new value of the kernel parameter is configured.
|
Working with String Kernel Parameters
Step |
Instructions |
|||
---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||
2 |
Log in to the Expert mode. |
|||
3 |
Make sure you can get the list of the available integer kernel parameters and their values without errors:
|
|||
4 |
If in the previous step there were no errors, get the list of the available string kernel parameters and their values, and save the list to a file:
|
|||
5 |
Analyze the output file:
|
Step |
Instructions |
||||
---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||
2 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
||||
3 |
Get the current value of a string kernel parameter:
Example:
|
|
Important - This change does not survive reboot. |
Step |
Instructions |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||||||||
2 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
|||||||||
3 |
Configure the new value for a string kernel parameter.
Example:
|
|||||||||
4 |
Make sure the new value is configured.
Example:
|
To make a kernel parameter configuration permanent (to survive reboot), you must edit one of the applicable configuration files:
-
For Firewall kernel parameters:
$FWDIR/boot/modules/fwkern.conf
-
For VPN kernel parameters:
$FWDIR/boot/modules/vpnkern.conf
The exact parameters appear in various SK articles in Check Point Support Center, and provided by Check Point Support.
Step |
Instructions |
|||||||
---|---|---|---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||||||
2 |
Log in to the Expert mode. |
|||||||
3 |
Back up the current configuration file, if it exists:
|
|||||||
4 |
Configure the required Firewall kernel parameter with the assigned value in the exact format specified below.
Example:
|
|||||||
5 |
Examine the configuration file.
|
|||||||
6 |
Reboot.
|
|||||||
7 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||||||
8 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
|||||||
9 |
Make sure the new value of the kernel parameter is configured.
|
For more information, see sk26202: Changing the kernel global parameters for Check Point Security Gateway.
Step |
Instructions |
||||||
---|---|---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||||
2 |
Log in to the Expert mode. |
||||||
3 |
|
||||||
4 |
If this file already exists, skip to Step 5. If this file does not exist, then create it manually and then skip to Step 6.
|
||||||
5 |
Back up the current configuration file.
|
||||||
6 |
Edit the current configuration file. The same syntax applies to the Security Gateway / each Cluster Member and the Scalable Platform Security Group:
|
||||||
7 |
Add the required kernel parameter with the assigned value in the exact format specified below.
or
|
||||||
8 |
Save the changes in the file and exit the editor. |
||||||
9 |
On the Scalable Platform Security Group, copy the updated configuration file to all other Security Group Members:
|
||||||
10 |
Reboot.
|
||||||
11 |
Connect to the command line on your Security Gateway / each Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
||||||
12 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
||||||
13 |
Make sure the new value of the kernel parameter is configured.
|
|
Important - This change does not survive reboot. |
Step |
Instructions |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
1 |
Connect to the command line on your Security Gateway or Cluster Member. Note - On Scalable Platforms (Maestro and Chassis), you must connect to the applicable Security Group. |
|||||||||
2 |
Log in to Gaia Clish or the Expert mode. Note - On Scalable Platforms (Maestro and Chassis), you must use Gaia gClish or the Expert mode. |
|||||||||
3 |
Clear the current value from a string kernel parameter:
Example:
|
|||||||||
4 |
Make sure the value is cleared (the new value is empty):
Example:
|