CheckPoint dbedit

# dbedit

# http://www.cpwiki.net/index.php/Creating_objects_with_dbedit

# https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=skI3301

http://msdk.fusiondementes.net/

# creating a new host

create host_plain H.FW.angmar2

modify network_objects H.FW.angmar2 ipaddr 10.0.8.8

update network_objects H.FW.angmar2

modify network_objects H.FW.angmar2 comments “Created by fwadmin with dbedit”

<http://dl3.checkpoint.com/paid/fd/fdd98fb831a41d62debbdf80cec0f341/CP_R77_CLI_ReferenceGuide.pdf?HashKey=1405256814_16d7518520e77124c7528f55f5372ac0&xtn=.pdf#page=12&zoom=auto,0,841>

# creating a new network

create network N.Trust.10.0.8.0–21

modify network_objects N.Trust.10.0.8.0–21 ipaddr 10.0.8.0

modify network_objects N.Trust.10.0.8.0–21 netmask 255.255.248.0

update network_objects N.Trust.10.0.8.0–21

# creating and adding objects to a group

create network_object_group group_name

addelement network_objects group_name   network_objects:object_name

update network_objects group_name

# deleting an object

dbedit> delete network_objects <object_name>

Installing Policy with a Multi

Domain Server

To install the policy for a Domain Management Server, run the necessary Multi

Domain Server CLI

commands. You can run them individually or as part of a script

.

This sample script installs the

Standard

policy from Domain Management Server

Cust_CMA

on the

Security Gateway

examplegw

.

[Expert@mds]# mdsenv Cust_CMA

[Expert@mds]# dbedit –globallock -s Cust_CMA -u admin -p adminpw -f dbedit_createpolicy_objects.txt

[Expert@mds]# fwm load Standard examplegw