For what is worth, this is what came from AI.
Andy
*************************************************************************
To script setting the concurrent connection limit on VSX (Virtual System Extension) in Check Point firewalls, you'll typically use CLI commands, particularly through fw ctl
or SmartConsole/SmartCenter CLI (mgmt_cli) depending on whether you're modifying kernel parameters or object configurations.
Here’s a practical approach, assuming you want to set connection limits per Virtual System (VS):
🔧 Option 1: Using fw ctl set int
for runtime kernel limit (not persistent)
This sets the concurrent connection limit in memory, not surviving a reboot.
To verify:
⚠️ Not persistent — use fwkern.conf
for persistence.
🔐 Option 2: Make persistent via /etc/fwkern.conf
Add the following to /etc/fwkern.conf
on the VSX gateway:
You must do this from within the VS context (vsenv <VSID>
), and reboot or run fw ctl set int
afterward to apply.
🧠 Option 3: Using mgmt_cli
or API to configure SmartConsole settings
If you want to set limits as part of a policy object (e.g., per gateway or VS), use the management API.
Example with mgmt_cli
(not directly for connection limits but to modify VSX objects):
You’ll need to check your exact object type (simple-gateway
, vsx
, etc.) and fields.
💡 Script Example
Here’s a shell script to set the limit on multiple VSs:
To make this persistent, you’d script editing /etc/fwkern.conf
for each VS.