dbedit firewall object creation

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services

The following dbedit commands will create a Check Point firewall with a managment IP of 10.30.11.1 and 2 interfaces under the topology.

create gateway_ckp ckptestgw
modify network_objects ckptestgw ipaddr 10.30.11.1
modify network_objects ckptestgw interfaces:1:ifindex 0
addelement network_objects ckptestgw interfaces interface
modify network_objects ckptestgw interfaces:0:ipaddr 2.2.2.2
modify network_objects ckptestgw interfaces:0:officialname eth0
addelement network_objects ckptestgw interfaces interface
modify network_objects ckptestgw interfaces:1:ifindex 1
modify network_objects ckptestgw interfaces:1:ipaddr 3.3.3.3
modify network_objects ckptestgw interfaces:1:netmask 255.255.255.0
modify network_objects ckptestgw interfaces:1:officialname eth1