- Products
- Learn
- Local User Groups
- Partners
- More
Quantum Spark Management Unleashed!
Check Point Named Leader
2025 Gartner® Magic Quadrant™ for Hybrid Mesh Firewall
HTTPS Inspection
Help us to understand your needs better
CheckMates Go:
SharePoint CVEs and More!
Dear All,
I have MDM, under that have many CMA. As we consolidating firewalls, we would like to move the complete access control (policy/NAT) from one CMA to another CMA. what is the procedure to move the complete set. Assume each firewall consist of 800+ firewall rule base manual work is absolutely impossible. Kindly let me know is there amicable solution there.
Regards,
Ram
This does not have to be run on the gateway or management itself, it can be run on any system that runs Python that can access the management API port.
It reads the necessary data through the API and should not impact the production environment at all.
In any case, this is the closest thing we offer to an official tool that can be used to move a policy (and it's objects) from one CMA to another.
Clone the repository with this command:
git clone https://github.com/CheckPoint-APIs-Team/ExportImportPolicyPackage
or by clicking the Download ZIP button.
The installation of third party software is not supported on Check Point appliances.
You CAN run the ExportImportPolicyPacakage tool directly on your Security Management.
However, it requires installation from the ZIP file.
You also need to install this: https://github.com/CheckPointSW/cp_mgmt_api_python_sdk
Please follow the instructions for running on a Management system directly.
Please see if this helps - the Check Point ExportImportPolicyPackage tool:
https://github.com/CheckPointSW/ExportImportPolicyPackage
Thanks for the quick response, but my customer env not allowing as such tool to be installed as there is strict policy/process. Any other way I can move the policy from one cma to another as there is no global objects been used
This does not have to be run on the gateway or management itself, it can be run on any system that runs Python that can access the management API port.
It reads the necessary data through the API and should not impact the production environment at all.
In any case, this is the closest thing we offer to an official tool that can be used to move a policy (and it's objects) from one CMA to another.
thanks much helpful. I will try to do tool. though we have some mixture of R77.x too
One last question, as we are consolidation the firewalls and club the policy from one CMA to another, so Is there lic / other restriction number of VLANs in a firewall / No of rule base in a firewall.
Not from a licensing perspective.
There are limits on number of interfaces (VLANs included): https://support.checkpoint.com/results/sk/sk31631
I just wanted to run it through MDS in my production, when I tried with my personal lab (Security gateway) running a command https://github.com/CheckPointSW/ExportImportPolicyPackage throwing error git command not found. There should be git package to be installed, could help me how to get this done.
git is not installed on Check Point devices, nor do we support the installation of git on Gaia OS.
Then I could install packagetool as its require API library aid to import and export .py scripts.
The installation of third party software is not supported on Check Point appliances.
You CAN run the ExportImportPolicyPacakage tool directly on your Security Management.
However, it requires installation from the ZIP file.
You also need to install this: https://github.com/CheckPointSW/cp_mgmt_api_python_sdk
Please follow the instructions for running on a Management system directly.
@PhoneBoy @G_W_Albrecht Am I not installed libraries..? Or its version issue? , I thoroughly followed the given steps.
[Expert@NA-CP-MGMT:0]# /opt/CPsuite-R80/fw1/Python/bin/python export_access_rulebase.py
Traceback (most recent call last):
File "export_access_rulebase.py", line 3, in <module>
from exporting.export_objects import get_objects, \
ImportError: No module named exporting.export_objects
[Expert@NA-CP-MGMT:0]#
Closing this trail...
When I tried with my lab [EVE-NG R81.10] it appears that given script is executing, but it appears to run the script it requires Python3; I assume, in my lab there is no policy i configured and I could not test it, also under access rule base export getting null value, but seems its complied. thanks @PhoneBoy
[Expert@checkpoint-mgmt:0]# /opt/CPsuite-R81.10/fw1/Python/bin/python3 import_export_package.py
Welcome to the Policy Package Import/Export Tool.
What would you like to do?
1. Import a package
2. Export a package
99. Exit
99
[Expert@checkpoint-mgmt:0]# /opt/CPsuite-R81.10/fw1/Python/bin/python2 import_export_package.py
Traceback (most recent call last):
File "import_export_package.py", line 27, in <module>
raise Exception("Min Python version required is 3.7")
Exception: Min Python version required is 3.7
[Expert@checkpoint-mgmt:0]#
[Expert@checkpoint-mgmt:0]# /opt/CPsuite-R81.10/fw1/Python/bin/python3.7 export_access_rulebase.py
[Expert@checkpoint-mgmt:0]#
Clone the repository with this command:
git clone https://github.com/CheckPoint-APIs-Team/ExportImportPolicyPackage
or by clicking the Download ZIP button.
Thanks @G_W_Albrecht and @PhoneBoy Dears...
I think now I got the crux..Basically I need to enable the BASH as I wanted to move SDK files to MGMT in order to check policy import/export function. As I am trying in my lab BASH is not enabled so unbale to do WinSCP.
There is another threat how to activate Bash User https://community.checkpoint.com/t5/SMB-Gateways-Spark/Activate-bashUser-via-script-on-a-Embedded-Ga... as per this threat pre-requisite to do this we have to enabled SIC and can not locally managed because I am building a lab on EVE-NG and below is my spec. while enabling Bash Getting error.
[Expert@NA-CP-MGMT:0]# $CPDIR/bin/cprid_util -server 172.16.14.60 -verbose rexec -rcmd /bin/bash -c "bashUser on"
/bin/bash: bashUser: command not found
But I assume my PRD MDM/MDS should have bash enabled. So I can do move SDK file with the help of SCP.
NA-CP-MGMT> show version all
Product version Check Point Gaia R80.10
OS build 479
OS kernel version 2.6.18-92cpx86_64
OS edition 64-bit
NA-CP-MGMT> show asset all
Platform: Standard PC (i440FX + PIIX, 1996)
CPU Model: QEMU Virtual CPU version 2.5+
CPU Frequency: 2400.225
Number of Cores: 4
CPU Hyperthreading: Disabled
NA-CP-MGMT>
Why are you building something on R80.10, which is End of Support?
In any case, "bashUser on" is only a valid command on a Quantum Spark appliance.
If you want to change the user's default shell to bash, that should be done with the relevant clish commands.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
User | Count |
---|---|
7 | |
6 | |
4 | |
4 | |
4 | |
3 | |
2 | |
2 | |
2 | |
2 |
Tue 16 Sep 2025 @ 02:00 PM (EDT)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - AmericasWed 17 Sep 2025 @ 04:00 PM (AEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - APACWed 17 Sep 2025 @ 03:00 PM (CEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - EMEAThu 18 Sep 2025 @ 03:00 PM (CEST)
Bridge the Unmanaged Device Gap with Enterprise Browser - EMEAThu 18 Sep 2025 @ 02:00 PM (EDT)
Bridge the Unmanaged Device Gap with Enterprise Browser - AmericasTue 16 Sep 2025 @ 02:00 PM (EDT)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - AmericasWed 17 Sep 2025 @ 04:00 PM (AEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - APACWed 17 Sep 2025 @ 03:00 PM (CEST)
Securing Applications with Check Point and AWS: A Unified WAF-as-a-Service Approach - EMEAThu 18 Sep 2025 @ 03:00 PM (CEST)
Bridge the Unmanaged Device Gap with Enterprise Browser - EMEAThu 18 Sep 2025 @ 02:00 PM (EDT)
Bridge the Unmanaged Device Gap with Enterprise Browser - AmericasAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY