With the new version of Checkpoint Smartcenter R80, the way to obtain the rules has changed.
To export the configuration from a Checkpoint R80 we are gonna need to download a tool from the Checkpoint's Github. We want to be sure we download latest version of the tool since the one it comes installed in your SmartCenter usually is old and may contain bugs.
So first open your preferred web browser and go to:
Check the latest, at the moment of updating this post latest version was 2.0.6, so in order to download it we have to click on the file named: web_api_show_package-jar-with-dependencies.jar
After download the file you have to UPLOAD it to your SmartCenter Server where Checkpoint R80 management is running.
Use your SCP preferred tool to do it.
Before you run the command verify the Checkpoint API is running otherwise this tool will fail to execute. Please read this if you don' t know how to enable/verify if your API is UP and Running
Now you can RUN the tool from CLI as EXPERT
java -jar web_api_show_package-jar-with-dependencies.jar -v
The output from that command will let you know what Packages are available to export
Last command we have to run is the following where PACKAGE_NAME is the name you have chosen from the previous command and in case you are in a MULTI-DOMAIN environment specify the DOMAIN_NAME too (-d is OPTIONAL):
java -jar web_api_show_package-jar-with-dependencies.jar -k <PACKAGE NAME> -d <DOMAIN NAME>
This will create a new tgz file which you will use as is to import into Expedition Importation page.
Exporting Routing and interfaces
From the Firewall CLI, you can run the following:
netstat -nr > routes.txt
With all this information, we can go to Expedition, Create a new Project, enter the Project, and go to IMPORT > CHECKPOINT > VERSION R80.