Security Managment Document
Security Managment Document
Security Managment Document
SECURITY MANAGEMENT
R80.20
Administration Guide
Protected
CHAPTER 1
Certifications
For third party independent certification of Check Point products, see the Check Point
Certifications page
https://www.checkpoint.com/products-solutions/certified-check-point-solutions/.
Feedback
Check Point is engaged in a continuous effort to improve its documentation.
Please help us by sending your comments
mailto:cp_techpub_feedback@checkpoint.com?subject=Feedback on Security
Management R80.20 Administration Guide.
Revision History
Date Description
07 July 2021 Added Enabling Gateways to Access Servers at their NATed IP Addresses
(on page 55)
31 December 2020 Updated Limiting Application Traffic (on page 81)
15 April 2019 Updated Sharing Layers (on page 92)
Updated The High Availability Environment (on page 265)
27 December 2018 Added Keyboard Shortcuts for SmartConsole (on page 17)
27 November 2018 Updated High Availability Disaster Recovery (on page 270)
23 October 2018 Updated Initializing Trust (on page 47)
Added Command Line Reference (on page 286)
04 October 2018 Improved formatting and document layout for the HTML guide
26 September 2018 First release of this document
Contents
Important Information................................................................................................... 3
Terms .......................................................................................................................... 13
Welcome ..................................................................................................................... 15
Getting Started ............................................................................................................ 16
Understanding SmartConsole ................................................................................. 16
SmartConsole.................................................................................................................. 16
Keyboard Shortcuts for SmartConsole ........................................................................... 17
Search Engine ................................................................................................................. 18
Access and Threat Tools ................................................................................................. 20
Shared Policies ............................................................................................................... 20
API Command Line Interface .......................................................................................... 21
SmartConsole Toolbars .................................................................................................. 22
Connecting to the Security Management Server through SmartConsole ............... 25
Setting Up for Security Management ...................................................................... 25
Setting up for Team Work ....................................................................................... 26
Managing Security through API and CLI.................................................................. 26
Configuring the API Server ............................................................................................. 27
Management API Settings ............................................................................................... 27
Planning Security Management .............................................................................. 28
Managing Administrator Accounts .............................................................................. 29
Creating and Changing an Administrator Account .................................................. 29
Creating a Certificate for Logging in to SmartConsole ........................................... 30
Configuring Default Expiration for Administrators ................................................. 31
Setting SmartConsole Timeout ............................................................................... 31
Deleting an Administrator ....................................................................................... 32
Revoking Administrator Certificate......................................................................... 32
Assigning Permission Profiles to Administrators ................................................... 32
Changing and Creating Permission Profiles ................................................................... 32
Configuring Customized Permissions ............................................................................. 33
Configuring Permissions for Access Control Layers ...................................................... 34
Configuring Permissions for Access Control and Threat Prevention ............................. 35
Configuring Permissions for Monitoring, Logging, Events, and Reports ........................ 35
Defining Trusted Clients ......................................................................................... 36
Configuring Trusted Clients ............................................................................................ 36
Restricting Administrator Login Attempts .............................................................. 37
Unlocking Administrators ....................................................................................... 37
Session Flow for Administrators............................................................................. 37
Publishing a Session ....................................................................................................... 38
Working in SmartConsole Session View ......................................................................... 38
Administrators Working with Multiple Sessions ............................................................. 39
Configuring Authentication Methods for Administrators ........................................ 41
Configuring Check Point Password Authentication for Administrators.......................... 41
Configuring OS Password Authentication for Administrators ........................................ 42
Configuring a RADIUS Server for Administrators ........................................................... 42
Configuring a SecurID Server for Administrators ........................................................... 43
Configuring a TACACS Server for Administrators .......................................................... 43
Managing Gateways .................................................................................................... 45
Creating a New Security Gateway ........................................................................... 45
Manually Updating the Gateway Topology............................................................... 46
Dynamically Updating the Topology ........................................................................ 46
Secure Internal Communication (SIC) ..................................................................... 47
Initializing Trust .............................................................................................................. 47
SIC Status ........................................................................................................................ 48
Trust State....................................................................................................................... 48
Troubleshooting SIC ........................................................................................................ 48
Understanding the Check Point Internal Certificate Authority (ICA) .............................. 49
ICA Clients ....................................................................................................................... 49
SIC Certificate Management ........................................................................................... 50
Managing Software Blade Licenses ........................................................................ 50
Configuring a Proxy gateway........................................................................................... 51
Viewing Licenses in SmartConsole ................................................................................. 51
Monitoring Licenses in SmartConsole ............................................................................ 52
Enabling Gateways to Access Servers at their NATed IP Addresses ...................... 55
Managing Objects ........................................................................................................ 56
Object Categories .................................................................................................... 56
Working with Objects .............................................................................................. 57
Object Tags .............................................................................................................. 57
Network Object Types ............................................................................................. 58
Networks ......................................................................................................................... 58
Network Groups .............................................................................................................. 58
Check Point Hosts ........................................................................................................... 58
Gateway Cluster .............................................................................................................. 59
Updatable Objects ........................................................................................................... 59
More Network Object Types ............................................................................................ 60
Managing Policies ....................................................................................................... 70
Working with Policy Packages ................................................................................ 70
Creating a New Policy Package ....................................................................................... 72
Adding a Policy Type to an Existing Policy Package ........................................................ 72
Installing a Policy Package ............................................................................................. 73
Installing the User Database ........................................................................................... 73
Uninstalling a Policy Package ......................................................................................... 74
Viewing Rule Logs ................................................................................................... 74
Policy Installation History ....................................................................................... 75
Creating an Access Control Policy .............................................................................. 76
Introducing the Unified Access Control Policy ........................................................ 76
Creating a Basic Access Control Policy ................................................................... 77
Basic Rules ...................................................................................................................... 77
Use Case - Basic Access Control..................................................................................... 77
Use Case - Inline Layer for Each Department ................................................................. 78
Creating Application Control and URL Filtering Rules ............................................ 80
Monitoring Applications .................................................................................................. 80
Blocking Applications and Informing Users .................................................................... 81
Limiting Application Traffic ............................................................................................. 81
Using Identity Awareness Features in Rules .................................................................. 82
Blocking Sites.................................................................................................................. 83
Blocking URL Categories ................................................................................................ 84
Ordered Layers and Inline Layers ........................................................................... 85
The Need for Ordered Layers and Inline Layers ............................................................. 85
Order of Rule Enforcement in Inline Layers ................................................................... 85
Order of Rule Enforcement in Ordered Layers ............................................................... 86
Creating an Inline Layer .................................................................................................. 87
Creating a Ordered Layer ................................................................................................ 87
Enabling Access Control Features .................................................................................. 88
Types of Rules in the Rule Base ...................................................................................... 90
Administrators for Access Control Layers ...................................................................... 92
Sharing Layers ................................................................................................................ 92
Visual Division of the Rule Base with Sections................................................................ 93
Exporting Layer Rules to a .CSV File ............................................................................... 93
Managing Policies and Layers ......................................................................................... 93
The Columns of the Access Control Rule Base ....................................................... 94
Source and Destination Column ...................................................................................... 94
VPN Column .................................................................................................................... 95
Services & Applications Column ..................................................................................... 96
Content Column .............................................................................................................. 99
Actions Column ............................................................................................................. 100
Tracking Column ........................................................................................................... 101
Unified Rule Base Use Cases ................................................................................ 102
Use Case - Application Control and Content Awareness Ordered Layer ...................... 102
Use Case - Inline Layer for Web Traffic ........................................................................ 103
Use Case - Content Awareness Ordered Layer ............................................................. 104
Use Case - Application & URL Filtering Ordered Layer ................................................ 106
Rule Matching in the Access Control Policy .......................................................... 107
Examples of Rule Matching ........................................................................................... 107
Best Practices for Access Control Rules............................................................... 110
Installing the Access Control Policy ...................................................................... 111
Analyzing the Rule Base Hit Count ........................................................................ 112
Enabling or Disabling Hit Count .................................................................................... 112
Configuring the Hit Count Display ................................................................................. 113
Preventing IP Spoofing .......................................................................................... 114
Configuring Anti-Spoofing ............................................................................................. 114
Anti-Spoofing Options ................................................................................................... 116
Multicast Access Control ...................................................................................... 116
Managing Pre-R80.10 Security Gateways ............................................................. 117
Configuring the NAT Policy ................................................................................... 118
Translating IP Addresses (NAT) .................................................................................... 118
NAT Rules...................................................................................................................... 122
Configuring Static and Hide NAT ................................................................................... 123
Configuring Stateful NAT64 (IPv6 to IPv4 translation) .................................................. 129
Configuring Stateless NAT46 (IPv4 to IPv6 translation) ................................................ 140
Advanced NAT Settings ................................................................................................. 150
Site-to-Site VPN .................................................................................................... 159
Sample Site-to-Site VPN Deployment ........................................................................... 159
VPN Communities ......................................................................................................... 160
Sample Star Deployment .............................................................................................. 161
Sample Combination VPN Community .......................................................................... 162
Allowing VPN Connections ............................................................................................ 162
Sample VPN Access Control Rules ............................................................................... 163
To Learn More About Site-to-Site VPN ......................................................................... 163
Remote Access VPN .............................................................................................. 163
VPN Connectivity Modes ................................................................................................ 163
Sample Remote Access VPN Workflow ......................................................................... 164
Configuring the Security Gateway for a Remote Access Community ............................ 165
To Learn More About Remote Access VPN ................................................................... 165
Mobile Access to the Network ............................................................................... 166
Check Point Mobile Access Solutions ........................................................................... 166
Configuring Mobile Access to Network Resources ....................................................... 167
Connecting to a Citrix Server ........................................................................................ 172
Compliance Check ......................................................................................................... 173
Secure Workspace ........................................................................................................ 175
To Learn More About Mobile Access ............................................................................. 175
Creating a Threat Prevention Policy ......................................................................... 176
Threat Prevention Components ............................................................................ 176
IPS ................................................................................................................................. 177
Anti-Bot ......................................................................................................................... 178
Anti-Virus ...................................................................................................................... 179
SandBlast ...................................................................................................................... 180
Assigning Administrators for Threat Prevention .................................................. 182
Analyzing Threats ................................................................................................. 182
Out-of-the-Box Protection from Threats .............................................................. 183
Getting Quickly Up and Running with the Threat Prevention Policy ............................. 183
Enabling the Threat Prevention Software Blades ......................................................... 183
Installing the Threat Prevention Policy ......................................................................... 186
Introducing Profiles ...................................................................................................... 186
Optimized Protection Profile Settings ........................................................................... 187
Predefined Rule ............................................................................................................ 188
The Threat Prevention Policy ................................................................................ 189
Workflow for Creating a Threat Prevention Policy ....................................................... 189
Threat Prevention Policy Layers ................................................................................... 189
Threat Prevention Rule Base ........................................................................................ 192
Creating Threat Prevention Rules......................................................................... 193
Configuring Mail Settings .............................................................................................. 193
Configuring IPS Profile Settings ................................................................................... 197
Configuring Anti-Virus Settings .................................................................................... 198
Configuring Anti-Bot Settings ....................................................................................... 200
Configuring Threat Emulation Settings......................................................................... 203
Configuring Threat Extraction Settings ........................................................................ 206
Configuring a Malware DNS Trap .................................................................................. 208
Exception Rules ............................................................................................................. 209
The Check Point ThreatCloud................................................................................ 211
Threat Prevention Scheduled Updates.................................................................. 212
Introduction to Scheduled Updates ............................................................................... 212
Configuring Threat Prevention Scheduled Updates ...................................................... 212
To Learn More About Threat Prevention ............................................................... 213
Managing User Accounts........................................................................................... 214
Authentication Methods for Users and Administrators......................................... 214
Check Point Password................................................................................................... 214
Operating System Password ......................................................................................... 214
RADIUS .......................................................................................................................... 214
SecurID .......................................................................................................................... 215
TACACS ......................................................................................................................... 215
Configuring Authentication Methods for Users ..................................................... 215
Granting User Access Using RADIUS Server Groups .................................................... 215
Configuring a Security Gateway to use SecurID Authentication ................................... 216
Configuring TACACS+ Authentication ........................................................................... 218
User Database ....................................................................................................... 219
Creating, Modifying, Removing User Accounts ............................................................. 219
Configuring Default Expiration Settings for Users ....................................................... 221
Delete a User................................................................................................................. 222
Managing User Groups .......................................................................................... 222
Adding User Groups ...................................................................................................... 222
LDAP and User Directory ...................................................................................... 222
User Directory and Identity Awareness ........................................................................ 223
User Directory Considerations ...................................................................................... 223
The User Directory Schema .......................................................................................... 223
Check Point Schema for LDAP ...................................................................................... 224
User Directory Profiles ................................................................................................. 231
Microsoft Active Directory ............................................................................................. 241
Retrieving Information from a User Directory Server .................................................. 244
Deploying User Directory .............................................................................................. 245
Enabling User Directory ................................................................................................ 245
Account Units ................................................................................................................ 246
Managing Users on a User Directory Server ................................................................. 251
Access Roles ......................................................................................................... 252
Adding Access Roles ..................................................................................................... 252
Authentication Rules ............................................................................................. 253
Client Certificates for Smartphones and Tablets ...................................................... 254
Managing Client Certificates ................................................................................. 254
Creating Client Certificates ................................................................................... 255
Revoking Certificates ............................................................................................ 255
Creating Templates for Certificate Distribution .................................................... 256
Cloning a Template ............................................................................................... 257
Giving Permissions for Client Certificates ............................................................ 257
Preferences and Management Settings .................................................................... 258
Database Revisions ............................................................................................... 258
Working with Database Revisions ................................................................................. 258
Managing a Crisis Using Database Revisions ................................................................ 259
Setting IP Address Versions of the Environment .................................................. 259
Restoring Window Defaults ................................................................................... 260
Configuring the Login Window .............................................................................. 260
Testing New SmartConsole Features ................................................................... 260
Sync with User Center ........................................................................................... 261
Inspection Settings................................................................................................ 261
Configuring Inspection Settings .................................................................................... 261
SmartConsole Extensions ..................................................................................... 263
Importing Extensions into SmartConsole ..................................................................... 263
Configuring Extension Settings ..................................................................................... 264
Certified Check Point Extensions and Development ..................................................... 264
Management High Availability ................................................................................... 265
Overview of Management High Availability ........................................................... 265
The High Availability Environment ........................................................................ 265
Configuring a Secondary Server in SmartConsole ................................................ 266
Synchronizing Active and Standby Servers ........................................................... 267
Monitoring High Availability .......................................................................................... 267
Changeover Between Active and Standby ............................................................. 268
Changing a Server to Active or Standby ................................................................ 269
Working in Collision Mode............................................................................................. 269
High Availability Troubleshooting ......................................................................... 269
Environments with Endpoint Security ................................................................... 270
High Availability Disaster Recovery ...................................................................... 270
Creating a New Primary Management Server .............................................................. 270
Promoting a Secondary Server to Primary ................................................................... 270
The ICA Management Tool ........................................................................................ 272
Using the ICA Management Tool ........................................................................... 273
Enabling and Connecting to the ICA Management Tool......................................... 273
The ICA Management Tool GUI .............................................................................. 273
User Certificate Management ............................................................................... 274
Modifying the Key Size for User Certificates ................................................................. 274
Performing Multiple Simultaneous Operations .................................................... 275
ICA Administrators with Reduced Privileges ........................................................ 275
Management of SIC Certificates ............................................................................ 275
Management of Gateway VPN Certificates ............................................................ 275
Management of User Certificates in SmartConsole .............................................. 276
Notifying Users about Certificate Initialization ..................................................... 276
Retrieving the ICA Certificate ................................................................................ 276
Searching for a Certificate .................................................................................... 276
Basic Search Parameters ............................................................................................. 277
Advanced Search Attributes .......................................................................................... 277
The Search Results ....................................................................................................... 277
Viewing and Saving Certificate Details .......................................................................... 278
Removing and Revoking Certificates and Sending Email Notifications ................. 278
Submitting a Certificate Request to the CA ........................................................... 278
Initializing Multiple Certificates Simultaneously .................................................. 279
CRL Management .................................................................................................. 280
CRL Operations ..................................................................................................... 281
CA Cleanup ............................................................................................................ 281
Configuring the CA ................................................................................................ 281
CA Data Types and Attributes................................................................................ 281
Certificate Longevity and Statuses ........................................................................ 285
Command Line Reference ......................................................................................... 286
Managing Security through API and CLI................................................................ 287
Configuring the API Server ........................................................................................... 287
API Settings ................................................................................................................... 287
contract_util.......................................................................................................... 289
contract_util check ....................................................................................................... 290
contract_util cpmacro ................................................................................................... 291
contract_util download ................................................................................................. 292
contract_util mgmt ....................................................................................................... 294
contract_util print ......................................................................................................... 295
contract_util summary.................................................................................................. 296
contract_util update ...................................................................................................... 297
contract_util verify ........................................................................................................ 298
cpca_client ............................................................................................................ 299
cpca_client create_cert ................................................................................................ 301
cpca_client double_sign ............................................................................................... 302
cpca_client get_crldp .................................................................................................... 303
cpca_client get_pubkey ................................................................................................ 304
cpca_client init_certs .................................................................................................... 305
cpca_client lscert .......................................................................................................... 306
cpca_client revoke_cert ................................................................................................ 308
cpca_client revoke_non_exist_cert .............................................................................. 310
cpca_client search ........................................................................................................ 311
cpca_client set_mgmt_tool .......................................................................................... 313
cpca_client set_sign_hash ............................................................................................ 315
cp_conf .................................................................................................................. 316
cp_conf admin ............................................................................................................... 317
cp_conf auto .................................................................................................................. 319
cp_conf ca ..................................................................................................................... 320
cp_conf client ................................................................................................................ 321
cp_conf finger ............................................................................................................... 324
cp_conf lic ..................................................................................................................... 325
cpca_create........................................................................................................... 326
cpconfig ................................................................................................................. 327
cpinfo .................................................................................................................... 329
cplic ....................................................................................................................... 330
cplic check ..................................................................................................................... 332
cplic contract ................................................................................................................. 334
cplic db_add .................................................................................................................. 335
cplic db_print ................................................................................................................ 336
cplic db_rm ................................................................................................................... 337
cplic del ......................................................................................................................... 338
cplic del <object name> ................................................................................................. 339
cplic get ......................................................................................................................... 340
cplic print ...................................................................................................................... 341
cplic put ......................................................................................................................... 342
cplic put <object name> ................................................................................................ 344
cplic upgrade ................................................................................................................. 346
cppkg..................................................................................................................... 348
cppkg add ...................................................................................................................... 349
cppkg delete .................................................................................................................. 350
cppkg get ....................................................................................................................... 352
cppkg getroot ................................................................................................................ 353
cppkg print .................................................................................................................... 354
cppkg setroot ................................................................................................................ 355
cpprod_util ............................................................................................................ 356
cprid ...................................................................................................................... 359
cpridstart....................................................................................................................... 359
cpridstop ....................................................................................................................... 359
run_cprid_restart ......................................................................................................... 359
cprinstall ............................................................................................................... 360
cprinstall boot ............................................................................................................... 362
cprinstall cprestart ....................................................................................................... 363
cprinstall cpstart ........................................................................................................... 364
cprinstall cpstop............................................................................................................ 365
cprinstall delete ............................................................................................................ 366
cprinstall get ................................................................................................................. 367
cprinstall install ............................................................................................................ 368
cprinstall revert ............................................................................................................ 370
cprinstall show .............................................................................................................. 371
cprinstall snapshot ....................................................................................................... 372
cprinstall transfer ......................................................................................................... 373
cprinstall uninstall ........................................................................................................ 374
cprinstall verify ............................................................................................................. 376
cpstart ................................................................................................................... 378
cpstat .................................................................................................................... 379
cpstop .................................................................................................................... 386
cpview ................................................................................................................... 387
Overview of CPView ....................................................................................................... 387
CPView User Interface .................................................................................................. 387
Using CPView ................................................................................................................ 387
cpwd_admin .......................................................................................................... 389
cpwd_admin config ....................................................................................................... 391
cpwd_admin del ............................................................................................................ 394
cpwd_admin detach ...................................................................................................... 395
cpwd_admin exist ......................................................................................................... 396
cpwd_admin flist ........................................................................................................... 397
cpwd_admin getpid ....................................................................................................... 398
cpwd_admin kill ............................................................................................................ 399
cpwd_admin list ............................................................................................................ 400
cpwd_admin exist ......................................................................................................... 402
cpwd_admin start ......................................................................................................... 403
cpwd_admin start_monitor........................................................................................... 405
cpwd_admin stop .......................................................................................................... 406
cpwd_admin stop_monitor ........................................................................................... 408
dbedit .................................................................................................................... 409
fw .......................................................................................................................... 420
fw fetchlogs ................................................................................................................... 422
fw hastat ........................................................................................................................ 424
fw kill ............................................................................................................................. 426
fw log ............................................................................................................................. 427
fw logswitch .................................................................................................................. 435
fw lslogs ........................................................................................................................ 439
fw mergefiles ................................................................................................................ 442
fw repairlog ................................................................................................................... 444
fw sam ........................................................................................................................... 445
'fw sam_policy' and 'fw6 sam_policy' ........................................................................... 452
fwm ....................................................................................................................... 454
fwm dbload .................................................................................................................... 456
fwm exportcert .............................................................................................................. 457
fwm fetchfile ................................................................................................................. 458
fwm fingerprint ............................................................................................................. 459
fwm getpcap .................................................................................................................. 460
fwm ikecrypt.................................................................................................................. 461
fwm load ........................................................................................................................ 462
fwm logexport ............................................................................................................... 463
fwm mds ........................................................................................................................ 467
fwm printcert ................................................................................................................ 468
fwm sic_reset ................................................................................................................ 472
fwm snmp_trap ............................................................................................................. 473
fwm unload .................................................................................................................... 475
fwm ver ......................................................................................................................... 478
fwm verify ...................................................................................................................... 479
inet_alert .............................................................................................................. 480
ldapcmd ................................................................................................................ 483
ldapcompare ......................................................................................................... 485
ldapmemberconvert.............................................................................................. 488
ldapmodify ............................................................................................................ 492
ldapsearch ............................................................................................................ 494
mgmt_cli ............................................................................................................... 496
migrate.................................................................................................................. 497
queryDB_util ......................................................................................................... 500
rs_db_tool ............................................................................................................. 501
sam_alert .............................................................................................................. 502
threshold_config ................................................................................................... 505
Package
Terms
Group of files, and data about those files,
delivered as one software archive (usually
TGZ or RPM), for distribution and installation.
Administrator
Permissions Profile
A SmartConsole user with permissions to
A set of access, and feature-based roles for
manage Check Point security products and
SmartConsole administrators.
the network environment.
Policy
DAIP Gateway
A collection of rules that control network
A Dynamically Assigned IP (DAIP) Security
traffic and enforce organization guidelines
Gateway is a Security Gateway where the IP
for data protection and access to resources
address of the external interface is assigned
with packet inspection.
dynamically by the ISP.
Rule Base
Database
The database that contains the rules in a
The Check Point database includes all
security policy and defines the sequence, in
objects, including network objects, users,
which they are enforced.
services, servers, and protection profiles.
Security Gateway
External Users
A computer that runs Check Point software
Users defined on external servers. External
to inspect traffic and enforces Security
users are not defined in the Security
Policies for connected network resources.
Management Server database or on an LDAP
server. External user profiles tell the system
Security Management Server
how to identify and authenticate externally
defined users. A computer that runs Check Point software
to manage the objects and policies in Check
Identity Awareness Point environment.
Lets you enforce network access and audit
SIC
data based on network location, the identity
of the user, and the identity of the computer. Secure Internal Communication. The Check
Point proprietary mechanism with which
LDAP Check Point computers that run Check Point
software authenticate each other over SSL,
Lightweight Directory Access Protocol. An
for secure communication. This
open industry standard for user and device
authentication is based on the certificates
data storage and directory-access.
issued by the ICA on a Check Point
LDAP Groups Management Server.
User Database
Check Point internal database that contains
all users defined and managed in
SmartConsole.
User Groups
Named groups of users with related
responsibilities.
User Template
Property set that defines a type of user on
which a security policy will be enforced.
Users
Personnel authorized to use network
resources and applications.
Welcome
Welcome
Check Point offers effective Security Management solutions to help you keep up with constantly
growing needs and challenges of your organizational network. This Administration Guide focuses
on the basic Security Management Server deployment.
If you are interested in deployments for organizations with multiple sites, refer to the R80.20
Multi-Domain Security Management Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_Multi-Doma
inSecurityManagement_AdminGuide/html_frameset.htm.
These are the basic components of Check Point security architecture.
Item Description
1 SmartConsole - Check Point Graphical User Interface for connection to and management
of Security Management Servers.
2 Security Management Server - Manages Security Gateways with defined security policies
and monitors security events on the network.
3 Security Gateway - Placed at the perimeter of the network topology, to protect your
environment through enforcement of the security policies.
Getting Started
In This Section:
Understanding SmartConsole................................................................................... 16
Connecting to the Security Management Server through SmartConsole................ 25
Setting Up for Security Management ........................................................................ 25
Setting up for Team Work ......................................................................................... 26
Managing Security through API and CLI ................................................................... 26
Planning Security Management ................................................................................ 28
Before you begin deploying a Check Point security solution, familiarize yourself with:
• Check Point SmartConsole
• Basic setup of a Check Point Security Management Server
• Basic setup of Check Point Security Gateways
• Administrative task delegation
• Security management in a non-GUI environment
Understanding SmartConsole
Check Point SmartConsole makes it easy to manage security for complex networks. Before you
start to configure your cyber security environment and policies, become familiar with Check Point
SmartConsole.
SmartConsole
Search Engine
In each view you can search the Security Management Server database for information relevant to
the view. For example:
• Gateway, by name or IP address
• Access Control rule
• NAT rule
• Threat Prevention profile
• Specific threat or a threat category
• Object tags
IP Search
You can run an advanced search for an IP address, network, or port. It returns direct and indirect
matches for your search criteria.
• IP address: xxx.xxx.xxx.xxx
• Network: xxx.xxx.0.0/16 or xxx.xxx
• Port: svc:<xxx>
General IP Search
This is the default search mode. Use it to search in Rule Bases and in objects. If you enter a string
that is not a valid IP or network, the search engine treats it as text.
When you enter a valid IP address or network, an advanced search is done and on these objects
and rules:
• Objects that have the IP address as a text value for example, in a comment
• Objects that have an IP address property (direct results)
• Groups, networks, and address ranges that contain objects with the text value or address value
• Rules that contain those objects
Packet Search
A Packet Search matches rules as if a packet with your IP address arrives at the gateway. It
matches rules that have:
• The IP address in a column of the rule
• "Any"
• A Group-with-exclusion or negated field with the IP address in its declaration
Known Limitation:
• Packet search does not support IPv6.
Tool Description
VPN Communities Create, edit, or delete VPN Communities.
Updates Update the Application & URL Filtering database, schedule updates, and
configure updates.
UserCheck Configure UserCheck interaction objects for Access Control policy
actions.
Client Certificates Create and distribute client certificates that allow users to authenticate
to the Gateway from handheld devices.
Application Wiki Browse to the Check Point AppWiki. Search and filter the Web 2.0
Applications Database, to use Check Point security research in your
policy rules for actions on applications, apps, and widgets.
Installation History See the Policy installation history for each Gateway, and who made the
changes. See the revisions that were made during each installation, and
who made them. Install a specific version of the Policy.
Tool Description
Profiles Create, edit, or delete profiles.
IPS Protections Edit IPS protections per profile.
Protections See statistics on different protections
Whitelist Files Configure Whitelist Files list
Indicators Configure indicators of malicious activity and how to handle it
Updates Configure updates to the Malware database, Threat Emulation engine
and images, and the IPS database.
UserCheck Configure UserCheck interaction objects for Threat Prevention policy
actions.
Threat Wiki Browse to the Check Point ThreatWiki. Search and filter Check Point's
Malware Database, to use Check Point security research to block
malware before it enters your environment, and to best respond if it does
get in.
Installation History See the Policy installation history for each Gateway, and who made the
changes. See the revisions that were made during each installation, and
who made them. Install a specific version of the Policy.
Shared Policies
The Shared Policies section in the Security Policies shows the policies that are not in a Policy
package. They are shared between all Policy packages.
Security Management Administration Guide R80.20 | 20
Getting Started
Geo Policy Create a policy for traffic to or from specific geographical or political
locations.
HTTPS Inspection The HTTPS Policy allows the Security Gateway to inspect HTTPS traffic
to prevent security risks related to the SSL protocol. The HTTPS Policy
shows if HTTPS Inspection is enabled on one or more Gateways.
Inspection Settings You can configure Inspection Settings (on page 261) for the Firewall:
• Deep packet inspection settings
• Protocol parsing inspection settings
• VoIP packet inspection settings
Click to open the API reference (in the command line interface).
Use the Command Line Reference to learn about Session management commands,
Host commands, Network commands, and Rule commands.
In addition to the command line interface, you can create and run API scripts to manage
configuration and operations on the Security Management Server (on page 26).
SmartConsole Toolbars
Global Toolbar (top of SmartConsole)
Description
The main SmartConsole Menu. When SmartConsole is connected to a Security
Management Server, this includes:
• Manage policies and layers
• Open Object Explorer
• New object (opens menu to create a new object)
• Publish session
• Discard session
• Session details
• Install policy
• Verify Access Control Policy
• Install Database
• Uninstall Threat Prevention policy
• Management High Availability
• Manage Licenses and Packages
• Global Properties
• View (opens menu to select a View to open)
Create new objects or open the Object Explorer
Enter session details and see the number of changes made in the session.
Keyboard Description
Shortcut
Ctrl+4 Manage & Settings view - review and configure the Security
Management Server settings:
• Administrators
• Permissions profiles
• Trusted clients
• Administrator sessions, and session settings
• Blades
• Revisions
• Preferences
• Sync with User Center
For more SmartConsole shortcuts, see Keyboard Shortcuts for SmartConsole (on page 17).
Server Details See the IP address of the server to which SmartConsole is connected. If
Management High Availability is configured, click to see the details.
Session Status See the number of changes made in the session and the session status.
• Endpoint Policy Management - Manage security and data on end-user computers and
hand-held devices. Enable this Software Blade if you have or will install an Endpoint
Security Management Server.
• Logging & Status - Monitor security events and status of gateways, VPNs, users, and more,
with advanced visuals and data management features.
• Identity Logging - Add user identities, and data of their computers and devices, from Active
Directory domains, to log entries.
• User Directory - Populate your security scope with user accounts from the LDAP servers in
your environment.
• Compliance - Optimize your security settings and comply with regulatory requirements
• SmartEvent - Manage and correlate security events in real-time.
To learn more about the management APIs, to see code samples, and to take advantage of user
forums, see:
• The Online Check Point Management API Reference Guide
https://sc1.checkpoint.com/documents/latest/APIs/index.html.
• The Developers Network section of CheckMates https://community.checkpoint.com.
Define users and user groups that your security environment protects
You can add users (on page 219) and groups (on page 222) to the database manually, through
LDAP and User Directory (on page 222), or with the help of Active Directory (on page 241).
Deleting an Administrator
To make sure your environment is secure, the best practice is to delete administrator accounts
when personnel leave or transfer.
Permissions:
• Selected - The administrator has this feature.
• Not selected - The administrator does not have this feature.
Note - If you cannot clear a feature selection, the administrator access to it is mandatory.
Some features have Read and Write Options. If the feature is selected:
• Read - The administrator has the feature but cannot make changes.
• Write - The administrator has the feature and can make changes.
4. Click Edit.
5. In the left pane, select Permissions.
6. Click +
7. Select a profile with Layer permissions.
8. Click OK.
9. Click Close.
10. Publish the session.
4. Click OK.
Unlocking Administrators
An administrator who has the Manage Administrators permission can unlock another
administrator if the locked administrator authenticates to the Security Management Server using
a Check Point password.
To unlock an administrator:
1. Go to the Manage & Settings view or to the Multi-Domain view.
2. Right-click the locked administrator and select Unlock Administrator.
Or:
Use the unlock administrator API command
https://sc1.checkpoint.com/documents/R80/APIs/#gui-cli/unlock-administrator%20.
Note - the Unlock Administrator feature does not apply to administrators using other
authentication methods.
Administrators can publish or discard their private changes. To include private changes in the
policy installation, sessions containing these private changes must be published. This is also true
if you want to make your private changes available to other administrators. Unpublished changes
from other sessions are not included in the policy installation.
Before you publish a session, we recommend that you give the session a name and add a brief
description that documents the work process.
Publishing a Session
The validations pane in SmartConsole shows configuration error messages. Examples of errors
are object names that are not unique, or the use of objects that are not valid in the Rule Base.
Make sure you correct these errors before publishing.
To publish a session:
On the SmartConsole toolbar, click Publish. When a session is published, a new database version
is created and shows in the list of database revisions.
To discard a session:
In the SmartConsole toolbar, click Discard.
Administrators without the Manage Administrators with the Manage Session Permission
Session permission can: can:
• Publish and discard their own sessions • Publish and discard their own sessions
• See sessions opened by other • See sessions opened by other administrators, the
administrators, the number the locks number the locks they have and number changes
they have and number of changes they they have made
have made
• Publish & Disconnect the private sessions of
• Take over sessions created by other administrators
applications, for example sessions
• Disconnect & Discard the private sessions of
created by the API command line tool
other administrators
• Disconnect another administrator's private
session
• Take over sessions created by applications, for
example sessions created by the API command
line tool
• Take over the private sessions of other
administrators.
Note: If you want to keep changes made in your
own private session, publish these changes
before you take over the session of another
administrator. If you do not publish your changes,
you will lose them. When you take over, you
disconnect the other administrator's
SmartConsole session.
• Publish & Disconnect the private sessions of
other administrators. The action applies to both
SmartConsole sessions and command line API
sessions.
• Disconnect the private session of other
administrators
• Discard & Disconnect the private session of other
administrators
Option Description
Edit sessions details Lets you change the session name and description.
Create new session In the current window
Opens a new session in the current SmartConsole
In a new window
Opens a new session in a new SmartConsole
Recent Shows a list of recent sessions. Selecting a session opens the
session in the current SmartConsole
More Opens the Open Session window that shows sessions that you
previously created and saved.
• Sessions shown in this window are owned by the current
user in the current domain.
• The Open Session > Actions menu has options to open a
saved session in the current SmartConsole or open the
session in a new SmartConsole.
6. Click Set New Password, type the Password, and Confirm it.
7. Assign a Permission Profile.
8. Click OK.
9. Click Publish.
d) Make sure that this host shows in the Host field of the TACACS Server Properties window.
e) In the Shared Secret field, type the secret key that you defined previously on the TACACS
server.
f) Click OK.
g) Click Publish.
3. Add a new administrator:
a) Go to Manage & Settings > Permissions & Administrators > Administrators.
b) Click New.
The New Administrator window opens.
c) Give the administrator the name that is defined on the TACACS server.
d) Assign a Permission Profile.
e) In Authentication method, select TACACS.
f) Select the TACACS Server defined earlier.
g) Click OK.
4. Click Publish.
Managing Gateways
In This Section:
Creating a New Security Gateway ............................................................................. 45
Manually Updating the Gateway Topology ................................................................ 46
Dynamically Updating the Topology .......................................................................... 46
Secure Internal Communication (SIC) ...................................................................... 47
Managing Software Blade Licenses .......................................................................... 50
Enabling Gateways to Access Servers at their NATed IP Addresses ....................... 55
Dynamic Anti-Spoofing
When Anti-Spoofing is selected and you click Get interfaces, the Security Gateway generates a list
of valid IP addresses based on the IP address and netmask of the interface and the routes
assigned to the interface.
Anti-Spoofing drops packets with a source IP address that does not belong to the network behind
the packet’s interface. For example, packets with an internal IP address that comes from an
external interface.
When the Network defined by routes option is selected along with Perform Anti-Spoofing based
on interface topology, you get Dynamic Anti-Spoofing. The valid IP addresses range is
automatically calculated without the administrator having to do click Get Interfaces or install a
policy.
Initializing Trust
To establish the initial trust, a gateway and a Security Management Server use a one-time
password. After the initial trust is established, further communication is based on security
certificates.
Note - Make sure the clocks of the gateway and Security Management Server are synchronized,
before you initialize trust between them. This is necessary for SIC to succeed. To set the time
settings of the gateway and Security Management Server, go to the Gaia Portal > System
Management > Time.
To initialize Trust:
1. In SmartConsole, open the gateway network object.
2. In the General Properties page of the gateway, click Communication.
3. In the Communication window, enter the Activation Key that you created during installation of
the gateway.
4. Click Initialize.
The ICA signs and issues a certificate to the gateway.
Trust state is Initialized but not trusted. The Internal Certificate Authority (ICA) issues a
certificate for the gateway, but does not yet deliver it.
The two communicating peers authenticate over SSL with the shared Activation Key. The
certificate is downloaded securely and stored on the gateway. The Activation Key is deleted.
The gateway can communicate with Check Point hosts that have a security certificate signed by
the same ICA.
SIC Status
After the gateway receives the certificate issued by the ICA, the SIC status shows if the Security
Management Server can communicate securely with this gateway:
• Communicating - The secure communication is established.
• Unknown - There is no connection between the gateway and Security Management Server.
• Not Communicating - The Security Management Server can contact the gateway, but cannot
establish SIC. A message shows more information.
Trust State
If the Trust State is compromised (keys were leaked, certificates were lost) or objects changed
(user leaves, open server upgraded to appliance), reset the Trust State. When you reset Trust, the
SIC certificate is revoked.
The Certificate Revocation List (CRL) is updated for the serial number of the revoked certificate.
The ICA signs the updated CRL and issues it to all gateways during the next SIC connection. If two
gateways have different CRLs, they cannot authenticate.
Troubleshooting SIC
If SIC fails to Initialize:
1. Make sure there is connectivity between the gateway and Security Management Server.
2. Make sure that the Security Management Server and the gateway use the same SIC activation
key (one-time password).
3. If the Security Management Server is behind a gateway, make sure there are rules that allow
connections between the Security Management Server and the remote gateway. Make sure
Anti-spoofing settings are correct.
4. Make sure the name and the IP address of the Security Management Server are in the
/etc/hosts file on the gateway.
If the IP address of the Security Management Server mapped through static NAT by its local
gateway, add the public IP address of the Security Management Server to the /etc/hosts file
on the remote gateway. Make sure the IP address resolves to the server's hostname.
5. Make sure the date and the time settings of the operating systems are correct. If the Security
Management Server and remote the gateway reside in different time zones, the remote
gateway may have to wait for the certificate to become valid.
6. Remove the security policy on the gateway to let all the traffic through: In the command line
interface of the gateway, type: fw unloadlocal
7. Try to establish SIC again.
In SmartConsole:
1. In the General Properties window of the gateway, click Communication.
2. In the Trusted Communication window, enter the one-time password (activation key) that you
entered on the gateway.
3. Click Initialize.
4. Wait for the Certificate State field to show Trust established.
5. Click OK.
ICA Clients
In most cases, certificates are handled as part of the object configuration. To control the ICA and
certificates in a more granular manner, you can use one of these ICA clients:
• The Check Point configuration utility - This is the cpconfig CLI utility. One of the options
creates the ICA, which issues a SIC certificate for the Security Management Server.
• SmartConsole - SIC certificates for Security Gateways and administrators, VPN certificates,
and user certificates.
• ICA Management tool - VPN certificates for users and advanced ICA operations (on page 272).
See audit logs of the ICA in SmartConsole Logs & Monitor > New Tab > Open Audit Logs View.
To learn more about key size values, see RSA key lengths
http://supportcontent.checkpoint.com/solutions?id=sk96591.
Column Description
License Status The general state of the Software Blade licenses:
• OK - All the blade licenses are valid.
• Not Activated - Blade licenses are not installed. This is only possible in
the first 15 days after the establishment of the SIC with the Security
Management Server. After the initial 15 days, the absence of licenses
will result in the blade error message.
• Error with <number> blade(s) - The specified number of blade licenses
are not installed or not valid.
• Warning with <number> blade(s) - The specified number of blade
licenses have warnings.
• N/A - No available information.
CK Unique Certificate Key of the license instance.
SKU Catalog ID from the Check Point User Center.
Account ID User's account ID.
Support Level Check Point level of support.
Support Expiration Date when the Check Point support contract expires.
2 In the Summary tab below, click the object's License Status (for example: OK).
The Device & License Information window opens. It shows basic object information and
License Status, license Expiration Date, and important quota information (in the
Additional Info column) for each Software Blade.
Notes:
• Quota information, quota-dependent license statuses, and blade information messages
are only supported for R80.
• The tooltip of the SKU is the product name.
The possible values for the Software Blade License Status are:
Status Description
Active The Software Blade is active and the license is valid.
Available The Software Blade is not active, but the license is valid.
No License The Software Blade is active but the license is not valid.
Expired The Software Blade is active, but the license expired.
About to Expire The Software Blade is active, but the license will expire in thirty days
(default) or less (7 days or less for an evaluation license).
Quota Exceeded The Software Blade is active, and the license is valid, but the quota of
related objects (gateways, files, virtual systems, and so on, depending on the
blade) is exceeded.
Quota Warning The Software Blade is active, and the license is valid, but the number of
objects of this blade is 90% (default) or more of the licensed quota.
N/A The license information is not available.
Option Description
License Status view To see and export license information for Software Blades on each
specific Security Management Server, gateway, or Log Server object.
License Status report To see, filter and export license status information for all configured
Security Management Server, gateway, or Log Server objects.
License Inventory To see, filter and export license information for Software Blades on all
report configured Security Management Server, gateway, or Log Server
objects.
The SmartEvent Software Blade lets you customize the License Status and License Inventory
information from the Logs & Monitor view of SmartConsole.
It is also possible to view license information from the Gateways & Servers view of SmartConsole
without enabling the SmartEvent blade on Security Management Server.
Security Management Administration Guide R80.20 | 52
Managing Gateways
The Gateways & Servers view in SmartConsole lets you see and export the License
Inventory report.
Step Description
1 To see the License Inventory report from the Gateways & Servers view:
a) In SmartConsole, from the left navigation panel, click Gateways & Servers.
b) From the top toolbar, click Actions > License Report.
c) Wait for the SmartView to load and show this report.
By default, this report contains:
Inventory page: Blade Names, Devices Names, License Statuses
License by Device page: Devices Names, License statuses, CK, SKU, Account ID,
Support Level, Next Expiration Date
2 To export the License Inventory report from the Gateways & Servers view:
a) In the top right corner, click the Options button.
b) Select the applicable export option - Export to Excel, or Export to PDF.
The Logs & Monitor view in SmartConsole lets you see, filter and export the License
Status report.
Step Description
1 To see the License Status report from the Logs & Monitor view:
a) In SmartConsole, from the left navigation panel, click Logs & Monitor
b) At the top, open a new tab by clicking New Tab, or [+].
c) In the left section, click Views.
d) In the list of reports, double-click License Status.
e) Wait for the SmartView to load and show this report.
By default, this report contains:
Names of the configured objects, License status for each object, CK, SKU,
Account ID, Support Level, Next Expiration Date
Step Description
2 To filter the License Status report in the Logs & Monitor view:
a) In the top right corner, click the Options button > View Filter.
The Edit View Filter window opens.
b) Select a Field to filter results. For example, Device Name, License Status, Account
ID.
c) Select the logical operator - Equals, Not Equals, or Contains.
d) Select or enter a filter value.
Note - Click the X icon to delete a filter.
e) Optional: Click the + icon to configure additional filters.
f) Click OK to apply the configured filters.
The report is filtered based on the configured filters.
3 To export the License Status report in the Logs & Monitor view:
a) In the top right corner, click the Options button.
b) Select the applicable export option - Export to Excel, or Export to PDF.
The Logs & Monitor view in SmartConsole lets you see, filter and export the License
Inventory report.
Step Description
1 To see the License Inventory report from the Logs & Monitor view:
a) In SmartConsole, from the left navigation panel, click Logs & Monitor
b) At the top, open a new tab by clicking New Tab, or [+].
c) In the left section, click Reports.
d) In the list of reports, double-click License Inventory.
e) Wait for the SmartView to load and show this report.
By default, this report contains:
Inventory page: Blade Names, Devices Names, License Statuses
License by Device page: Devices Names, License statuses, CK, SKU, Account ID,
Support Level, Next Expiration Date
Step Description
2 To filter the License Inventory report in the Logs & Monitor view:
a) In the top right corner, click the Options button > Report Filter.
The Edit Report Filter window opens.
b) Select a Field to filter results. For example, Blade Name, Device Name, License
Overall Status, Account ID.
c) Select the logical operator - Equals, Not Equals, or Contains.
d) Select or enter a filter value.
Note - Click the X icon to delete a filter.
e) Optional: Click the + icon to configure additional filters.
f) Click OK to apply the configured filters.
The report is filtered based on the configured filters.
3 To export the License Inventory report in the Logs & Monitor view:
a) In the top right corner, click the Options button.
b) Select the applicable export option - Export to Excel, or Export to PDF.
To enable this feature, run this command on the Security Gateway in the Expert mode:
ckp_regedit -a SOFTWARE CheckPoint FW1 FORCE_NATTED_IP -n 1
Notes:
• This change survives reboot.
• In a Cluster, you must configure all the Cluster Members in the same way.
Managing Objects
In This Section:
Object Categories ...................................................................................................... 56
Working with Objects................................................................................................. 57
Object Tags ................................................................................................................ 57
Network Object Types ............................................................................................... 58
Network Objects, defined in SmartConsole and stored in the proprietary Check Point object
database, represent physical and virtual network components (such as gateways, servers, and
users), and logical components (such as IP address ranges and Dynamic Objects). Before you
create Network Objects, analyze the needs of your organization:
• What are the physical components of your network: devices, hosts, gateways and their active
Software Blades?
• What are the logical components: services, resources, applications, ranges?
• Who are the users? How should you group them, and with what permissions?
Object Categories
Objects in SmartConsole represent networks, devices, protocols and resources. SmartConsole
divides objects into these categories:
To clone an object:
1. In the object tree or in the Object Explorer, right-click the object and select Clone.
The Clone Object window opens.
2. Enter a name for the cloned object.
3. Click OK.
Object Tags
Object tags are keywords or labels that you can assign to the network objects or groups of objects
for search purposes. These are the types of tags you can assign:
• User tags - Assigned manually to individual objects or groups of objects
• System tags - Predefined keywords, such as "application"
Each tag has a name and a value. The value can be static, or dynamically filled by detection
engines.
The new tag shows to the right of the Add Tag field.
4. Click OK.
Networks
A Network is a group of IP addresses defined by a network address and a net mask. The net mask
indicates the size of the network.
A Broadcast IP address is an IP address which is destined for all hosts on the specified network. If
this address is included, the Broadcast IP address will be considered as part of the network.
Network Groups
A network group is a collection of hosts, gateways, networks or other groups.
Groups are used where you cannot work with single objects, e.g. when working with VPN domains
or with topology definitions.
Groups facilitate and simplify network management. Modifications are applied to the group
instead of each member of the group.
common Security Management Server and Log Server, configure the common server as a Check
Point Host object.
A Check Point Host has one or more Software Blades installed. But if the Firewall blade is
installed on the Check Point Host, it cannot function as a firewall. The Host requires SIC and other
features provided by the actual firewall.
A Check Point Host has no routing mechanism, is not capable of IP forwarding, and cannot be
used to implement Anti-spoofing. If the host must do any of these, convert it to be a Security
Gateway.
The Security Management Server object is a Check Point Host.
Note - When you upgrade to R80.20 from R77.30 or earlier versions, Node objects are converted to
Host objects.
Gateway Cluster
A gateway cluster is a group of Security Gateways with Cluster software installed: ClusterXL, or
another Clustering solution. Clustered gateways add redundancy through High Availability or Load
Sharing.
Updatable Objects
An updatable object is a network object which represents an external service, such as Office 365,
AWS, GEO locations and more. External services providers publish lists of IP addresses or
Domains or both to allow access to their services. These lists are dynamically updated. Updatable
objects derive their contents from these published lists of the providers, which Check Point
uploads to the Check Point cloud. The updatable objects are updated automatically on the Security
Gateway each time the provider changes a list. There is no need to install policy for the updates to
take effect. You can use an updatable object in the Access Control policy as a source or a
destination.
These are the currently supported external services for updatable objects:
• Online services - Office 365, Azure, and AWS
• GEO locations - The GEO database provides mapping of location data to IP addresses. For each
location, there is a network object you can import to SmartConsole. You can block or allow
access to and from specific locations based on their IP addresses.
Note - This feature is only supported for R80.20 and above gateways.
You can monitor the updates in the Logs & Monitor Logs view.
Wildcard Netmask: 0. 0. 3. 0
The third octet represents the mask of bits. If we convert the 3 to binary, we get 00000011. The 0
parts of the mask must match the equivalent bits of the IP address. The 1 parts of the mask do not
have to match, and can be any value.
0 0 0 0 0 0 1 1
Must match the equivalent bits in the IP address Do not have to match
128 64 32 16 8 4 2 1
Decimal
Binary
0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1
0 0 0 0 0 0 1 0 2
0 0 0 0 0 0 1 1 3
Scenario One
A supermarket chain has all of its cash registers on subnet 194.29.x.1, where x defines the region.
In this use case, all the cash registers in this region must have access to the database server at
194.30.1.1.
Instead of defining 256 hosts (194.29.0.1, 194.29.1.1, 194.29.2.1....194.29.255.1), the administrator
creates a wildcard object that represents all the cash registers in the region:
The wildcard object can now be added to the access control policy.
Scenario Two
In this use case, a supermarket chain has stores in Europe and Asia.
The 192.30.0-255.1 network contains both the Asian and European regions, and the stores within
those regions.
Item Description
1 Database Server for Europe
2 Database Server for Asia
3 European and Asia network
The administrator wants stores in the European and Asia regions to access different database
servers. In this topology, the third octet of the European and Asia network's IP address will be
subject to a wildcard. The first four bits of the wildcard will represent the region and the last four
bits will represent the store number.
Bits that represent the region Bits that represent the store number
0000 0000
Binary Decimal
Region Store
To include all the stores of a particular region, the last four bits of the wildcard mask must be set
to 1 (15 in Decimal):
Binary Decimal
Region Store
A wildcard object that represents all the Asian stores will look like this:
Scenario Three
In this scenario, the netmask bits are not consecutive.
Wildcard IP 1 1 0 1
Wildcard mask 0 0 5 0
Wildcard IP 00000001.00000001.00000000.00000001
Mask:
0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0
IPv6
The same principles apply to IPv6 addresses. For example, if the wildcard object has these values:
Domains
A Domain object lets you define a host or DNS domain by its name only. It is not necessary to have
the IP address of the site.
You can use the Domain object in the source and destination columns of an Access Control Policy.
You can configure a Domain object in two ways:
• Select FQDN
In the object name, use the Fully Qualified Domain Name (FQDN). Use the format .x.y.z (with
a dot "." before the FQDN). For example, if you use .www.example.com then the Gateway
matches www.example.com
This option is supported for R80.10 and higher, and is the default. It is more accurate and
faster than the non-FQDN option.
The Security Gateway looks up the FQDN with a direct DNS query, and uses the result in the
Rule Base.
This option supports SecureXL Accept templates. Using domain objects with this option in a
rule has no effect on the performance of the rule, or of the rules that come after it.
• Clear FQDN
This option enforces the domain and its sub-domains. In the object name, use the format .x.y
for the name. For example, use .example.com or .example.co.uk for the name. If you use
.example.com, then the Gateway matches www.example.com and support.example.com
The Gateway does the name resolution using DNS reverse lookups, which can be inaccurate.
The Gateway uses the result in the Rule Base, and caches the result to use again.
When upgrading from R77, this option is enforced.
Dynamic Objects
A dynamic object is a "logical" object where the IP address is resolved differently for each Security
Gateway, using the dynamic_objects command.
For R80.10 Security Gateways and higher, dynamic objects support SecureXL Accept templates.
Therefore, there is no performance impact on a rule that uses a dynamic object, or on rules that
come after it.
Dynamic Objects are predefined for LocalMachine-all-interfaces. The DAIP computer interfaces
(static and dynamic) are resolved into this object.
Security Zones
Security Zones let you to create a strong Access Control Policy that controls the traffic between
parts of the network.
A Security Zone object represents a part of the network (for example, the internal network or the
external network). You assign a network interface of a Security Gateway to a Security Zone. You
can then use the Security Zone objects in the Source and Destination columns of the Rule Base.
Use Security Zones to:
• Simplify the Policy. Apply the same rule to many Gateways.
• Add networks to Gateways interfaces without changing the Rule Base.
For example, in the diagram, we have three Security Zones for a typical network: ExternalZone (1),
DMZZone (2) and InternalZone (3).
• Gateway (4) has three interfaces. One interface is assigned to ExternalZone (1), one interface is
assigned to DMZZone (2), and one interface is assigned to InternalZone (3).
• Gateway (5) has two interfaces. One interface is assigned to ExternalZone (1) and one interface
is assigned to InternalZone (3).
A Security Gateway interface can belong to only one Security Zone. Interfaces to different
networks can be in the same Security Zone.
Workflow
1. Define Security Zone objects. Or, use the predefined Security Zones (on page 66).
2. Assign Gateway interfaces to Security Zones (on page 66).
3. Use the Security Zone objects in the Source and Destination of a rule. For example:
Source Destination VPN Service Action
Interoperable Devices
An Interoperable Device is a device that has no Check Point Software Blades installed. The
Interoperable Device:
• Cannot have a policy installed on it
• Can participate in Check Point VPN communities and solutions.
VoIP Domains
There are five types of VoIP Domain objects:
• VoIP Domain SIP Proxy
• VoIP Domain H.323 Gatekeeper
• VoIP Domain H.323 Gateway
• VoIP Domain MGCP Call Agent
• VoIP Domain SCCP CallManager
In many VoIP networks, the control signals follow a different route through the network than the
media. This is the case when the call is managed by a signal routing device. Signal routing is done
in SIP by the Redirect Server, Registrar, and/or Proxy. In SIP, signal routing is done by the
Gatekeeper and/or gateway.
Enforcing signal routing locations is an important aspect of VoIP security. It is possible to specify
the endpoints that the signal routing device is allowed to manage. This set of locations is called a
VoIP Domain. For more information refer to the R80.20 VoIP Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_VoIP_Admin
Guide/html_frameset.htm.
Logical Servers
A Logical Server is a group of machines that provides the same services. The workload of this
group is distributed between all its members.
When a Server group is stipulated in the Servers group field, the client is bound to this physical
server. In Persistent server mode the client and the physical server are bound for the duration of
the session.
• Persistency by Service — once a client is connected to a physical server for a specified service,
subsequent connection to the same Logical Server and the same service will be redirected to
the same physical server for the duration of the session.
• Persistency by Server — once a client is connected to a physical server, subsequent
connections to the same Logical Server (for any service) will be redirected to the same
physical server for the duration of the session.
Balance Method
The load balancing algorithm stipulates how the traffic is balanced between the servers. There are
several types of balancing methods:
• Server Load — The Security Gateway determines which Security Management Server is best
equipped to handle the new connection.
• Round Trip Time — On the basis of the shortest round trip time between Security Gateway and
the servers, executed by a simple ping, the Security Gateway determines which Security
Management Server is best equipped to handle the new connection.
• Round Robin — the new connection is assigned to the first available server.
• Random — the new connection is assigned to a server at random.
• Domain — the new connection is assigned to a server based on domain names.
The Check Point Rule Base must not have these objects. If it does, the Security Management
Server will not generate Access Lists.
• Drop (in the Action column)
• Encrypt (Action)
• Alert (Action)
• RPC (Service)
• ACE (Service)
• Authentication Rules
• Negate Cell
Defining OSE Device Interfaces
OSE devices report their network interfaces and setup at boot time. Each OSE device has a
different command to list its configuration. You must define at least one interface for each device,
or Install Policy will fail.
4. Open the Topology tab and add the interfaces of the device.
You can enable Anti-Spoofing on the external interfaces of the device. Double-click the
interface. In the Interface Properties window > Topology tab, select External and Perform
Anti-Spoofing.
5. Open the Setup tab and define the OSE device and its administrator credentials (on page 69).
Managing Policies
In This Section:
Working with Policy Packages .................................................................................. 70
Viewing Rule Logs ..................................................................................................... 74
Policy Installation History ......................................................................................... 75
SmartConsole offers a number of tools that address policy management tasks, both at the
definition stage and for maintenance.
At the definition stage:
• Policy Packages let you group different types of policies, to be installed together on the same
installation targets.
• Predefined Installation Targets let you associate each package with a set of gateways. You do
not have to repeat the gateway selection process each time you install a Policy Package.
At the maintenance level:
• Search gives versatile search capabilities for network objects and the rules in the Rule Base.
• Database version control lets you track past changes to the database.
Example:
An organization has four sites, each with its own requirements. Each site has a different set of
Software Blades installed on the Security Gateways:
To manage these different types of sites efficiently, you need to create three different Policy
Packages. Each Package includes a combination of policy types that correspond to the Software
Blades installed on the site's gateway. For example:
• A policy package that includes the Access Control policy type. The Access Control policy type
controls the firewall, NAT, Application & URL Filtering, and Content Awareness Software
Blades. This package also determines the VPN configuration.
Install the Access Control policy package on all Security Gateways.
Security Management Administration Guide R80.20 | 71
Managing Policies
• A policy package that includes the QoS policy type for the QoS blade on gateway that manages
bandwidth.
Install this policy package on the executive management Gateway.
• A policy package that includes the Desktop Security Policy type for the gateway that handles
Mobile Access.
Install this policy package on the executive management Gateway.
• Protocol
• Application
• User
• Accessed resources
• Data Types
Basic Rules
Best Practice - These are basic Access Control rules we recommend for all Rule Bases:
• Stealth rule that prevents direct access to the Security Gateway
• Cleanup rule that drops all traffic that is not matched by the earlier rules in the policy
Note - If you delete the cleanup rule, there will still be an implicit drop rule that drops all traffic
that did not match all other rules. This rule does not create log entries. If you want to log the
traffic, create an explicit Cleanup rule.
5 DNS server Any DNS Domain UDP Accept None Policy Targets
6 Mail and Web servers Any DMZ HTTP Accept Log Policy Targets
HTTPS
SMTP
8 DMZ & Internet IntGroup Any Any Accept Log Policy Targets
Rule Explanation
1 Admin Access to Gateways - SmartConsole administrators are allowed to connect to the
Security Gateways.
2 Stealth - All internal traffic that is NOT from the SmartConsole administrators to one of
the Security Gateways is dropped. When a connection matches the Stealth rule, an alert
window opens in SmartView Monitor.
3 Critical subnet - Traffic from the internal network to the specified resources is logged.
This rule defines three subnets as critical resources: Finance, HR, and R&D.
4 Tech support - Allows the Technical Support server to access the Remote-1 web server
which is behind the Remote-1 Security Gateway. Only HTTP traffic is allowed. When a
packet matches the Tech support rule, the Alert action is done.
5 DNS server - Allows UDP traffic to the external DNS server. This traffic is not logged.
6 Mail and Web servers - Allows incoming traffic to the mail and web servers that are
located in the DMZ. HTTP, HTTPS, and SMTP traffic is allowed.
7 SMTP - Allows outgoing SMTP connections to the mail server. Does not allow SMTP
connections to the internal network, to protect against a compromised mail server.
8 DMZ and Internet - Allows traffic from the internal network to the DMZ and Internet.
9 Cleanup rule - Drops all traffic that does not match one of the earlier rules.
3 R&D department R&D Roles Any Any Any TechSupport Layer N/A
3.1 R&D servers Any R&D servers Any Any Accept Log
(Group)
QA network
3.2 R&D source control InternalZone Source control ssh, http, https Any Accept Log
servers (Group)
4.1 Allow access to Any R&D Servers Web Services Any Accept Log
R&D servers (Group)
5 Allow all users to Any Employee portal Web Services Any Accept None
access employee
portal
Rules Explanation
1 General rules for the whole organization.
2
3 An Inline Layer for the R&D department.
3.1 Rule 3 is the parent rules of the Inline Layer. The Action is the name of the Inline Layer.
3.2 If a packet does not match on parent rule 3:
---
Matching continues to the next rule outside the Inline Layer (rule 4).
3.X
If a packet matches on parent rule 3:
Matching continues to 3.1, first rule inside the Inline Layer. If a packet matches on this
rule, the rule action is done on the packet.
If a packet does not match on rule 3.1, continue to the next rule inside the Inline Layer,
rule 3.2. If there is no match, continue to the remaining rules in the Inline Layer. ---
means one or more rules.
The packet is matched only inside the inline layer. It never leaves the inline layer,
because the inline layer has an implicit cleanup rule. It is not matched on rules 4, 5 and
the other rules in the Ordered Layer.
Rule 3.X is a cleanup rule. It drops all traffic that does not match one of the earlier rules
in the Inline Layer. This is a default explicit rule. You can change or delete it.
Best Practice - Have an explicit cleanup rule as the last rule in each Inline Layer and
Ordered Layer.
4 Another Inline Layer, for the QA department.
4.1
---
4.Y
5 More general rules for the whole organization.
-- One or more rules.
9 Cleanup rule - Drop all traffic that does not match one of the earlier rules in the Ordered
Layer. This is a default explicit rule. You can change or delete it.
Best Practice - Have an explicit cleanup rule as the last rule in each Inline Layer and
Ordered Layer.
Monitoring Applications
Scenario: I want to monitor all Facebook traffic in my organization. How can I do this?
To block an application or category of applications and tell the user about the policy
violation:
1. In the Security Policies view of SmartConsole, go to the Access Control Policy.
2. Choose a Layer with Applications and URL Filtering enabled.
3. Create a rule that includes these components:
• Services & Applications - Select the Pornography category.
• Action - Drop, and a UserCheck Blocked Message - Access Control
The message informs users that their actions are against company policy and can include a
link to report if the website is included in an incorrect category.
• Track - Log
Note - This Rule Base example contains only those columns that are applicable to this subject.
The rule blocks traffic to pornographic sites and logs attempts to access those sites. Users who
violate the rule receive a UserCheck message that informs them that the application is blocked
according to company security policy. The message can include a link to report if the website is
included in an incorrect category.
Important - A rule that blocks traffic, with the Source and Destination parameters
defined as Any, also blocks traffic to and from the Captive Portal.
To create a rule that allows streaming media with time and bandwidth limits:
1. In the Security Policies view of SmartConsole, go to the Access Control Policy.
2. Choose a Layer with Applications and URL Filtering enabled.
3. Click one of the Add Rule toolbar buttons to add the rule in the position that you choose in the
Rule Base.
4. Create a rule that includes these components:
• Services & Applications - Media Streams category.
Note - Applications are matched on their Recommended services, where each service runs
on a specific port, such as the default Application Control Web browsing Services: http,
https, HTTP_proxy, and HTTPS_proxy. To change this, see Services & Applications
Column (on page 96).
• Action - Click More and select Action: Accept, and a Limit object.
• Time - Add a Time object that specifies the hours or time period in which the rule is active.
Note - The Time column is not shown by default in the Rule Base table. To see it,
right-click on the table header and select Time.
Note - In ClusterXL Load Sharing modes, the specified bandwidth limit is divided between all
defined cluster members, regardless of the cluster state. For example, if a rule sets 1Gbps limit in
a cluster with three members, each member has a fixed limit of 333 Mbps.
Blocking Sites
Scenario: I want to block sites that are associated with categories that can cause liability issues.
Most of these categories exist in the Application Database but there is also a custom defined site
that must be included. How can I do this?
You can do this by creating a custom group and adding all applicable categories and the site to it.
If you enable Identity Awareness on a Security Gateway, you can use it together with URL Filtering
to make rules that apply to an access role. Use access role objects to define users, machines, and
network locations as one object.
In this example:
• You have already created
• An Access Role that represents all identified users in the organization (Identified_Users).
• A custom application for a site named FreeMovies.
• You want to block sites that can cause liability issues for everyone within your organization.
• You will create a custom group that includes Application Database categories as well as the
previously defined custom site named FreeMovies.
• Action - Drop
Note - Categories are matched on their Recommended services, where each service runs on a
specific port, such as the default Application Control Web Browsing Services: http, https,
HTTP_proxy, and HTTPS_proxy. To change this see Changing Services for Applications and
Categories.
In This Section
The Need for Ordered Layers and Inline Layers ...................................................... 85
Order of Rule Enforcement in Inline Layers ............................................................. 85
Order of Rule Enforcement in Ordered Layers......................................................... 86
Creating an Inline Layer ............................................................................................ 87
Creating a Ordered Layer .......................................................................................... 87
Enabling Access Control Features............................................................................ 88
Types of Rules in the Rule Base................................................................................ 90
Administrators for Access Control Layers ............................................................... 92
Sharing Layers .......................................................................................................... 92
Visual Division of the Rule Base with Sections ......................................................... 93
Exporting Layer Rules to a .CSV File ........................................................................ 93
Managing Policies and Layers .................................................................................. 93
The Inline Layer has a parent rule (Rule 2 in the example), and sub rules (Rules 2.1 and 2.2). The
Action of the parent rule is the name of the Inline Layer.
If the packet does not match the parent rule of the Inline Layer, the matching continues to the next
rule of the Ordered Layer (Rule 3).
If a packet matches the parent rule of the Inline Layer (Rule 2), the Firewall checks it against the
sub rules:
• If the packet matches a sub rule in the Inline Layer (Rule 2.1), no more rule matching is done.
• If none of the higher rules in the Ordered Layer match the packet, the explicit Cleanup Rule is
applied (Rule 2.2). If this rule is missing, the Implicit Cleanup Rule (on page 90) is applied. No
more rule matching is done.
Important - Always add an explicit Cleanup Rule at the end of each Inline Layer, and make sure
that its Action is the same as the Action of the Implicit Cleanup Rule.
Item Description
1 Ordered Layer 1
2 Ordered Layer 2
3 Ordered Layer 3
If none of the rules in the Ordered Layer match the packet, the explicit Default Cleanup Rule is
applied. If this rule is missing, the Implicit Cleanup Rule (on page 90) is applied.
Every Ordered Layer has its own implicit cleanup rule. You can configure the rule to Accept or
Drop in the Layer settings (on page 91).
Important - Always add an explicit Cleanup Rule at the end of each Ordered Layer, and make sure
that its Action is the same as the Action of the Implicit Cleanup Rule.
Pre-R80.10 Gateways: To create a Layer for URL Filtering and Application Control:
1. In SmartConsole, click Security Policies.
2. Right-click a Layer in the Access Control Policy section and select Edit Policy.
The Policy window opens.
3. In the Access Control section, click the plus sign.
4. Click New Layer.
The Layer Editor window opens and shows the General view.
5. Enable Application & URL Filtering on the Layer.
a) Enter a name for the Layer.
We recommend the name Application.
b) In the Blades section, select Applications & URL Filtering.
c) Click OK and the Layer Editor window closes.
d) Click OK and the Policy window closes.
6. Publish the session.
5. Click OK.
Explicit rules
The rules that the administrator configures explicitly, to allow or to block traffic based on
specified criteria.
Important - The default Cleanup rule is an explicit rule that is added by default to every
new layer. You can change or delete the default Cleanup rule. We recommend that you
have an explicit Cleanup rule as the last rule in each layer.
Implied rules
The default rules that are available as part of the Global properties configuration and cannot be
edited. You can only select the implied rules and configure their position in the Rule Base:
• First - Applied first, before all other rules in the Rule Base - explicit or implied
• Last - Applied last, after all other rules in the Rule Base - explicit or implied, but before the
Implicit Cleanup Rule
• Before Last - Applied before the last explicit rule in the Rule Base
Implied rules are configured to allow connections for different services that the Security Gateway
uses. For example, the Accept Control Connections rules allow packets that control these
services:
• Installation of the security policy on a Security Gateway
• Sending logs from a Security Gateway to the Security Management Server
• Connecting to third party application servers, such as RADIUS and TACACS authentication
servers
Sharing Layers
You may need to use the same rules in different parts of a Policy, or have the same rules in
multiple Policy packages.
There is no need to create the rules multiple times. Define an Ordered Layer or an Inline Layer
one time, and mark it as shared. You can then reuse the Inline Layer or Ordered layer in multiple
policy packages or use the Inline Layer in multiple places in an Ordered Layer. This is useful, for
example, if you are an administrator of a corporation and want to share some of the rules among
multiple branches of the corporation:
• It saves time and prevents mistakes.
• To change a shared rule in all of the corporation's branches, you must only make the change
once.
Column Description
No. Rule number in the Rule Base Layer.
Hits Number of times that connections match a rule (on page 112).
Name Name that the system administrator gives this rule.
Source Network objects (on page 94) that define
• Where the traffic starts
Destination
• The destination of the traffic.
VPN The VPN Community to which the rule applies (on page 95).
Services & Services, Applications, Categories, and Sites (on page 96).
Applications If Application & URL Filtering is not enabled, only Services show.
Content The data asset to protect, for example, credit card numbers or medical
records (on page 99).
You can set the direction of the data to Download Traffic (into the
organization), Upload Traffic (out of the organization), or Any Direction.
Action Action that is done when traffic matches the rule (on page 100). Options
include: Accept, Drop, Ask, Inform (UserCheck message), Inline Layer,
and Reject.
Track Tracking and logging action that is done when traffic matches the rule
(on page 101).
Install On Network objects that will get the rule(s) of the policy (on page 111).
Time Time period that this rule is enforced.
Comment An optional field that lets you summarize the rule.
VPN Column
You can configure rules for Site-to-Site VPN, Remote Access VPN, and the Mobile Access portal
and clients.
To make a rule for a VPN Community, add a Site-to-Site Community or a Remote Access VPN
Community object to this column, or select Any to make the rule apply to all VPN Communities.
When you enable Mobile Access on a gateway, the gateway is automatically added to the
RemoteAccess VPN Community. Include that Community in the VPN column of the rule or use Any
to make the rule apply to Mobile Access gateways. If the gateway was removed from the VPN
Community, the VPN column must contain Any.
IPsec VPN
The IPsec VPN solution lets the Security Gateway encrypt and decrypt traffic to and from other
gateways and clients. Use SmartConsole to easily configure VPN connections between Security
Gateways and remote devices.
For Site-to-Site Communities, you can configure Star and Mesh topologies for VPN networks, and
include third-party gateways.
The VPN tunnel guarantees:
• Authenticity - Uses standard authentication methods
• Privacy - All VPN data is encrypted
• Integrity - Uses industry-standard integrity assurance methods
Service Matching
The Firewall identifies (matches) a service according to IP protocol, TCP and UDP port number,
and protocol signature.
To make it possible for the Firewall to match services by protocol signature, you must enable
Applications and URL Filtering on the Gateway and on the Ordered Layer (on page 88).
You can configure TCP and UDP services to be matched by source port.
Application Matching
If an application is allowed in the policy, the rule is matched only on the Recommended services of
the application. This default setting is more secure than allowing the application on all services.
For example: a rule that allows Facebook, allows it only on the Application Control Web Browsing
Services: http, https, HTTP_proxy, and HTTPS_proxy.
If an application is blocked in the policy, it is blocked on all services. It is therefore blocked on all
ports.
You can change the default match settings for applications.
3. Right-click the Services & Applications cell for the rule and select Add New Items.
The Application viewer window opens.
4. Click New > Custom Applications/Site > User Category.
5. Enter a name for the object.
6. Enter a description for the object.
7. Click OK.
Services and Applications on R80 and Lower Gateways, and after Upgrade
For R77.xx and lower Gateways:
• The Firewall matches TCP and UDP services by port number. The Firewall cannot match
services by protocol signature.
• The Firewall matches applications by the application signature.
When you upgrade the Security Management Server and the Gateway to R80 and higher, this
change of behavior occurs:
• Applications that were defined in the Application & URL Filtering Rule Base are accepted on
their recommended ports
Content Column
You can add Data Types to the Content column of rules in the Access Control Policy.
To use the Content column, you must enable Content Awareness, in the General Properties page
of the Security Gateway, and on the Layer.
A Data Type is a classification of data. The Firewall classifies incoming and outgoing traffic
according to Data Types, and enforces the Policy accordingly.
You can set the direction of the data in the Policy to Download Traffic (into the organization),
Upload Traffic (out of the organization), or Any Direction.
There are two kinds of Data Types: Content Types (classified by analyzing the file content) and File
Types (classified by analyzing the file ID).
Content Type examples:
• PCI - credit card numbers
• HIPAA - Medical Records Number - MRN
• International Bank Account Numbers - IBAN
• Source Code - JAVA
• U.S. Social Security Numbers - According to SSA
• Salary Survey Terms
File type examples:
• Viewer File - PDF
• Executable file
• Database file
• Document file
• Presentation file
• Spreadsheet file
Note these limitations:
• Websocket content is not inspected.
• HTTP connections that are not RFC-compliant are not inspected.
To learn more about the Data Types, open the Data Type object in SmartConsole and press the ?
button (or F1) to see the Help.
Note - Content Awareness and Data Loss Prevention (DLP) both use Data Types. However, they
have different features and capabilities. They work independently, and the Security Gateway
enforces them separately.
To learn more about DLP, see the R80.20 Data Loss Prevention Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_DataLossPr
evention_AdminGuide/html_frameset.htm.
Actions Column
Action Meaning
Accept Accepts the traffic
Drop Drops the traffic. The Firewall does not send a response to the originating end of
the connection and the connection eventually does a time-out. If no UserCheck
object is defined for this action, no page is displayed.
Ask Asks the user a question and adds a confirmatory check box, or a reason box.
Uses a UserCheck object.
Inform Sends a message to the user attempting to access the application or the
content. Uses a UserCheck object.
Reject Rejects the traffic. The Firewall sends an RST packet to the originating end of
the connection and the connection is closed.
UserCheck Configure how often the user sees the configured message when the action is
Frequency ask, inform, or block.
Enable Redirects HTTP traffic to an authentication (captive) portal. After the user is
Identity authenticated, new connections from this source are inspected without requiring
Captive Portal authentication.
Important - A rule that drops traffic, with the Source and Destination parameters
defined as Any, also drops traffic to and from the Captive Portal.
UserCheck Actions
UserCheck lets the Security Gateways send messages to users about possible non-compliant or
dangerous Internet browsing. In the Access Control Policy, it works with URL Filtering, Application
Control, and Content Awareness. (You can also use UserCheck in the Data Loss Prevention Policy,
in SmartConsole). Create UserCheck objects and use them in the Rule Base, to communicate with
the users. These actions use UserCheck objects:
• Inform
• Ask
• Drop
UserCheck on a computer
The UserCheck client is installed on endpoint computers. This client:
• Sends messages for applications that are not based on Internet browsers, such as Skype and
iTunes, and Internet browser add-ons and plug-ins.
• Shows a message on the computer when it cannot be shown in the Internet browser.
Tracking Column
These are some of the Tracking options:
• None - Do not generate a log.
• Log - This is the default Track option. It shows all the information that the Security Gateway
used to match the connection.
• Accounting - Select this to update the log at 10 minute intervals, to show how much data has
passed in the connection: Upload bytes, Download bytes, and browse time.
No. Name Source Destinati VPN Services & Content Action Track
on Applications
General compliance (1)
3 Allow uploading Finance Web Servers Any https Upload Accept Log
of credit cards (Access Role) Traffic
numbers, by PCI –
finance, and Credit Card
only over HTTPS Numbers
4 Block other Any Web Servers Any Any Any Drop Log
credit cards Direction
from company PCI –
Web servers Credit Card
Numbers
5 Inform the user Any Any RemoteAccess Any Any Inform Log
about sensitive Direction
data from VPN Salary
sites Survey
Report
cleanup (6)
Rule Explanation
1 General Compliance section - Block access to unacceptable Web sites and applications.
2 Block risky executables section - Block downloading of high risk executable files.
3-4 Credit card data section - Allow uploading of credit cards numbers only by the finance
department, and only over HTTPS. Block other credit cards.
5 Block sensitive data over VPN section - A remote user that connects over the
organization's VPN sees an informational message.
6 cleanup rule - Accept all traffic that does not match one of the earlier rules.
4 Web Servers InternalZone Web Servers Web Any Web Servers N/A
protection
4.3 Block Credit Any Any Any Any Direction Drop Log
Cards PCI - Credit Block
Card Numbers Message
5 Ask user when InternalZone Internet PayPal Any Direction Ask Log
sending credit PCI - Credit Company
cards to PayPal Card Numbers Policy
Access Noti...
once a day
per applic...
Rule Explanation
4 This is the parent rule of the Inline Layer. The Action is the name of the Inline Layer. If a
packet matches on the parent rule, the matching continues to rule 4.1 of the Inline Layer. If
a packet does not match on the parent rule, the matching continues to rule 5.
4.1 If a packet matches on rule 4.1, the rule action is done on the packet, and no more rule
-4.4 matching is done. If a packet does not match on rule 4.1, continue to rule 4.2. The same
logic applies to the remaining rules in the Inline Layer.
4.5 If none of the higher rules in the Ordered Layer match the packet, the explicit Cleanup
Rule is applied. The Cleanup rule is a default explicit rule. You can change or delete it. We
recommend that you have an explicit cleanup rule as the last rule in each Inline Layer and
Ordered Layer.
2 Allow uploading Finance Web Servers https Upload Traffic Accept Log
of credit cards (Access Role) PCI – Credit Card
numbers by Numbers
finance users,
only over HTTPS
3 Block other credit InternalZone Web Servers Any Any Direction Drop Log
cards from PCI – Credit Card Block Message
company Web Numbers
servers
Human Resources
6 Ask user when InternalZone Internet Any Upload Traffic Ask Log
uploading Salary Survey Report Company Policy
documents once a day
containing salary per applicati...
survey reports.
Intellectual Property
7 Matches data InternalZone Internet Any Any Direction Restrict source N/A
containing source Source Code code
code
Rule Explanation
1-3 Regulatory Compliance section - Control the upload and download of executable files and
credit cards.
You can set the direction of the Content. In rule 1 it is Download Traffic, in rule 2 it is
Upload Traffic, and in rule 3 it is Any Direction.
Rule 1 controls executable files, which are File Types. The File Type rule is higher in the
Rule Base than rules with Content Types (Rules 2 to 7). This improves the efficiency of the
Rule Base, because File Types are matched sooner than Content Types.
4-5 Personally Identifiable Information section - Controls the upload and download of social
security number and medical records.
The rule Action for rule 4 is Inform. When an internal user uploads a file with a social
security number, the user sees a message.
6 Human resources section - controls the sending of salary survey information outside of
the organization.
The rule action is Ask. If sensitive content is detected, the user must confirm that the
upload complies with the organization's policy.
7 Intellectual Property section - A group of rules that control how source code leaves the
organization.
Rule 7 is the parent rule of an Inline Layer (on page 85). The Action is the name of the
Inline Layer.
If a packet matches on rule 7.1, matching stops.
If a packet does not match on rule 7.1, continue to rule 7.2. In a similar way, if there is no
match, continue to 7.3. The matching stops on the last rule of the Inline Layer. We
recommend that you have an explicit cleanup rule as the last rule in each Inline Layer
Rule Explanation
1 Liability sites- Blocks traffic to sites and applications in the custom Potential_liability
group. The UserCheck Blocked Message is shown to users and explains why their traffic is
blocked.
2 High risk applications - Blocks traffic to sites and applications in the High Risk category
and blocks the iTunes application. The UserCheck Block Message is shown to users and
explains why their traffic is blocked.
Rule Explanation
3 Allow IT department Remote Admin - Allows the computers in the IT department
network to use the Radmin application. Traffic that uses Radmin is allowed only during the
Work-Hours (set to 8:00 through 18:30, for example).
4 Allow Facebook for HR - Allows computers in the HR network to use Facebook. The total
traffic downloaded from Facebook is limited to 1 Gbps, there is no upload limit.
5 Block these categories - Blocks traffic to these categories: Streaming Media, Social
Networking, P2P File Sharing, and Remote Administration. The UserCheck Blocked
Message is shown to users and explains why their traffic is blocked.
Note - The Remote Administration category blocks traffic that uses the Radmin
application. If this rule is placed before rule 3, then this rule can also block Radmin for the
IT department.
6 Log all applications- Logs all traffic that matches any of the URL Filtering and Application
Control categories.
This is the matching procedure when browsing to a file sharing Web site. Follow the rows from top
to bottom. Follow each row from left to right:
This is the matching procedure when downloading an executable file from a business Web site.
Follow the rows from top to bottom. Follow each row from left to right:
Reason for 2 and 3: Application Control and Content Awareness rules require content
inspection. Therefore, they:
• Allow the connection until the Firewall has inspected connection header and body.
• May affect performance.
4. For rules with Data Types (on page 99): Place rules that check File Types higher in the Rule
Base than rules that check for Content Types.
Reason: File Types are matched sooner than Content Types.
To see examples of some of these best practices, see the Unified Rule Base Use Cases (on page
102) and Creating a Basic Access Control Policy (on page 77).
6. Click Install.
Preventing IP Spoofing
IP spoofing replaces the untrusted source IP address with a fake, trusted one, to hijack
connections to your network. Attackers use IP spoofing to send malware and bots to your
protected network, to execute DoS attacks, or to gain unauthorized access.
Anti-Spoofing detects if a packet with an IP address that is behind a certain interface, arrives from
a different interface. For example, if a packet from an external network has an internal IP
address, Anti-Spoofing blocks that packet.
Example:
The diagram shows a Gateway with interfaces 2 and 3, and 4, and some example networks behind
the interfaces.
Configuring Anti-Spoofing
Make sure to configure Anti-Spoofing protection on all the interfaces of the Security Gateway,
including internal interfaces.
Security Gateway, the Security Management Server, and the SmartConsole can communicate
with each other.
5. Select an interface and click Edit.
The interface properties window opens.
6. From the navigation tree, click General.
7. In the Topology section of the page, click Modify.
The Topology Settings window opens.
8. In the Leads To section, select the type of network, to which this interface leads:
• Internet (External) - This is the default setting. It is automatically calculated from the
topology of the Security Gateway. To update the topology of an internal network after
changes to static routes, click Network Management > Get Interfaces in the Gateway
Properties window.
• Override - Override the default setting.
If you Override the default setting:
• Internet (External) - All external/Internet addresses
• This Network (Internal) -
Not Defined - All IP addresses behind this interface are considered a part of the
internal network that connects to this interface
Network defined by the interface IP and Net Mask - Only the network that directly
connects to this internal interface
Network defined by routes - The Security Gateway dynamically calculates the topology
behind this interface. If the network of this interface changes, there is no need to click
Get Interfaces and install a policy. For more, see the section Dynamically Updating the
Topology (on page 46).
Specific - A specific object (a Network, a Host, an Address Range, or a Network Group)
behind this internal interface
Interface leads to DMZ - The DMZ that directly connects to this internal interface
9. Optional: In the Security Zone section, select User defined, check Specify Security Zone and
choose the zone of the interface.
10. Configure Anti-Spoofing options (on page 116). Make sure that Perform Anti-Spoofing based
on interface topology is selected.
11. Select an Anti-Spoofing action:
• Prevent - Drops spoofed packets
• Detect - Allows spoofed packets. To monitor traffic and to learn about the network topology
without dropping packets, select this option together with the Spoof Tracking Log option.
12. Configure Anti-Spoofing exceptions (optional). For example, configure addresses, from which
packets are not inspected by Anti-Spoofing:
a) Select Don't check packets from.
b) Select an object from the drop-down list, or click New to create a new object.
13. Configure Spoof Tracking - select the tracking action that is done when spoofed packets are
detected:
• Log - Create a log entry (default)
• Alert - Show an alert
• None - Do not log or alert
14. Click OK twice to save Anti-Spoofing settings for the interface.
For each interface, repeat the configuration steps. When finished, install the Access Control
policy.
Anti-Spoofing Options
• Perform Anti-Spoofing based on interface topology - Select this option to enable spoofing
protection on this external interface.
• Anti-Spoofing action is set to - Select this option to define if packets will be rejected (the
Prevent option) or whether the packets will be monitored (the Detect option). The Detect option
is used for monitoring purposes and should be used in conjunction with one of the tracking
options. It serves as a tool for learning the topology of a network without actually preventing
packets from passing.
• Don't check packets from - Select this option to make sure anti-spoofing does not take place
for traffic from internal networks that reaches the external interface. Define a network object
that represents those internal networks with valid addresses, and from the drop-down list,
select that network object. The anti-spoofing enforcement mechanism disregards objects
selected in the Don't check packets from drop-down menu.
• Spoof Tracking - Select a tracking option.
Every IP datagram whose destination address starts with 1110 is an IP multicast datagram.
The remaining 28 bits of the multicast address range identify the group to which the datagram
is sent.
The 224.0.0.0 - 224.0.0.255 range is reserved for LAN applications that are never
forwarded by a router. These addresses are permanent host groups. For example: an ICMP
request to 224.0.0.1 is answered by all multicast capable hosts on the network,
224.0.0.2 is answered by all routers with multicast interfaces, and 224.0.0.13 is
answered by all PIM routers. To learn more, see the IANA website
(http://www.iana.org/assignments/multicast-addresses).
The source address for multicast datagrams is always the unicast source address.
9. Click OK.
10. In the Add Object window, click OK.
11. In the Interface Properties window, click OK.
12. In the gateway window, click OK.
13. In the Rule Base, add a rule that allows the multicast address range as the Destination.
14. In the Services of the rule, add the multicast protocols.
• Multicast routing protocols - For example: Protocol-Independent Multicast (PIM),
Distance Vector Multicast Routing Protocol (DVMRP), and Multicast Extensions to OSPF
(MOSPF).
• Dynamic registration - Hosts use the Internet Group Management Protocol (IGMP) to let
the nearest multicast router know they want to belong to a specified multicast group. Hosts
can leave or join the group at any time.
15. Install the policy.
New Access Control Policy for pre-R80 Security Gateways on an R80 Security
Management Server must have this structure:
1. The first Policy Layer is the Network Layer (with the Firewall blade enabled on it).
2. The second Policy Layer is the Application & URL Filtering Layer (with the Application & URL
Filtering blade enabled on it).
3. There are no other Policy Layers.
If the Access Control Policy has a different structure, the policy will fail to install.
You can change the names of the Layers, for example, to make them more descriptive.
Each new Policy Layer will have the explicit default rule, added automatically and set to Drop all
the traffic that does not match any rule in that Policy Layer. We recommend that the Action is set
to Drop for the Network Policy Layer and Accept for the Application Control Policy Layer.
If you remove the default rule, the Implicit Cleanup Rule will be enforced. The Implicit Cleanup
Rule is configured in the Policy configuration window and is not visible in the Rule Base table.
Make sure the Implicit Cleanup Rule is configured to Drop the unmatched traffic for the Network
Policy Layer and to Accept the unmatched traffic for the Application Control Policy Layer.
CHAPTER 8
internal computers; external computers CANNOT access internal servers. The Firewall can
translate up to 50,000 connections at the same time from external computers and servers.
• Hide NAT with Port Translation - Use one IP address and let external users access multiple
application servers in a hidden network. The Firewall uses the requested service (or
destination port) to send the traffic to the correct server. A typical configuration can use these
ports: FTP server (port 21), SMTP server (port 25) and an HTTP server (port 80). It is necessary
to create manual NAT rules (on page 122) to use Port Translation.
Item Description
3 External computers and servers in the Internet
2 Security Gateway - Firewall is configured with Static NAT
1 Internal computers
back a packet to the external computer. The Firewall intercepts the packet and translates the
source IP address to 192.0.2.5.
Internal computer B (10.10.0.37) sends a packet to an external computer. The Firewall intercepts
the packet translates the source IP address to 192.0.2.16.
Internal computer A
Firewall translates this Internet receives packet
(10.10.0.26) sends packet
address to 192.0.2.5 from 192.0.2.5
to Internet
Internal computer B
Firewall translates this Internet receives packet
(10.10.0.37) sends packet
address to 192.0.2.16 from 192.0.2.16
to Internet
Hide NAT
Firewalls that do Hide NAT use different port numbers to translate internal IP address to one
external IP address. External computers cannot start a connection to an internal computer.
Item Description
1 Internal computers
2 Security Gateway - Firewall is configured with Hide NAT
3 External computers and servers in the Internet
NAT Rules
The NAT Rule Base has two sections that specify how the IP addresses are translated:
• Original Packet
• Translated Packet
Each section in the NAT Rule Base is divided into cells that define the Source, Destination, and
Service for the traffic.
Item Description
1 Internal networks
2 Security Gateway - Firewall is configured with automatic Hide NAT.
2A and 2B Two external interfaces 192.0.2.1 and 192.0.2.100.
1 -->3 External computers and servers on the Internet
Source IP addresses are translated to the applicable external interface IP address: 192.0.2.1 or
192.0.2.100.
Note - If a connection matches a regular NAT rule and a NAT-for-internal-networks rule, the
regular NAT rule takes precedence.
Item Description
1 Internal computers (Alaska_LAN 2001:db8::/64)
2 Web server (Alaska.Web 2001:db8:0:10::5 translated to 2001:db8:0:a::5)
3 Mail server (Alaska.Mail 2001:db8:0:10::6 translated to 2001:db8:0:a::6)
4 Security Gateway (External interface 2001:db8:0:a::1)
5 External computers and servers in the Internet
Item Description
1 External computers and servers in the Internet
2 Security Gateway (Alaska_GW external interface 2001:db8:0:c::1)
3 DMZ network (Alaska_DMZ 2001:db8:a::/128)
4 Web server (Alaska_DMZ_Web 2001:db8:a::35:5 translated to 2001:db8:0:c::1)
5 Mail server (Alaska_DMZ_Mail 2001:db8:a::35:6 translated to 2001:db8:0:c::1)
RFC 6052 https://tools.ietf.org/html/rfc6052, and an IPv6 prefix assigned to the stateful NAT64 for
this specific purpose.
Note - For information about DNS64, see RFC 6147 https://tools.ietf.org/html/rfc6147.
Properties of Stateful NAT64:
• Performs N:M translation:
• N must be greater than M
• If M=1, performs a Hide NAT behind a single IPv4 address.
• If M>1, performs a Hide NAT behind a range of IPv4 addresses.
• Gives good IPv4 address preservation (multiplexed using ports).
• Saves connection states and binding.
• There are no requirements on the assignment of IPv6 addresses to IPv6 clients. Any mode of
IPv6 address assignment is legitimate (Manual, DHCP6, SLAAC).
• It is a scalable solution.
NAT64 use case scenarios:
• [IPv6 Network] --- (Internet) --- [Security Gateway] --- [internal IPv4 Network]
Common use case for Content Providers. DNS64 is not needed.
• [internal IPv6 Network] --- [Security Gateway] --- (Internet) --- [IPv4 Network]
Common use case for Carriers, ISPs, Enterprises. DNS64 is required.
• [IPv6 Network] --- [Security Gateway] --- [IPv4 Network]
Common use case for Enterprises. DNS64 is required.
R80.20 supports these standards for NAT64:
• RFC 6144 https://tools.ietf.org/html/rfc6146 - Framework for IPv4/IPv6 Translation
• RFC 6146 https://tools.ietf.org/html/rfc6146 - Stateful NAT64: Network Address and Protocol
Translation from IPv6 Clients to IPv4 Servers
• RFC 6052 https://tools.ietf.org/html/rfc6052 - IPv6 Addressing of IPv4/IPv6 Translators
• RFC 6145 https://tools.ietf.org/html/rfc6145 - IP/ICMP Translation Algorithm
• RFC 2428 https://tools.ietf.org/html/rfc2428 - FTP Extensions for IPv6 and NATs
• RFC 6384 https://tools.ietf.org/html/rfc6384 - An FTP Application Layer Gateway (ALG) for
IPv6-to-IPv4 Translation
R80.20 does not support these features for NAT64:
• VoIP traffic.
• HTTPS Inspection.
• SSL de-multiplexer.
• Security Gateway in HTTP Proxy mode.
• IPS protection "HTTP Header Spoofing".
Step Instructions
1 Make sure that an IPv6 address is assigned to the interface that connects to the
destination IPv4 network, and the IPv6 network prefix length is equal to, or less than 96.
Note - This can be any valid IPv6 address with the IPv6 network prefix length equal to,
or less than 96.
• In Gaia Portal:
Click Network Management > Network Interfaces.
• In Gaia Clish:
Run: show interface <Name of Interface> ipv6-address
If such IPv6 address is not assigned yet, assign it now. For details, see R80.20 Gaia
Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_G
aia_AdminGuide/html_frameset.htm - Chapter Network Management - Section
Network Interfaces - Section Physical Interfaces.
2 Make sure that the IPv6 routing is configured to send the traffic that is destined to the
NATed IPv6 addresses (defined in the Original Destination column in the NAT64 rule)
through the interface that connects to the destination IPv4 network.
• In Gaia Portal:
Click Advanced Routing > Routing Monitor.
• In Gaia Clish:
Run: show ipv6 route
If such route does not already exist, add it in Gaia Clish. For details, see R80.20 Gaia
Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_G
aia_AdminGuide/html_frameset.htm. Run these commands in Gaia Clish:
1. set ipv6 static-route <NATed Destination IPv6 Addresses>/<96 or less>
nexthop gateway <Any IPv6 Address from the IPv6 subnet of the Interface that
connects to the destination real IPv4 network> on
Example topology:
[IPv6 Client] --- (NATed IPv6 of IPv4 side are 1111:2222::/96) [Security Gateway]
(eth3 with IPv6 3333:4444::1) --- [IPv4 Server]
In such case, configure the IPv6 route using this command:
set ipv6 static-route 1111:2222::/96 nexthop gateway
3333:4444::10 on
2. save config
Step Instructions
3 Make sure that the number of IPv6 CoreXL FW instances is equal to the number of IPv4
CoreXL FW instances.
1. Connect to the command line on the Security Gateway.
2. Log in to Gaia Clish, or Expert mode.
3. Show the number of IPv6 CoreXL FW instances. Run:
fw6 ctl multik stat
4. Show the number of IPv4 CoreXL FW instances. Run:
fw ctl multik stat
5. If the number of IPv6 CoreXL FW instances is less than the number of IPv4 CoreXL
FW instances, then do these steps:
a) Run:
cpconfig
b) Select Check Point CoreXL
c) Select Change the number of IPv6 firewall instances
d) Configure the number of IPv6 CoreXL FW instances to be the same as the
number of IPv4 CoreXL FW instances
e) Select Exit
f) Reboot the Security Gateway
6. Connect to the command line on the Security Gateway.
7. Log in to Gaia Clish, or Expert mode.
8. Show the number of IPv6 CoreXL FW instances. Run:
fw6 ctl multik stat
9. Show the number of IPv4 CoreXL FW instances. Run:
fw ctl multik stat
Example output:
[Expert@GW:0]# fw6 ctl multik stat
ID | Active | CPU | Connections | Peak
----------------------------------------------
0 | Yes | 3 | 0 | 0
1 | Yes | 2 | 0 | 4
2 | Yes | 1 | 0 | 2
[Expert@GW:0]#
[Expert@GW:0]# fw ctl multik stat
ID | Active | CPU | Connections | Peak
----------------------------------------------
0 | Yes | 3 | 10 | 14
1 | Yes | 2 | 6 | 15
2 | Yes | 1 | 7 | 15
[Expert@GW:0]#
2. Define a translated destination IPv6 Network object with an IPv4-embedded IPv6 address, or a
translated destination IPv6 Host object with a static IPv6 address.
This object represents the translated destination IPv6 address, to which the IPv6 sources
connect.
3. Define a translated source IPv4 Address Range object.
This object represents the translated source IPv4 addresses, to which you translate the
original source IPv6 addresses.
4. Create a Manual NAT64 rule.
5. Install the Access Policy.
To define a source IPv6 Network object that represents the source IPv6 address, which
you translate to source IPv4 addresses:
1. Click Objects menu > New Network.
2. In the Object Name field, enter the applicable name.
3. In the Comment field, enter the applicable text.
4. Click the General page of this object.
5. In the IPv4 section:
Do not enter anything.
6. In the IPv6 section:
a) In the Network address field, enter the IPv6 address of your IPv6 network, which you
translate to source IPv4 addresses.
b) In the Prefix field, enter the prefix of your IPv6 network.
7. On the NAT page of this object:
Do not configure anything.
8. Click OK.
To define a translated destination IPv6 Host object with static IPv6 address that
represents the IPv6 address, to which the IPv6 sources connect:
1. Click Objects menu > New Host.
2. In the Object Name field, enter the applicable name.
3. In the Comment field, enter the applicable text.
4. Click the General page of this object.
5. In the IPv4 section:
Do not enter anything.
6. In the IPv6 section:
In the Network address field, enter the destination static IPv6 address, to which the IPv6
sources connect.
7. On the NAT page of this object:
Do not configure anything.
8. Configure the applicable settings on other pages of this object.
9. Click OK.
To define a translated source IPv4 Address Range object that represents the IPv4
addresses, to which you translate the source IPv6 addresses:
1. Click Objects menu > More object types > Network Object > Address Range > New Address
Range.
2. In the Object Name field, enter the applicable name.
3. In the Comment field, enter the applicable text.
4. Click the General page of this object.
5. In the IPv4 section:
a) In the First IP address field, enter the first IPv4 address of your IPv4 addresses range, to
which you translate the source IPv6 addresses.
b) In the Last IP address field, enter the last IPv4 address of your IPv4 addresses range, to
which you translate the source IPv6 addresses.
Notes:
• This IPv4 addresses range must not use private IPv4 addresses (see RFC 1918
https://tools.ietf.org/html/rfc1918 and Menu > Global properties > Non Unique IP Address
Range).
• This IPv4 addresses range must not be used on the IPv4 side of the network.
• We recommend that you define a large IPv4 addresses range for more concurrent NAT64
connections.
6. In the IPv6 section:
Do not enter anything.
To summarize, you must configure only these Manual NAT64 rules (rule numbers are for
convenience only):
Item Description
IPv6 Client IPv6 real address is 1111:1111::0100/96
Security Gateway IPv6 address is 1111:1111::1/96
external interface
Security Gateway IPv4 address is 10.0.0.1/24
internal interface IPv6 address is 3333:4444::1/96
IPv4 Server IPv4 real address is 10.0.0.100/24
IPv6 NATed address is 1111:2222::0A00:0064/96
IPv6 NATed network IPv6 address of the network on the external Security Gateway side is
1111:2222::/96
These IPv6 addresses are used to translate the IPv4 address of the IPv4
Server to the IPv6 address
IPv4 NATed network IPv4 address of the network on the internal Security Gateway side is
1.1.1.0/24
These IPv4 addresses are used to translate the IPv6 address of the IPv6
Client to the IPv4 address
Traffic flow:
1. IPv6 Client opens an IPv6 connection to the NATed IPv6 address of the IPv4 Server:
From the IPv6 Client's IPv6 real address 1111:1111::0100 to the IPv4 Server's NATed IPv6
address 1111:2222::0A00:0064
Where:
The "1111:2222::" part is the NATed IPv6 subnet
The "0A00:0064" part is 10.0.0.100
2. Security Gateway performs these NAT translations:
a) Translate the IPv6 Client's source address from the real IPv6 address 1111:1111::0100 to
the special concatenated source IPv6 address 0064:FF9B::0101:01XX
Where:
The "0064:FF9B::" part is a well-known prefix reserved for NAT64 (as defined by the RFC)
The "0101:01XX" part is 1.1.1.X
b) Translate the IPv6 Client's source address from the special concatenated source IPv6
address 0064:FF9B::0101:01XX to the source IPv4 address 1.1.1.X
c) Translate the IPv6 Client's NATed destination address from the IPv6 address
1111:2222::0A00:0064 to the NATed destination IPv4 address 10.0.0.100
3. IPv4 Server receives this request connection as from the source IPv4 address 1.1.1.X to the
destination IPv4 address 10.0.0.100
4. IPv4 Server replies to this connection from the source IPv4 address 10.0.0.100 to the
destination IPv4 address 1.1.1.X
5. Security Gateway performs these NAT translations:
a) Translate the IPv4 Server's source real IPv4 address 10.0.0.100 to the source NATed IPv6
address 1111:2222::0A00:0064
b) Translate the IPv6 Client's NATed destination IPv4 address 1.1.1.X to the destination
special concatenated IPv6 address 0064:FF9B::0101:01XX
Where:
The "64:FF9B::" part is a well-known prefix reserved for NAT64 (as defined by the RFC)
The "0101:01XX" part is 1.1.1.X
c) Translate the IPv6 Client's destination special concatenated IPv6 address
0064:FF9B::0101:01XX to the destination IPv6 real address 1111:1111::0100
6. IPv6 Client receives this reply connection as from the source IPv6 address
1111:2222::0A00:0064 to the destination IPv6 address 1111:1111::0100
To summarize:
• Request: [IPv6 Client] ---> [Security Gateway] ---> [IPv4 Server]
Field in packet Original IPv6 packet NATed IPv4 packet
Source IP 1111:1111::0100 / 96 1.1.1.X / 24
Destination IP 1111:2222::0A00:0064 / 96 10.0.0.100 / 24
Step Instructions
1 Make sure that an IPv6 address is assigned to the interface that connects to the
destination IPv6 network, and the IPv6 network prefix length is equal to 96.
Note - This can be any valid IPv6 address with the IPv6 network prefix length equal to
96.
• In Gaia Portal:
Click Network Management > Network Interfaces.
• In Gaia Clish:
Run: show interface <Name of Interface> ipv6-address
If such IPv6 address is not assigned yet, assign it now. For details, see R80.20 Gaia
Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_G
aia_AdminGuide/html_frameset.htm - Chapter Network Management - Section
Network Interfaces - Section Physical Interfaces.
Step Instructions
2 Make sure that the routing is configured to send the traffic that is destined to the
NATed IPv4 addresses (defined in the Translated Destination column in the NAT46 rule)
through the interface that connects to the destination IPv6 network.
• In Gaia Portal:
Click Advanced Routing > Routing Monitor.
• In Gaia Clish:
Run: show route
If such route does not already exist, add it in Gaia Clish. For details, see R80.20 Gaia
Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_G
aia_AdminGuide/html_frameset.htm. Run these commands in Gaia Clish:
1. set static route <NATed Destination IPv4 Addresses>/<NATed IPv4 Net Mask>
nexthop gateway logical <Name of Interface that connects to the real IPv6
Network> on
Example topology:
[IPv4 Client] --- (NATed IPv4 of IPv6 side are 1.1.1.0/24) [Security Gateway] (eth3) ---
[IPv6 Server]
In such case, configure the IPv4 route using this command:
set static route 1.1.1.0/24 nexthop gateway logical eth3 on
2. save config
Step Instructions
3 Make sure that the number of IPv6 CoreXL FW instances is equal to the number of IPv4
CoreXL FW instances.
1. Connect to the command line on the Security Gateway.
2. Log in to Gaia Clish, or Expert mode.
3. Show the number of IPv6 CoreXL FW instances. Run:
fw6 ctl multik stat
4. Show the number of IPv4 CoreXL FW instances. Run:
fw ctl multik stat
5. If the number of IPv6 CoreXL FW instances is less than the number of IPv4 CoreXL
FW instances, then do these steps:
a) Run:
cpconfig
b) Select Check Point CoreXL
c) Select Change the number of IPv6 firewall instances
d) Configure the number of IPv6 CoreXL FW instances to be the same as the
number of IPv4 CoreXL FW instances
e) Select Exit
f) Reboot the Security Gateway
6. Connect to the command line on the Security Gateway.
7. Log in to Gaia Clish, or Expert mode.
8. Show the number of IPv6 CoreXL FW instances. Run:
fw6 ctl multik stat
9. Show the number of IPv4 CoreXL FW instances. Run:
fw ctl multik stat
Example output:
[Expert@GW:0]# fw6 ctl multik stat
ID | Active | CPU | Connections | Peak
----------------------------------------------
0 | Yes | 3 | 0 | 0
1 | Yes | 2 | 0 | 4
2 | Yes | 1 | 0 | 2
[Expert@GW:0]#
[Expert@GW:0]# fw ctl multik stat
ID | Active | CPU | Connections | Peak
----------------------------------------------
0 | Yes | 3 | 10 | 14
1 | Yes | 2 | 6 | 15
2 | Yes | 1 | 7 | 15
[Expert@GW:0]#
3. Define a translated source IPv6 Network object with an IPv6 address defined with the 96-bit
prefix.
This object represents the translated source IPv6 addresses, to which you translate the source
IPv4 addresses.
4. Define a translated destination IPv6 Host object.
This object represents the translated destination IPv6 address, to which the translated IPv4
sources connect.
5. Create a Manual NAT46 rule.
6. Install the Access Policy.
To define a translated source IPv6 Network object with an IPv6 address defined with the
96-bit prefix:
1. Click Objects menu > New Network.
2. In the Object Name field, enter the applicable name.
3. In the Comment field, enter the applicable text.
4. Click the General page of this object.
5. In the IPv4 section:
Do not enter anything.
6. In the IPv6 section:
a) In the Network address field, enter the translated source IPv6 address.
b) In the Prefix field, enter the number 96.
7. On the NAT page of this object:
Do not configure anything.
8. Click OK.
c) In the Original Services column, you must leave the default Any.
d) In the Translated Source column, add the IPv6 Network object with an IPv6 address
defined with the 96-bit prefix.
In this rule column, NAT64 rules support only IPv6 Network objects with an IPv6 address
defined with the 96-bit prefix.
e) In the Translated Source column, right-click the IPv6 Network object with the 96-bit prefix
> click NAT Method > click Stateless NAT46.
The 46 icon shows in the Translated Source column.
f) In the Translated Destination column, add the IPv6 Host object represents the translated
destination IPv6 address, to which the translated IPv4 sources connect.
In this rule column, NAT46 rule supports only an IPv6 Host objects.
g) In the Translated Services column, you must leave the default = Original.
To summarize, you must configure only these NAT46 rules (rule numbers are for convenience
only):
# Original Original Original Translated Translated Translated
Source Destination Services Source Destination Services
1 *Any IPv4 *Any IPv6 IPv6 = Original
Host Network Host
object object object
with an
IPv6 address
defined with
the 96-bit
prefix
2 IPv4 IPv4 *Any IPv6 IPv6 = Original
Host Host Network Host
object object object object
with with an
a static IPv6 address
IPv4 defined with
address the 96-bit
prefix
3 IPv4 IPv4 *Any IPv6 IPv6 = Original
Address Host Network Host
Range object object object
object with an
IPv6 address
defined with
the 96-bit
prefix
Xlate (NAT ) Shows the translated destination IPv6 address, to which the Security Gateway
Destination IP translated the original destination IPv4 address
Item Description
IPv4 Client IPv4 real address is 192.168.2.55
IPv6 NATed address is 2001:DB8:90::192.168.2.55/96
Security Gateway internal IPv4 address is 192.168.2.1/24
interface
Security Gateway external IPv6 address is 2001:DB8:5001::1/96
interface
IPv6 Server IPv6 real address is 2001:DB8:5001::30/96
IPv4 NATed address is 1.1.1.66/24
IPv6 NATed network IPv6 address of the network on the external Security Gateway
side is 2001:DB8:90::/96
These IPv6 addresses are used to translate the IPv4 address
of the IPv4 Client to IPv6 address
Item Description
IPv4 NATed network IPv4 address of the network on the internal Security Gateway
side is 1.1.1.0/24
These IPv4 addresses are used to translate the IPv6 address
of the IPv6 Server to IPv4 address
Traffic flow:
1. IPv4 Client opens an IPv4 connection to the NATed IPv4 address of the IPv6 Server
From IPv4 address 192.168.2.55 to IPv4 address 1.1.1.66
2. Security Gateway performs these NAT translations:
a) From the source IPv4 address 192.168.2.55 to the source IPv6 address
2001:DB8:90::192.168.2.55/96
b) From the destination IPv4 address 1.1.1.66 to the destination IPv6 address
2001:DB8:5001::30
3. IPv6 Server receives this request connection as from the IPv6 address
2001:DB8:90::192.168.2.55/96 to the IPv6 address 2001:DB8:5001::30
4. IPv6 Server replies to this connection from the IPv6 address 2001:DB8:5001::30 to the IPv6
address 2001:DB8:90::192.168.2.55/96
5. Security Gateway performs these NAT translations:
a) From the source IPv6 address 2001:DB8:5001::30 to the source IPv4 address 1.1.1.66
b) From the destination IPv6 address 2001:DB8:90::192.168.2.55/96 to the destination IPv4
address 192.168.2.55
6. IPv4 Client receives this reply connection as from the IPv4 address 1.1.1.66 to the IPv4 address
192.168.2.55
To summarize:
• Request: [IPv4 Client] ---> [Security Gateway] ---> [IPv6 Server]
Field in packet Original IPv4 packet NATed IPv6 packet
Source IP 192.168.2.55 / 24 2001:DB8:90::192.168.2.55 / 96
Destination IP 1.1.1.66 / 24 2001:DB8:5001::30 / 96
Deployment Configurations
This section discusses how to configure NAT in some network deployments.
Item Description
1 Computer on the internal network with IP address 10.1.1.3
2 Security Gateway with external interface IP address 192.168.0.2 responds to ARP
Requests on behalf of translated internal objects
3 Translated IP Address 192.168.0.3 on the external network
4 External network
If you are using manual NAT rules, you must configure Proxy ARP entries to associate the
translated IP address with the MAC address of the Security Gateway interface that is on the same
network as the translated IP addresses.
See sk30197 http://supportcontent.checkpoint.com/solutions?id=sk30197 for more information
about configuring:
• Proxy ARP for IPv4 Manual NAT
• Proxy ARP for Scalable Platforms
See sk91905 http://supportcontent.checkpoint.com/solutions?id=sk91905 for more about
configuring Proxy NDP for IPv6 Manual NAT.
For example, assume both Network 2A and Network 2B share the same address space
(192.168.1.0/24), therefore standard NAT cannot be used to enable communication between the
two networks. Instead, overlapping NAT must be performed on a per interface basis.
Users in Network 2A who want to communicate with users in Network 2B must use the
192.168.30.0/24 network as a destination. Users in Network 2B who want to communicate with
users in Network 2A must use the 192.168.20.0/24 network as a destination.
The Security Gateway (4) translates the IP addresses in the following way for each individual
interface:
Interface 4A
• Inbound source IP addresses are translated to the virtual network 192.168.20.0/24.
• Outbound destination IP addresses are translated to the network 192.168.1.0/24.
Interface 4B
• Inbound source IP addresses are translated to the network 192.168.30.0/24.
• Outbound destination IP addresses are translated to the network 192.168.1.0/24.
Interface 4C
Overlapping NAT is not configured for this interface. Instead, use NAT Hide in the normal way (not
on a per-interface basis) to hide source addresses behind the interface's IP address (192.168.4.1).
Communication Examples
This section describes how to enable communication between internal networks, and between an
internal network and the Internet
Security Gateway enforces the security policy for packets from network 192.168.20.0/24 to
network 192.168.30.0/24.
The Security Gateway (4) enforces the security policy for packets from network 192.168.20.0/24
to the Internet (3).
Routing Considerations
To allow routing from Network 2A to Network 2B, routing must be configured on the Security
Gateway.
These sections contain sample routing commands for Windows and Linux operating systems (for
other operating systems, use the equivalent commands).
On Windows
• route add 192.168.30.0 mask 255.255.255.0 192.168.3.2
• route add 192.168.20.0 mask 255.255.255.0 192.168.2.2
On Linux
• route add -net 192.168.30.0/24 gw 192.168.3.2
• route add -net 192.168.20.0/24 gw 192.168.2.2
Object Database Configuration
To activate the overlapping NAT feature, use GuiDBedit Tool (see sk13009
http://supportcontent.checkpoint.com/solutions?id=sk13009), or dbedit (see skI3301
http://supportcontent.checkpoint.com/solutions?id=skI3301). In the sample network
configuration, the per interface values for interface 4A and interface 4B are set in the following
way:
Sample Network Configuration: Interface Configuration
Parameter Value
enable_overlapping_nat true
overlap_nat_dst_ipaddr The overlapping IP addresses (before NAT). In the sample
network configuration, 192.168.1.0 for both interfaces.
Item Description
1 Primary_Security_Management object with IP address 10.0.0.1. Translated address
192.168.55.1
In ordinary Hide NAT configurations, connections cannot be established from the external side the
NAT A Security Gateway. However, when using Hide NAT on the Security Management Server,
gateways can send logs to the Security Management Server.
When using the Security Management behind NAT feature, the remote gateway automatically
selects the Security Management address to be addressed and simultaneously applies NAT
considerations.
Notes:
• Only one object can be defined with these settings, unless the second object is defined as a
Secondary Security Management Server or as a Log Server.
• Ensure that you properly define the Topology settings on all gateways. All workarounds
required for previous versions still function with no changes in their behavior.
Configuring the Security Management Server Object
IP Pool NAT
An IP Pool is a range of IP addresses (an address range, a network or a group of one of these
objects) that is routable to the gateway. IP Pool NAT ensures proper routing for encrypted
connections for the following two connection scenarios:
• Remote Access Client to MEP (Multiple Entry Point) gateways
• Gateway to MEP gateways
When a connection is opened from a Remote Access Client or a client behind a gateway, to a
server behind the MEP Gateways, the packets are routed through one of the MEP gateways.
Return packets in the connection must be routed back through the same gateway in order to
maintain the connection. To ensure that this occurs, each of the MEP gateways maintains a pool of
IP addresses that are routable to the gateway. When a connection is opened to a server, the
gateway substitutes an IP address from the IP pool for the source IP address. Reply packets from
the server return to the gateway, which restores the original source IP address and forwards the
packets to the source.
Item Description
1 Packets from source host:
Source: Original
Destination:
2 VPN tunnel through the Internet
3 MEP Gateway
3A IP Pool 1 packets:
Source: 10.55.8.x
Destination:
3B IP Pool 2 packets:
Source: 10.55.10.x
Destination:
Item Description
4 Internal network 10.8.8.0
5 Target host in internal network 10.10.10.0
If a remote client opens a connection to the internal network, reply packets from hosts inside the
internal networks are routed to the correct gateway interface through the use of static IP pool
NAT addresses.
The remote client's IP address is NATed to an address in the IP pool on one of the gateway
interfaces. The addresses in the IP pool can be routed only through that gateway interface so that
all reply packets from the target host are returned only to that interface. Therefore, it is important
that the IP NAT pools of the interfaces do not overlap.
When the packet returns to the gateway interface, the gateway restores the remote peer's source
IP address.
The routing tables on the routers that lie behind the gateway must be edited so that addresses
from a gateway IP pool are returned to the correct gateway interface.
Switching between IP Pool NAT per gateway and IP Pool NAT per interface and then installing the
security policy deletes all IP Pool allocation and all NATed connections.
NAT Priorities
IP Pool NAT can be used both for encrypted (VPN) and non-encrypted (decrypted by the gateway)
connections.
Note - To enable IP Pool NAT for clear connections through the gateway, configure INSPECT
changes in the user.def file (see sk98239
http://supportcontent.checkpoint.com/solutions?id=sk98239). Contact Check Point Technical
Support.
For non-encrypted connections, IP Pool NAT has the following advantages over Hide NAT:
• New back connections (for example, X11) can be opened to the NATed host.
• User-to-IP server mapping of protocols that allow one connection per IP can work with a
number of hosts instead of only one host.
• IPsec, GRE and IGMP protocols can be NATed using IP Pool NAT (and Static NAT). Hide NAT
works only with TCP, UDP and ICMP protocols.
Because of these advantages, you can specify that IP Pool NAT has priority over Hide NAT, if both
match the same connection. Hide NAT is only applied if the IP pool is used up.
The order of NAT priorities are:
1. Static NAT
2. IP Pool NAT
3. Hide NAT
Since Static NAT has all of the advantages of IP Pool NAT and more, it has a higher priority than
the other NAT methods.
Using IP Pool allocation per destination, two different clients can receive the same IP from the
pool as long as they communicate with different servers (connections 1 and 2). When reusing
addresses from the IP Pool, back connections are supported from the original server only
(connection 3). This means that connections back to the client can be opened only from the
specific server to which the connection was opened.
Item Description
1 Gateway with IP Pool addresses A to Z
2 Clients.
Source: Original
Destination:
6A This server cannot open a connection with Destination A back to the client.
The default Do not reuse IP Pool NAT behavior means that each IP address in the IP Pool is used
once (connections 1 and 2 in the following illustration). In this mode, if an IP pool contains 20
addresses, up to 20 different clients can be NATed and back connections can be opened from any
source to the client (connection 3).
Item Description
1 Gateway with IP Pool addresses A to Z.
Item Description
2 Clients.
Source: Original
Destination:
5 Connection.
Source: Original
Destination: A
Switching between the Reuse and Do not reuse modes and then installing the security policy,
deletes all IP Pool allocations and all NATed connections.
8. Click Advanced.
a) Return unused addresses to IP Pool after: Addresses in the pool are reserved for 60
minutes (default), even if the user logs off. If the user disconnects from their ISP and then
redials and reconnects, there will be two Pool NAT addresses in use for the user until the
first address from the IP Pool times out. If users regularly lose their ISP connections, you
may want to decrease the time-out to prevent the IP Pool from being depleted.
b) Reuse IP addresses from the pool for different destinations: This is a good option unless
you need to allow back connections to be opened to clients from any source, rather than
just from the specific server to which the client originally opened the connection.
9. Click OK.
10. Edit the routing table of each internal router so that packets with an IP address assigned from
the NAT pool are routed to the appropriate gateway or, if using IP Pools per interface, the
appropriate gateway interface.
Site-to-Site VPN
The basis of Site-to-Site VPN is the encrypted VPN tunnel. Two Security Gateways negotiate a link
and create a VPN tunnel and each tunnel can contain more than one VPN connection. One Security
Gateway can maintain more than one VPN tunnel at the same time.
Item Description
A, B Security Gateways
2 VPN tunnel
3 Internal network in VPN domain
4 Host 4
Item Description
5 Host 5
In this sample VPN deployment, Host 4 and Host 5 securely send data to each other. The Security
Gateways perform IKE negotiation and create a VPN tunnel. They use the IPsec protocol to encrypt
and decrypt data that is sent between Host 4 and Host 5.
VPN Workflow
VPN Communities
A VPN Domain is a collection of internal networks that use Security Gateways to send and receive
VPN traffic. Define the resources that are included in the VPN Domain for each Security Gateway.
Then join the Security Gateways into a VPN community - collection of VPN tunnels and their
attributes. Network resources of different VPN Domains can securely communicate with each
other through VPN tunnels that terminate at the Security Gateways in the VPN communities.
VPN communities are based on Star and Mesh topologies. In a Mesh community, there are VPN
tunnels between each pair of Security Gateway. In a Star community, each satellite Security
Gateway has a VPN tunnel to the central Security Gateway, but not to other Security Gateways in
the community.
Item Description
1 Security Gateway
2 Satellite Security Gateways
3 Central Security Gateway
Item Description
1 London Security Gateway
2 New York Security Gateway
3 London - New York Mesh community
4 London company partner (external network)
5 London Star community
6 New York company partner (external network)
7 New York Star community
This deployment is composed of a Mesh community for London and New York Security Gateways
that share internal networks. The Security Gateways for external networks of company partners
do not have access to the London and New York internal networks. However, the Star VPN
communities let the company partners access the internal networks of the sites that they work
with.
1. Automatic rule that SmartConsole adds to the top of the Implied Rules when the Accept All
Encrypted Traffic configuration option is selected for the BranchOffices VPN community
and the LondonOffices VPN community. This rule is installed on all the Security Gateways
in these communities. It allows all VPN traffic to hosts and clients on the internal networks of
these communities. Traffic that is sent to the Security Gateways in these VPN communities is
dropped.
Note - This automatic rule can apply to more than one VPN community.
2. Site-to-site VPN - Connections between hosts in the VPN Domains of all Site-to-Site VPN
communities are allowed. These are the only protocols that are allowed: FTP, HTTP, HTTPS
and SMTP.
3. Remote access - Connections between hosts in the VPN Domains of Remote Access VPN
community are allowed. These are the only protocols that are allowed: HTTP, HTTPS, and
IMAP.
• The remote access client can be connected to a LAN with internal IP addresses (such as, at
hotels)
• It is necessary for the remote client to use protocols that are not supported
The Check Point IPsec VPN Software Blade provides these VPN connectivity modes to help
organizations resolve those challenges:
• Office Mode
Remote users can be assigned the same or non-routable IP addresses from the local ISP.
Office Mode solves these routing problems and encapsulates the IP packets with an available
IP address from the internal network. Remote users can send traffic as if they are in the office
and avoid VPN routing problems.
• Visitor Mode
Remote users can be restricted to using only HTTP and HTTPS protocols. Visitor Mode lets
these users tunnel all protocols through regular TCP connections on port 443.
R80 Smart
Configure LDAP LDAP
Manage Users? Console Configure users
Account Unit
Install policy
d) Users open the Capsule Workspace app and enter the Mobile Access Site Name and
necessary authentication, such as user name and password.
Configure
Select the policy Update the
Enable Mobile settings in
type and add Authentication
Access Mobile Access
rules to policy settings
wizard
Item Description
1 Mobile devices
2 Mobile Access tunnels
3 Internet (external networks)
4 Mobile Access Security Gateway
5 Internal network resources, AD and Exchange servers
In this sample Mobile Access deployment, a mobile device uses a Mobile Access tunnel to connect
to the internal network. The Mobile Access Security Gateway decrypts the packets and
authenticates the user. The connection is allowed and the mobile device connects to the internal
network resources.
computers and devices. Create a Host Node object for the Exchange server, all of the other objects
are predefined.
All connections from the RemoteAccess VPN community to the Exchange server are allowed.
These are the only protocols that are allowed: HTTP, HTTPS, and MS Exchange. This rule is
installed on Security Gateways in the MobileAccessGW group.
To configure SSO:
1. In SmartConsole, go to Security Policies > Shared Policies > Mobile Access.
2. Click Open Mobile Access Policy in SmartDashboard.
3. In the Mobile Access tab, select Additional Settings > Single Sign On.
The Single Sign On page opens.
4. Select an application and click Edit.
The application properties window opens and shows the Single Sign On page.
5. For Web form applications:
a) In the Application Single Sign On Method section, select Advanced and click Edit.
The Advanced window opens.
b) Select This application reuses the portal credentials. Users are not prompted.
c) Click OK.
d) Select This application uses a Web form to accept credentials from users.
e) Click OK.
6. Install the policy.
Item Description
1 Mobile devices
2 Mobile Access tunnels
3 Internet (external networks)
4 Security Gateway for the internal network
5 Mobile Access Security Gateway in the DMZ
6 Citrix web interface
7 Internal network resources
8 Citrix XenApp (MetaFrame) server
Compliance Check
The Mobile Access Software Blade lets you use the Endpoint Security on Demand feature to create
compliance policies and add more security to the network. Mobile devices and computers are
scanned one time to make sure that they are compliant before they can connect to the network.
The compliance scanner is installed on mobile devices and computers with ActiveX (for Internet
Explorer on Windows) or Java. The scan starts when the Internet browser tries to open the Mobile
Access Portal.
Secure Workspace
Secure Workspace is a security solution that allows remote users to connect to enterprise
network resources safely and securely. The Secure Workspace virtual workspace provides a
secure environment on endpoint computers that is segregated from the "real" workspace. Users
can only send data from this secure environment through the Mobile Access portal. Secure
Workspace users can only access permitted applications, files, and other resources from the
virtual workspace.
Secure Workspace creates an encrypted folder on the computer called My Secured Documents
and can be accessed from the virtual desktop. This folder contains temporary user files. When the
session terminates, Secure Workspace deletes this folder and all other session data.
For more about configuring Secure Workspace, see the R80.20 Mobile Access Administration
Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_MobileAcce
ss_AdminGuide/html_frameset.htm.
Prevention Software Blades and help to keep your network safe. For example, the signatures from
threats that Threat Emulation identifies are added to the ThreatCloud for use by the other Threat
Prevention blades.
IPS
The IPS Software Blade delivers complete and proactive intrusion prevention. It delivers 1,000s of
signatures, behavioral and preemptive protections. It gives another layer of security on top of
Check Point firewall technology. IPS protects both clients and servers, and lets you control the
network usage of certain applications. The hybrid IPS detection engine provides multiple defense
layers, which allows it excellent detection and prevention capabilities of known threats and in
many cases future attacks as well. It also allows unparalleled deployment and configuration
flexibility and excellent performance.
Elements of Protection
IPS protection includes:
• Detection and prevention of specific known exploits.
• Detection and prevention of vulnerabilities, including both known and unknown exploit tools,
for example protection from specific CVEs.
• Detection and prevention of protocol misuse which in many cases indicates malicious activity
or potential threat. Examples of commonly manipulated protocols are HTTP, SMTP, POP, and
IMAP.
• Detection and prevention of outbound malware communications.
• Detection and prevention of tunneling attempts. These attempts may indicate data leakage or
attempts to circumvent other security measures such as web filtering.
• Detection, prevention or restriction of certain applications which, in many cases, are
bandwidth consuming or may cause security threats to the network, such as Peer to Peer and
Instant Messaging applications.
• Detection and prevention of generic attack types without any pre-defined signatures, such as
Malicious Code Protector.
Check Point constantly updates the library of protections to stay ahead of emerging threats.
Capabilities of IPS
The unique capabilities of the Check Point IPS engine include:
• Clear, simple management interface.
• Reduced management overhead by using one management console for all Check Point
products
• Integrated management with SmartConsole.
• Easy navigation from business-level overview to a packet capture for a single attack.
• #1 security coverage for Microsoft and Adobe vulnerabilities.
• Resource throttling so that high IPS activity will not impact other blade functionality
• Complete integration with Check Point configuration and monitoring tools in SmartConsole, to
let you take immediate action based on IPS information.
For example, some malware can be downloaded by a user unknowingly when he browses to a
legitimate web site, also known as a drive-by-download. This malware can exploit a browser
vulnerability to create a special HTTP response and sending it to the client. IPS can identify and
Security Management Administration Guide R80.20 | 177
Creating a Threat Prevention Policy
block this type of attack even though the firewall may be configured to allow the HTTP traffic to
pass.
Anti-Bot
A bot is malicious software that can infect your computer. It is possible to infect a computer when
you open attachments that exploit a vulnerability, or go to a web site that results in a malicious
download.
When a bot infects a computer, it:
• Takes control of the computer and neutralizes its Anti-Virus defenses. It is not easy to find bots
on your computer; they hide and change how they look to Anti-Virus software.
• Connects to a C&C (Command and Control center) for instructions from cyber criminals. The
cyber criminals, or bot herders, can remotely control it and instruct it to do illegal activities
without your knowledge. Your computer can do one or more of these activities:
• Steal data (personal, financial, intellectual property, organizational)
• Send spam
• Attack resources (Denial of Service Attacks)
• Consume network bandwidth and reduce productivity
One bot can often create multiple threats. Bots are frequently used as part of Advanced
Persistent Threats (APTs) where cyber criminals try to damage individuals or organizations.
The Anti-Bot Software Blade detects and prevents these bot and botnet threats. A botnet is a
collection of compromised and infected computers.
The Anti-Bot Software Blade uses these procedures to identify bot infected computers:
• Identify the C&C addresses used by criminals to control bots
These web sites are constantly changing and new sites are added on an hourly basis. Bots can
attempt to connect to thousands of potentially dangerous sites. It is a challenge to know which
sites are legitimate and which are not.
• Identify the communication patterns used by each botnet family
These communication fingerprints are different for each family and can be used to identify a
botnet family. Research is done for each botnet family to identify the unique language that it
uses. There are thousands of existing different botnet families and new ones are constantly
emerging.
• Identify bot behavior
Identify specified actions for a bot such as, when the computer sends spam or participates in
DoS attacks.
After the discovery of bot infected machines, the Anti-Bot Software Blade blocks outbound
communication to C&C sites based on the Rule Base. This neutralizes the threat and makes sure
that no sensitive information is sent out.
These web sites are constantly changing and new sites are added on an hourly basis. Bots can
attempt to connect to thousands of potentially dangerous sites. It is a challenge to know which
sites are legitimate and which are not.
• Identify the communication patterns used by each botnet family
These communication fingerprints are different for each family and can be used to identify a
botnet family. Research is done for each botnet family to identify the unique language that it
uses. There are thousands of existing different botnet families and new ones are constantly
emerging.
• Identify bot behavior
Identify specified actions for a bot such as, when the computer sends spam or participates in
DoS attacks.
Anti-Virus
Malware is a major threat to network operations that has become increasingly dangerous and
sophisticated. Examples include worms, blended threats (combinations of malicious code and
vulnerabilities for infection and dissemination) and trojans.
The Anti-Virus Software Blade scans incoming and outgoing files to detect and prevent these
threats, and provides pre-infection protection from malware contained in these files. The
Anti-Virus blade is also supported by the Threat Prevention API.
Security Management Administration Guide R80.20 | 179
Creating a Threat Prevention Policy
SandBlast
Cyber-threats continue to multiply and now it is easier than ever for criminals to create new
malware that can easily bypass existing protections. On a daily basis, these criminals can change
the malware signature and make it virtually impossible for signature-based products to protect
networks against infection. To get ahead, enterprises need a multi-faceted prevention strategy
that combines proactive protection that eliminates threats before they reach users. With Check
Point's Threat Emulation and Threat Extraction technologies, SandBlast provides zero-day
protection against unknown threats that cannot be identified by signature-based technologies.
Threat Emulation
Threat Emulation gives networks the necessary protection against unknown threats in web
downloads and e-mail attachments. The Threat Emulation engine picks up malware at the exploit
phase, before it enters the network. It quickly quarantines and runs the files in a virtual sandbox,
which imitates a standard operating system, to discover malicious behavior before hackers can
apply evasion techniques to bypass the sandbox.
Threat Emulation receives files through these methods of delivery:
• E-mail attachments transferred using the SMTP or SMTPS protocols.
• Web downloads.
• Files sent to Threat Extraction through the Threat Prevention API.
When emulation is done on a file:
• The file is opened on more than one virtual computer with different operating system
environments.
• The virtual computers are closely monitored for unusual and malicious behavior, such as an
attempt to change registry keys or run an unauthorized process.
• Any malicious behavior is immediately logged and you can use Prevent mode to block the file
from the internal network.
• The cryptographic hash of a new malicious file is saved to a database and the internal network
is protected from that malware.
• After the threat is caught, a signature is created for the new (previously unknown) malware
which turns it into a known and documented malware. The new attack information is
automatically shared with Check Point ThreatCloud to block future occurrences of similar
threats at the gateway.
If the file is found not to be malicious, you can download the file after the emulation is complete.
Learn more about Threat Emulation.
Threat Extraction
Threat Extraction is supported on R77.30 and higher.
The Threat Extraction blade extracts potentially malicious content from files before they enter the
corporate network. To remove possible threats, the Threat Extraction does one of these two
actions:
• Creates a safe copy of the file by converting it to PDF, or
• Extracts exploitable content out of the file.
Threat Extraction receives files through these methods of delivery:
• E-mail attachments received through the Mail transfer Agent (on page 206).
• Files sent to Threat Extraction through the Threat Prevention API.
Threat Extraction delivers the reconstructed file to users and blocks access to the original
suspicious version, while Threat Emulation analyzes the file in the background. This way, users
have immediate access to content, and can be confident they are protected from the most
advanced malware and zero-day threats.
Threat Emulation runs in parallel to Threat Extraction for version R80.10 and higher.
Here are examples for exploitable content in Microsoft Office Suite Applications and PDF files:
• Queries to databases where the query contains a password in the clear
• Embedded objects
• Macros and JavaScript code that can be exploited to propagate viruses
• Hyperlinks to sensitive information
• Custom properties with sensitive information
• Automatic saves that keep archives of deleted data
• Sensitive document statistics such as owner, creation and modification dates
• Summary properties
• PDF documents with:
• Actions such as launch, sound, or movie URIs
• JavaScript actions that run code in the reader's Java interpreter
• Submit actions that transmit the values of selected fields in a form to a specified URL
• Incremental updates that keep earlier versions of the document
• Document statistics that show creation and modification dates and changes to hyperlinks
• Summarized lists of properties
Before you enable the Threat Extraction blade, you must deploy the gateway as a Mail Transfer
Agent.
Analyzing Threats
Networks today are more exposed to cyber-threats than ever. This creates a challenge for
organizations in understanding the security threats and assessing damage.
SmartConsole helps the security administrator find the cause of cyber-threats, and remediate the
network.
The Logs & Monitor > Logs view presents the threats as logs.
The other views in the Logs & Monitor view combine logs into meaningful security events. For
example, malicious activity that occurred on a host in the network in a selected time interval (the
last hour, day, week or month). They also show pre- and post-infections statistics.
You can create rich and customizable views and reports for log and event monitoring, which
inform key stakeholders about security activities. For each log or event, you can see a lot of useful
information from the ThreatWiki and IPS Advisories about the malware, the virus or the attack.
Notes:
• The Optimized (on page 187) profile is installed by default.
• The Protection/Site column is used only for protection exceptions.
Configuring LDAP
If you use LDAP for user authentication, you must activate User Directory for Security Gateways.
Introducing Profiles
Check Point Threat Prevention provides instant protection based on pre-defined Threat Prevention
Profiles. You can also configure a custom Threat Prevention profile to give the exact level of
protection that the organization needs.
When you install a Threat Prevention policy on the Security Gateways, they immediately begin to
enforce IPS protection on network traffic.
A Threat Prevention profile determines which protections are activated, and which Software
Blades are enabled for the specified rule or policy. The protections that the profile activates
depend on the:
• Performance impact of the protection.
Predefined Rule
When you enable one of the Threat Prevention Software Blades, a predefined rule is added to the
Rule Base. The rule defines that all traffic for all network objects, regardless of who opened the
connection, (the protected scope value equals any) is inspected for all protections according to the
Optimized profile. By default, logs are generated and the rule is installed on all Security Gateways
that use a Threat Prevention Software Blade.
The result of this rule (according to the Optimized profile) is that:
• When an attack meets the below criteria, the protections are set to Prevent mode:
• Confidence Level - Medium or above
• Performance Impact - Medium or above
• Severity - Medium or above
• When an attack meets the below criteria, the protections are set to Detect mode:
• Confidence Level - Low
• Performance Impact - Medium or above
• Severity - Medium or above
Use the Logs & Monitor page to show logs related to Threat Prevention traffic. Use the data there
to better understand the use of these Software Blades in your environment and create an effective
Rule Base. You can also directly update the Rule Base from this page.
You can add more exceptions that prevent or detect specified protections or have different
tracking settings.
Example 1
Data Center Layer Corporate LAN Layer
Rule matched Rule 3 Rule 1
Profile action Prevent Detect
Example 2
Data Center Layer Corporate LAN Layer
Rule matched Rule 3 Rule 1
Profile action Prevent Detect
Exception for protection X Inactive -
Example 3
Data Center Layer Corporate LAN Layer
Exception is prior to override and profile action. Therefore, the action for the Data Center Layer is
Inactive.
The action for the Corporate LAN Layer is Detect.
Enforced action for protection X: Detect.
Example 4
Data Center Layer Corporate LAN Layer
Rule matched Rule 3 Rule 1
Profile action Deep Scan all files Process specific file type families: Inspect doc files
and Drop rtf files.
Enforced action: Deep Scan doc files and Drop rtf files.
Example 5
MIME nesting level and Maximum archive scanning time
The strictest action is:
Block combined with the minimum nesting level/scanning time, or
Allow combined with the maximum nesting level/scanning time, or
If both Block and Allow are matched, the enforced action is Block.
Example 6
UserCheck
Best Practice - For better performance, we recommend that you use the Optimized profile when
you upgrade to R80 or higher from earlier versions.
Create and manage the policy for the Threat Prevention Software Blade as part of the Threat
Prevention Policy.
• The Threat Prevention page shows the rules and exceptions for the Threat Prevention policy.
The rules set the Threat profiles for the network objects or locations defined as a protected
scope.
Click the Add Rule button to get started.
• You can configure the Threat Prevention settings in the Threat Prevention profile for the
specified rule.
• To learn about bots and protections, look through the ThreatWiki.
Best Practice - Disable a rule when you work on it. Enable the rule when you want to use it.
Disabled rules do not affect the performance of the Gateway. To disable a rule, right click in the
No. column of the rule and select Disable.
• Malicious Attachments - Replaced by a neutralized txt file. You can customize the message
which the user receives. Click Insert Field to add more file-related information to your
message (for example: file name or MD5 hash).
• Failed to Scan Attachments - If the scanning of the attachment fails and fail mode is set to
fail-close, the attachment is replaced with a txt attachment. If fail mode is set to fail-open,
the original attachment is allowed. Click Insert Field to add more file-related information
to your message (for example: file name or MD5 hash).
• Malicious Links - Replaced by a neutralized link. Click Insert Field to add more
link-related information to your message, for example, neutralized url.
• Add an X-Header to the email - Tag the email found malicious with an X-Header. The
X-Header format is: "X-Check Point-verdict: <verdict>; confidence: <confidence>". For
example: "X-Check Point-verdict: malicious; confidence: high". With this option, you can
configure the MTA Next Hop to quarantine all emails with a specific X-Header.
• Add a prefix to the email subject - Adds a prefix to the subject of an email found malicious. For
example: you can add a warning message that the email is malicious. Click Configure to edit
the prefix.
• Add customized text to the email body - This option adds a section at the beginning of the
email body, based on a customizable template, with an optional placeholder for the verdicts of
the links and attachments found malicious or failed to be scanned. The links are given in their
neutralized versions, and attachments are only given by file names. Click Configure to edit the
template.
Send a copy to the following list - This option is available both if you allow or block the malicious
email. With this option, the original email (with the malicious attachments and links) is attached to
a new email, which contains: the verdict list with the neutralized links and attachment file names,
and the SMTP envelope information. You can configure the email content on the gateway. You can
use this option for research purposes. For example: The Incident Response Team needs to inquire
the emails received in the organization for improved security and protection.
Use Case
The configuration in the Mail page lets you block or allow malicious emails. However, you do not
want to configure a global decision regarding all malicious emails. You prefer to make a decision
per each email separately, on a case-by-case basis. For that purpose, you need to create a system
in which Threat Emulation allows the emails, but does not send them to the recipient right away.
Instead, it puts them in a container where you can check them and then decide whether to block or
allow them.
subject and Add customized text to the email body, change the email, and therefore must be
cleared.
6. Click OK.
7. Install Policy.
In the Next Hop:
1. Configure a rule which quarantines all emails which were marked with an X-Header by the
MTA.
You can now see the emails in the Next Hop in their original forms and examine them. After you
examine the emails in the Next Hop, you can decide whether to allow or block them.
Exceptions
You can exclude specific email addresses from the Threat Emulation or Threat Extraction
protections.
MIME Nesting
This is an optional configuration. In this section, you can configure the maximum number of MIME
nesting levels to be scanned (A nesting level is an email within an email). These settings are the
same for Anti-Virus, Threat Emulation and Threat Extraction.
• Maximum MIME nesting is (levels) - Set the maximum number of levels in the email which the
engine scans.
• When nesting level is exceeded (action on file) - If there are more MIME nested levels than
the configured amount, select to Block or Allow the email.
Updates
There are numerous protections available in IPS. It takes time to become familiar with those that
are relevant to your environment. Some are easily configured for basic security and can be safely
activated automatically.
In the Threat Prevention profile, you can configure an updates policy for IPS protections that were
newly updated. You can do this with the IPS > Updates page in the Profiles navigation tree. Select
one of these settings for Newly Updated Protections:
• Active - According to profile settings - Selected by default. Protections are activated
according to the settings in the General page of the Profile. This is the Check Point
recommended configuration.
Set activation as staging mode - Newly updated protections remain in staging mode until you
change their configuration. The default action for protections in staging mode is Detect. You
can change the action manually in the IPS Protections page.
Click Configure to exclude specific protections from staging mode.
• Inactive - Newly updated protections are not activated
Best Practice - In the beginning, allow IPS to activate protections based on the IPS policy. During
this time, you can analyze the alerts that IPS generates and how it handles network traffic, while
you minimize the impact on the flow of traffic. Then you can manually change the protection
settings to suit your needs.
Pre-R80 Settings
The Pre-R80 Settings are relevant for the pre-R80 gateways only.
Protections Activation
Activate protections of the following types:
• Client Protections - Select to activate protections that protect only clients (for example,
personal computers).
• Server Protections - Select to activate protections that protect only servers.
If a network has only clients or only servers, you can enhance gateway performance by
deactivation of protections. If you select Client Protections and Server Protections, all
protections are activated, except for those that are:
• Excluded by the options selected here
• Application Controls or Engine Settings
• Defined as Performance Impact — Critical
Excluded Protections Categories
Do not activate protections of the following categories - The IPS protection categories you select
here are not automatically activated. They are excluded from the Threat Prevention policy rule
that has this profile in the action of the Rule Base.
External and DMZ - Inspect incoming files from external and DMZ interfaces. Files
from internal interfaces are not inspected.
All - Inspect all incoming files from all interface types.
• Inspect incoming and outgoing files - Sends all incoming and outgoing files for inspection.
• The Protocols that Anti-Virus scans:
• HTTP
• Mail (SMTP) - Click Mail to configure the SMTP traffic inspection. This links you to the Mail
(on page 193) page of the Profile settings.
• File Types:
• Process file types known to contain malware
• Process all file types - Select Enable deep inspection scanning, if needed. Remember, it
impacts performance.
• Process specific file types families
To configure the specific file type families:
a) Click Configure.
b) In the File Types Configuration window, for each file type, select the Anti-Virus action for
the file type.
c) Click OK to close the File Types Configuration window.
• Archives - You can configure the Anti-Virus profile to enable archive scanning (on page 199).
Blocking Viruses
To block viruses and malware in your organization:
1. In SmartConsole, click Gateways & Servers and double-click the Security Gateway.
2. In the General Properties page, select the Anti-Virus Software Blade.
The First Time Activation window opens.
3. Select According to the Anti-Bot and Anti-Virus policy and click OK.
4. Close the gateway Properties window and publish the changes.
5. Click Security Policies > Threat Prevention > Policy > Threat Prevention.
6. Click Add Rule.
A new rule is added to the Threat Prevention policy. The Software Blade applies the first rule
that matches the traffic.
Blocking Bots
To block bots in your organization, install this default Threat Policy rule that uses the Optimized
profile, or create a new rule.
Protected Scope - Keep Any so the rule applies to all traffic in the organization.
Action - Right-click in this cell and select Monitoring_Profile.
Track - Keep Log.
Install On - Keep it as Policy Targets or choose Gateways to install the rule on.
4. Install the Threat Prevention policy (on page 186).
Emulation Environment
You can use the Emulation Environment window to configure the emulation location and images
that are used for this profile:
• The Analysis Locations section lets you select where the emulation is done
• To use the Security Gateway settings for the location of the virtual environment, click
According to the gateway.
• To configure the profile to use a different location of the virtual environment, click Specify
and select the applicable option.
Note - In the Remote Emulation Appliances option, for R80.10 gateways with R80.10
Jumbo Hotfix Accumulator and R77.20 gateways, you can select multiple appliances for
remote emulation. For older gateways, you can select only one appliance for remote
emulation.
• The Environments section lets you select the operating system images on which the emulation
is run. If the images defined in the profile and the Security Gateway or Emulation appliance are
different, the profile settings are used.
These are the options to select the emulation images:
• To use the emulation environments recommended by Check Point security analysts, click
Use Check Point recommended emulation environments
• To select other images for emulation, that are closest to the operating systems for the
computers in your organization, click Use the following emulation environments
3. If you are running emulation on HTTPS traffic, configure the settings for HTTPS Inspection.
4. Make sure that the traffic is sent to the appliance according to the deployment:
• Local Emulation - The Emulation appliance receives the traffic. The appliance can be
configured for traffic the same as a Security Gateway.
• Remote Emulation - The traffic is routed to the Emulation appliance.
Click Configure to select which malicious parts the blade extracts. For example, macros,
JavaScript, images and so on.
• Convert to PDF -
Converts the file to PDF, and keeps text and formatting.
Best Practice - If you use PDFs in right-to-left languages or Asian fonts, preferably select
Extract files from potential malicious parts to make sure that these files are processed
correctly.
• Extraction Settings
• Process all files - selected by default
• Process malicious files when the confidence level is:
Set a low, medium or high confidence level. This option is only configurable when the Threat
Emulation blade is activated in the General Properties pane of the profile.
• File Types
• Process all enabled file types - This option is selected by default. Click the blue link to see
the list of supported file types. Out of the supported file types, select the files to be scanned
by the Threat Extraction blade.
Note - you can find this list of supported file type also in Manage & Settings view > Blades >
Threat Prevention > Advanced Settings > Threat Extraction > Configure File Type
Support.
• Process specific file type families -
Here you can configure a different extraction method for certain file types. Click Configure
to see the list of enabled file types and their extraction methods. To change the extraction
method for a file type, right-click the file type and select: bypass, clean or convert to pdf.
Notes:
• For jpg, bmp, png, gif, and tiff files - Threat Extraction supports only extraction of
potentially malicious content.
• For hwp, jtd, eps, files - Threat Extraction supports only conversion to pdf.
• For Microsoft Office and PDF files and all other file types on the list - Threat Extraction
supports both extraction of potentially malicious content and conversion to pdf.
• You can also configure supported file types in the configuration file. For explanation, see
sk112240 http://supportcontent.checkpoint.com/solutions?id=sk112240.
Despite the incorrect format, the related application (Word, Adobe Reader) can sometimes
show the content.
Block removes the corrupted file and sends the recipient a text which describes how the
file contained potentially malicious content. You can block corrupt files if they are malicious
according to Threat Emulation. If the action is block, you can deny access to the original
corrupted file.
Allow lets the recipient receive the corrupted file.
• Encrypted files
Block or Allow encrypted files attached to the email or downloaded from the web.
Block removes the encrypted file and sends the recipient a text file which describes how
the file contained potentially malicious content.
If the action is block, you can also deny access to the original encrypted file.
Allow lets the recipient receive the encrypted file.
At the Security Gateway level, you can configure the DNS Trap according to the profile settings or
as a specific IP address for all profiles on the specific gateway.
Exception Rules
If necessary, you can add an exception directly to a rule. An exception sets a different Action to an
object in the Protected Scope from the Action specified Threat Prevention rule. In general,
exceptions are designed to give you the option to reduce the level of enforcement of a specific
protection and not to increase it. For example: The Research and Development (R&D) network
protections are included in a profile with the Prevent action. You can define an exception which
sets the specific R&D network to Detect. For some Anti-Bot and IPS signatures only, you can
define exceptions which are stricter than the profile action.
You can add one or more exceptions to a rule. The exception is added as a shaded row below the
rule in the Rule Base. It is identified in the No. column with the rule's number plus the letter E and
a digit that represents the exception number. For example, if you add two exceptions to rule
number 1, two lines will be added and show in the Rule Base as E-1.1 and E-1.2.
You can use exception groups to group exceptions that you want to use in more than one rule. See
the Exceptions Groups Pane.
You can expand or collapse the rule exceptions by clicking on the minus or plus sign next to the
rule number in the No. column.
Blade Exceptions
You can also configure an exception for an entire blade.
• Perform retries on the Security Management Server when the update fails - lets you
configure the number of tries the scheduled update makes if it does not complete
successfully the first time.
6. Click Configure.
7. In the window that opens, set the Time of event:
• Update every: set the update frequency by hours
OR:
• Update at: set the update frequency by days:
Daily - Every day
Days in week - Select days of the week
Days in month - Select dates of the month
8. Click OK.
9. Click Close.
10. Install Policy.
RADIUS
Remote Authentication Dial-In User Service (RADIUS) is an external authentication method that
provides security and scalability by separating the authentication function from the access server.
Using RADIUS, the Security Gateway forwards authentication requests by remote users to the
RADIUS server. For administrators, the Security Management Server forwards the authentication
requests. The RADIUS server, which stores user account information, does the authentication.
The RADIUS protocol uses UDP to communicate with the gateway or the Security Management
Server.
RADIUS servers and RADIUS server group objects are defined in SmartConsole.
SecurID
SecurID requires users to both possess a token authenticator and to supply a PIN or password.
Token authenticators generate one-time passwords that are synchronized to an RSA ACE/server
and may come in the form of hardware or software. Hardware tokens are key-ring or credit
card-sized devices, while software tokens reside on the PC or device from which the user wants to
authenticate. All tokens generate a random, one-time use access code that changes
approximately every minute. When a user attempts to authenticate to a protected resource, the
one-time use code must be validated by the ACE/server.
Using SecurID, the Security Gateway forwards authentication requests by remote users to the
ACE/server. For administrators, it is the Security Management Server that forwards the requests.
ACE manages the database of RSA users and their assigned hard or soft tokens. The gateway or
the Security Management Server act as an ACE/Agent 5.0 and direct all access requests to the
RSA ACE/server for authentication. For additional information on agent configuration, refer to
ACE/server documentation.
There are no specific parameters required for the SecurID authentication method.
TACACS
Terminal Access Controller Access Control System (TACACS) provides access control for routers,
network access servers and other networked devices through one or more centralized servers.
TACACS is an external authentication method that provides verification services. Using TACACS,
the Security Gateway forwards authentication requests by remote users to the TACACS server. For
administrators, it is the Security Management Server that forwards the requests. The TACACS
server, which stores user account information, authenticates users. The system supports physical
card key devices or token cards and Kerberos secret key authentication. TACACS encrypts the
user name, password, authentication services and accounting information of all authentication
requests to ensure secure communication.
To use RADIUS groups, you must define a return attribute in the RADIUS user profile of the
RADIUS server. This attribute is returned to the Security Gateway and contains the group name
(for example, RAD_<group to which the RADIUS users belong>) to which the users belong.
Use these RADIUS attributes (refer to RFC 2865):
• For SecurePlatform - attribute "Class" (25)
• For other operating systems, including Gaia, Windows, and IPSO-attribute "Vendor-Specific"
(26)
User Database
Users defined in SmartConsole are saved to the User Database on the Security Management
Server, together with the user authentication schemes and encryption keys. Then, the user
database is installed on Security Gateways and Check Point hosts:
• On Security Gateways - When the policy is installed (Install Policy)
• On Check Point hosts with an active Management blade (such as Log Server) - When the
database is installed (Install Database)
The user database does not contain information about users defined elsewhere than on the
Security Management Server (such as users in external User Directory groups), but it does contain
information about the external groups themselves (for example, on which Account Unit the
external group is defined). Changes to external groups take effect only after the policy is installed,
or the user database is downloaded from the management server.
• Expiration Date - The date, after which the user is no longer authorized to access network
resources and applications. By default, the date defined in the Default Expiration Settings (on
page 221) shows as the expiration date.
Optional settings:
• Comment
• Email Address
• Mobile Phone Number
4. Click OK.
If a user will not be in the system for some time (for example, going on an extended leave), you can
revoke the certificate. This leaves the user account in the system, but it cannot be accessed until
you renew the certificate.
To revoke a certificate, select the certificate and click Revoke.
To configure encryption:
1. Open the User Properties window > Encryption page.
2. Select an encryption method for the user.
3. Click Edit.
The encryption Properties window opens.
The next steps are for IKE Phase 2. The options can be different for different methods.
4. Open the Authentication tab.
5. Select the authentication schemes:
a) Password - The user authenticates with a pre-shared secret password. Enter and confirm
the password.
b) Public Key - The user authenticates with a public key contained in a certificate file.
6. Click OK.
7. Click OK.
Delete a User
To delete a user:
1. In the object tree, click Users > Users.
2. Right-click the account and select Delete.
The confirmation window opens.
3. Click Yes.
In This Section
Schema Checking .....................................................................................................224
OID Proprietary Attributes .......................................................................................224
User Directory Schema Attributes ...........................................................................225
Netscape LDAP Schema ..........................................................................................231
Schema Checking
When schema checking is enabled, User Directory requires that every Check Point object class
and its associated attributes is defined in the directory schema.
Before you work with User Directory, make sure that schema checking is disabled. Otherwise the
integration will fail. After the Check Point object classes and attributes are applied to the User
Directory server's schema, you must enable schema checking again.
The OIDs for the proprietary attributes begin with the same prefix ("1.3.114.7.4.2.0.X"). Only the
value of "X" is different for each attribute. See Attributes (on page 225) for the value of "X".
cn
The entry's name. This is also referred to as "Common Name". For users this can be different
from the uid attribute, the name used to login to the Security Gateway. This attribute is also used
to build the User Directory entry's distinguished name, that is, it is the RDN of the DN.
uid
The user's login name, that is, the name used to login to the Security Gateway. This attribute is
passed to the external authentication system in all authentication methods except for "Internal
Password", and must be defined for all these authentication methods.
The login name is used by the Security Management Server to search the User Directory server(s).
For this reason, each user entry should have its own unique uid value.
It is also possible to login to the Security Gateway using the full DN. The DN can be used when
there is an ambiguity with this attribute or in "Internal Password" when this attribute may be
missing. The DN can also be used when the same user (with the same uid) is defined in more than
one Account Unit on different User Directory servers.
description
Descriptive text about the user.
default
"no value"
mail
User's email address.
default
"no value"
member
An entry can have zero or more values for this attribute.
• In a template: The DN of user entries using this template. DNs that are not users (object
classes that are not one of: "person", "organizationalPerson", "inetOrgPerson" or
"fw1person") are ignored.
• In a group: The DN of user.
userPassword
Must be given if the authentication method (fw1auth-method) is "Internal Password". The value
can be hashed using "crypt". In this case the syntax of this attribute is:
"{crypt}xxyyyyyyyyyyy"
where "xx" is the "salt" and "yyyyyyyyyyy" is the hashed password.
It is possible (but not recommended) to store the password without hashing. However, if hashing
is specified in the User Directory server, you should not specify hashing here, in order to prevent
the password from being hashed twice. You should also use SSL in this case, to prevent sending
an unencrypted password.
The Security Gateway never reads this attribute, though it does write it. Instead, the User Directory
bind operation is used to verify a password.
fw1authmethod
One of these:
RADIUS, TACACS, SecurID, OS Password, Defender
This default value for this attribute is overridden by Default authentication scheme in the
Authentication tab of the Account Unit window in SmartConsole. For example: a User Directory
server can contain User Directory entries that are all of the object-class "person" even though the
proprietary object-class "fw1person" was not added to the server's schema. If Default
authentication scheme in SmartConsole is "Internal Password", all the users will be
authenticated using the password stored in the "userPassword" attribute.
fw1authserver
"X" in OID fw1person fw1template default
1 y y "undefined"
The name of the server that will do the authentication. This field must be given if fw1auth-method
is "RADIUS" or "TACACS". For all other values of fw1auth-method, it is ignored. Its meaning is
given below:
method meaning
RADIUS name of a RADIUS server, a group of RADIUS servers, or "Any"
TACACS name of a TACACS server
fw1pwdLastMod
The date on which the password was last modified. The format is yyyymmdd (for example, 20
August 1998 is 19980820). A password can be modified through the Security Gateway as a part of
the authentication process.
fw1expiration-date
The last date on which the user can login to a Security Gateway, or "no value" if there is no
expiration date. The format is yyyymmdd (for example, 20 August 1998 is 19980820). The default is
"no value".
fw1hour-range-from
The time from which the user can login to a Security Gateway. The format is hh:mm (for example,
8:15 AM is 08:15).
fw1hour-range-to
The time until which the user can login to a Security Gateway. The format is hh:mm (for example,
8:15 AM is 08:15).
fw1day
The days on which the user can login to a Security Gateway. Can have the values "SUN","MON",
and so on.
fw1allowed-src
The names of one or more network objects from which the user can run a client, or "Any" to
remove this limitation, or "no value" if there is no such client. The names should match the name
of network objects defined in Security Management server.
fw1allowed-dst
The names of one or more network objects which the user can access, or "Any" to remove this
limitation, or "no value" if there is no such network object. The names should match the name of
network objects defined on the Security Management server.
fw1allowed-vlan
Not currently used.
fw1SR-keym
The algorithm used to encrypt the session key in SecuRemote. Can be "CLEAR", "FWZ1", "DES" or
"Any".
fw1SR-datam
The algorithm used to encrypt the data in SecuRemote. Can be "CLEAR", "FWZ1", "DES" or "Any".
fw1SR-mdm
The algorithm used to sign the data in SecuRemote. Can be "none" or "MD5".
fw1enc-fwz-expiration
The number of minutes after which a SecuRemote user must re-authenticate himself or herself to
the Security Gateway.
Security Management Administration Guide R80.20 | 228
Managing User Accounts
fw1sr-auth-track
The exception to generate on successful authentication via SecuRemote. Can be "none", "cryptlog"
or "cryptalert".
fw1groupTemplate
This flag is used to resolve a problem related to group membership.
The group membership of a user is stored in the group entries to which it belongs, in the user
entry itself, or in both entries. Therefore there is no clear indication in the user entry if information
from the template about group relationship should be used.
If this flag is "TRUE", then the user is taken to be a member of all the groups to which the
template is a member. This is in addition to all the groups in which the user is directly a member.
fw1ISAKMP-EncMethod
The key encryption methods for SecuRemote users using IKE. This can be one or more of: "DES",
"3DES". A user using IKE (formerly known as ISAMP) may have both methods defined.
fw1ISAKMP-AuthMethods
The allowed authentication methods for SecuRemote users using IKE, (formerly known as ISAMP).
This can be one or more of: "preshared", "signatures".
fw1ISAKMP-HashMethods
The data integrity method for SecuRemote users using IKE, (formerly known as ISAMP). This can
be one or more of: "MD5", "SHA1". A user using IKE must have both methods defined.
fw1ISAKMP-Transform
The IPSec Transform method for SecuRemote users using IKE, (formerly known as ISAMP). This
can be one of: "AH", "ESP".
fw1ISAKMP-DataIntegrityMethod
The data integrity method for SecuRemote users using IKE, (formerly known as ISAMP). This can
be one of: "MD5", "SHA1".
fw1ISAKMP-SharedSecret
The pre-shared secret for SecuRemote users using IKE, (formerly known as ISAMP).
The value can be calculated using the fw ikecrypt command line.
fw1ISAKMP-DataEncMethod
The data encryption method for SecuRemote users using IKE, (formerly known as ISAMP).
fw1enc-Methods
The encryption method allowed for SecuRemote users. This can be one or more of: "FWZ",
"ISAKMP" (meaning IKE).
fw1userPwdPolicy
Defines when and by whom the password should and can be changed.
fw1badPwdCount
Number of allowed wrong passwords entered sequentially.
fw1lastLoginFailure
Time of the last login failure.
memberof template
DN of the template that the user is a member of.
Important - This deletes the objectclass definition from the schema and adds the
updated one in its place.
We recommend that you back up the User Directory server before you run the command.
The ldif file:
• Adds the new attributes to the schema
• Deletes old definitions of fw1person and fw1template
• Adds new definitions of fw1person and fw1template
To change the Netscape LDAP schema, run the ldapmodify command with the schema.ldif file.
On some server versions, the delete objectclass operation can return an error, even if it was
successful. Use ldapmodify with the -c (continuous) option.
To apply a profile:
1. Open the Account Unit.
2. Select the profile.
To change a profile:
1. Create a new profile.
2. Copy the settings of a User Directory profile into the new profile.
3. Change the values.
Profile Attributes
Attributes:
UserLoginAttr ...........................................................................................................234
UserPasswordAttr ....................................................................................................235
TemplateObjectClass ...............................................................................................235
ExpirationDateAttr ....................................................................................................235
ExpirationDateFormat ..............................................................................................235
PsswdDateFormat ....................................................................................................235
PsswdDateAttr..........................................................................................................235
BadPwdCountAttr .....................................................................................................236
ClientSideCrypt .........................................................................................................236
DefaultCryptAlgorith ................................................................................................236
CryptedPasswordPrefix............................................................................................236
PhoneNumberAttr ....................................................................................................236
AttributesTranslationMap ........................................................................................236
ListOfAttrsToAvoid....................................................................................................236
BranchObjectClass ...................................................................................................237
BranchOCOperator ...................................................................................................237
OrganizationObjectClass ..........................................................................................237
OrgUnitObjectClass ..................................................................................................237
DomainObjectClass ..................................................................................................237
UserObjectClass .......................................................................................................237
UserOCOperator .......................................................................................................238
GroupObjectClass .....................................................................................................238
GroupOCOperator .....................................................................................................238
UserMembershipAttr ...............................................................................................238
TemplateMembership ..............................................................................................239
TemplateMembershipAttr ........................................................................................239
UserTemplateMembershipAttr ................................................................................239
OrganizationRDN ......................................................................................................239
OrgUnitRDN ..............................................................................................................239
UserRDN ...................................................................................................................239
GroupRDN.................................................................................................................239
DomainRDN ..............................................................................................................240
AutomaticAttrs .........................................................................................................240
GroupObjectClass .....................................................................................................240
OrgUnitObjectClass ..................................................................................................240
OrganizationObjectClass ..........................................................................................240
UserObjectClass .......................................................................................................240
DomainObjectClass ..................................................................................................241
UserLoginAttr
The unique username User Directory attribute (uid). In addition, when fetching users by the
username, this attribute is used for query.
default Other
• uid (most servers) One value allowed
default Other
• userPassword (most servers) One value allowed
default Other
fw1template Multiple values allowed
ExpirationDateAttr
The account expiration date is User Directory attribute. This could be a Check Point extended
attribute or an existing attribute.
default Other
• fw1expiration-date (most servers) One value allowed
default Other
CP format is yyyymmdd One value allowed
PsswdDateFormat
The format of the password modified date is User Directory attribute. This formation will be
applied to the value defined at PsswdDateAttr.
default Other
• CP (most servers) format is yyyymmdd One value allowed
• MS (in Microsoft_AD)
PsswdDateAttr
The password last modified date is User Directory attribute.
default Other
• fw1pwdLastMod (most servers) One value allowed
BadPwdCountAttr
User Directory attribute to store and read bad password authentication count.
default Other
fw1BadPwdCount One value allowed
ClientSideCrypt
If 0, the sent password will not be encrypted. If 1, the sent password will be encrypted with the
algorithm specified in the DefaultCryptAlgorithm.
default Other
• 0 for most servers One value allowed
• 1 for Netscape_DS
if not using encrypted password, SSL is recommended
DefaultCryptAlgorith
The algorithm used to encrypt a password before updating the User Directory server with a new
password.
default Other
• Plain (for most servers) One value allowed
default Other
{Crypt} (for Netscape_DS) One value allowed
PhoneNumberAttr
User Directory attribute to store and read the user phone number.
default Other
internationalisednumber One value allowed
AttributesTranslationMap
General purpose attribute translation map, to resolve problems related to peculiarities of different
server types. For example, an X.500 server does not allow the "-" character in an attribute name.
To enable the Check Point attributes containing "-", specify a translation entry: (e.g.,
"fw1-expiration =fw1expiration").
default Other
none Multiple values allowed
ListOfAttrsToAvoid
All attribute names listed here will be removed from the default list of attributes included in
read/write operations. This is most useful in cases where these attributes are not supported by
the User Directory server schema, which might fail the entire operation. This is especially relevant
when the User Directory server schema is not extended with the Check Point schema extension.
Default Other
There are no values by default. In case the User Multiple values allowed
Directory server was not extended by the Check
Point schema, the best thing to do is to list here all
the new Check Point schema attributes.
BranchObjectClass
Use this attribute to define which type of objects (objectclass) is queried when the object tree
branches are displayed after the Account Unit is opened in SmartConsole.
Default Other
• Organization OrganizationalUnit Domain (most Multiple values allowed
servers)
• Container (extra for Microsoft_AD)
BranchOCOperator
If One is set, an ORed query will be sent and every object that matches the criteria will be
displayed as a branch. If All, an ANDed query will be sent and only objects of all types will be
displayed.
Default Other
One One value allowed
OrganizationObjectClass
This attribute defines what objects should be displayed with an organization object icon. A new
object type specified here should also be in BranchObjectClass.
Default Other
organization Multiple values allowed
OrgUnitObjectClass
This attribute defines what objects should be displayed with an organization object icon. A new
object type specified here should also be in BranchObjectClass.
Default Other
• organizationalUnit (most servers) Multiple values allowed
Default Other
Domain Multiple values allowed
UserObjectClass
This attribute defines what objects should be read as user objects. The user icon will be displayed
on the tree for object types specified here.
Security Management Administration Guide R80.20 | 237
Managing User Accounts
Default Other
• User (in Microsoft_AD) Multiple values allowed
• Person
OrganizationalPerson
InertOrgPerson
FW1 Person (most servers)
UserOCOperator
If 'one' is set, an ORed query will be sent and every object that matches one of the types will be
displayed as a user. If 'all' and ANDed query will be sent and only objects of all types will be
displayed.
Default Other
One One value allowed
GroupObjectClass
This attribute defines what objects should be read as groups. The group icon will be displayed on
the tree for objects of types specified here.
Default Other
Groupofnames Multiple values allowed
Groupofuniquenames (most servers)
Group
Groupofnames (in Microsoft_AD)
GroupOCOperator
If 'one' is set an ORed query will be sent and every object that matches one of the types will be
displayed as a user. If 'all' an ANDed query will be sent and only objects of all types will be
displayed.
GroupMembership
Default Other
One One value allowed
Defines the relationship Mode between the group and its members (user or template objects)
when reading group membership.
Default Other
• Member mode defines the member DN in the Group object (most servers) One value
allowed
• MemberOf mode defines the group DN in the member object (in
Microsoft_AD)
• Modes define member DN in Group object and group DN in Member object.
UserMembershipAttr
Defines what User Directory attribute to use when reading group membership from the user or
template object if GroupMembership mode is 'MemberOf' or 'Both' you may be required to extend
the user/template object schema in order to use this attribute.
Default Other
MemberOf One value allowed
TemplateMembership
Defines the user to template membership mode when reading user template membership
information.
Default Other
• Member mode defines the member DN in the Group object (most One value allowed
servers)
• MemberOf mode defines the group DN in the member object (in
Microsoft_AD)
TemplateMembershipAttr
Defines which attribute to use when reading the User members from the template object, as User
DNs, if the TemplateMembership mode is Member.
Default Other
member Multiple values allowed
UserTemplateMembershipAttr
Defines which attribute to use when reading from the User object the template DN associated with
the user, if the TemplateMembership mode is MemberOf.
Default Other
member Multiple values allowed
OrganizationRDN
This value will be used as the attribute name in the Relatively Distinguished Name (RDN) when
you create a new organizational unit in SmartConsole.
Default Other
o One value allowed
OrgUnitRDN
This value is used as the attribute name in the Relatively Distinguished Name (RDN) when you
create a new organizational Unit in SmartConsole.
Default Other
ou One value allowed
UserRDN
This value is used as the attribute name in the Relatively Distinguished Name (RDN), when you
create a new User object in SmartConsole.
Default Other
cn One value allowed
GroupRDN
This value is used as the attribute name for the RDN, when you create a new Group object in
SmartConsole.
Security Management Administration Guide R80.20 | 239
Managing User Accounts
Default Other
cn One value allowed
DomainRDN
This value is used as the attribute name for the RDN, when you create a new Domain object in
SmartConsole.
Default Other
dc One value allowed
AutomaticAttrs
This field is relevant when you create objects in SmartConsole. The format of this field is
Objectclass:name:value meaning that if the object created is of type ObjectClass then
additional attributes will be included in the created object with name 'name' and value 'value'.
Default Other
user:userAccountControl:66048 Multiple values
For Microsoft_AD This means that when a user object is created an extra allowed
attribute is included automatically: userAccountControl with the value
66048
GroupObjectClass
This field is used when you modify a group in SmartConsole. The format of this field is
ObjectClass:memberattr meaning that for each group objectclass there is a group membership
attribute mapping. List here all the possible mappings for this User Directory server profile. When
a group is modified, based on the group's objectclass the right group membership mapping is
used.
Default Other
groupOfNames:member Multiple values allowed
groupOfUniqueNames:uniqueMember
(All other servers)
OrgUnitObjectClass
This determines which ObjectClass to use when creating/modifying an OrganizationalUnit object.
These values can be different from the read counterpart.
Default Other
OrganizationalUnit Multiple values allowed
OrganizationObjectClass
This determines which ObjectClass to use when creating and/or modifying an Organization object.
These values can be different from the read counterpart.
Default Other
Organization Multiple values allowed
UserObjectClass
This determines which ObjectClass to use when creating and/or modifying a user object. These
values can be different from the read counterpart.
Default Other
User (in Microsoft_AD) Multiple values allowed
person
organizationalPerson
inetOrgPerson
fw1Person
(All other servers)
DomainObjectClass
Determines which ObjectClass to use when creating and/or modifying a domain context object.
These values can be different from the read counterpart.
Default Other
Domain Multiple values allowed
Most of the user objects and group objects created by Windows 2000 tools are stored under the
CN=Users, DCROOT branch, others under CN=Builtin, DCROOT branch, but these objects can
be created under other branches as well.
The branch CN=Schema, CN=Configuration, DCROOT contains all schema definitions.
Check Point can take advantage of an existing Active Directory object as well as add new types.
For users, the existing user can be used "as is" or be extended with fw1person as an auxiliary of
"User" for full feature granularity. The existing Active Directory "Group" type is supported "as is".
A User Directory template can be created by adding the fw1template objectclass. This information
is downloaded to the directory using the schema_microsoft_ad.ldif file (see Adding New
Attributes to the Active Directory (on page 243)).
Performance
The number of queries performed on the directory server is significantly low with Active Directory.
This is achieved by having a different object relations model. The Active Directory group-related
information is stored inside the user object. Therefore, when fetching the user object no additional
query is necessary to assign the user with the group. The same is true for users and templates.
Manageability
SmartConsole allows the creation and management of existing and new objects. However, some
specific Active Directory fields are not enabled in SmartConsole.
Enforcement
It is possible to work with the existing Active Directory objects without extending the schema. This
is made possible by defining an Internal Template object and assigning it with the User Directory
Account Unit defined on the Active Directory server.
For example, if you wish to enable all users with IKE+Hybrid based on the Active Directory
passwords, create a new template with the IKE properties enabled and "Check Point password" as
the authentication method.
Delegating Control
Delegating control over the directory to a specific user or group is important since by default the
Administrator is not allowed to modify the schema or even manage directory objects through User
Directory protocol.
5. Make sure that there is a dash character - at the end of the modify section.
This is an example of the modify section.
dn: CN=User,CN-Schema,CN=Configuration,DC=sample,DC=checkpoint,DC=com
changetype: modify
add: auxiliaryClass
auxiliaryClass: 1.3.114.7.3.2.0.2
-
6. Run ldifde -i -f c:/schema_microsoft_ad.ldif
Example of a Query
If you create a query where:
• Attributes = mail
• Contains
Security Management Administration Guide R80.20 | 244
Managing User Accounts
• Value = Andy
The server queries the User Directory with this filter:
filter:(&(|(objectclass=fw1person)(objectclass=person)
(objectclass=organizationalPerson)(objectclass=inetOrgPerson))
(|(cn=Brad)(mail=*Andy*)))
Item Description
1 Security Gateway - Retrieves LDAP user information and CRLs
2 Internet
3 Security Gateway - Queries LDAP user information, retrieves CRLs, and does bind
operations for authentication
4 Security Management Server - Uses User Directory to manage user information
5 LDAP server - Server that holds one or more Account Units
Account Units
An Account Unit represents branches of user information on one or more LDAP servers. The
Account Unit is the interface between the LDAP servers and the Security Management Server and
Security Gateways.
You can have a number of Account Units representing one or more LDAP servers. Users are
divided among the branches of one Account Unit, or between different Account Units.
Note - When you enable the Identity Awareness and Mobile Access Software Blades,
SmartConsole opens a First Time Configuration Wizard. The Active Directory Integration window
of this wizard lets you create a new AD Account Unit. After you complete the wizard, SmartConsole
creates the AD object and Account Unit.
General Tab
These are the configuration fields in the General tab:
• Name - Name for the Account Unit
• Comment - Optional comment
• Color - Optional color associated with the Account Unit
• Profile - LDAP vendor
• Domain - Domain of the Active Directory servers, when the same user name is used in
multiple Account Units (this value is also necessary for AD Query and SSO)
• Prefix - Prefix for non-Active Directory servers, when the same user name is used in multiple
Account Units
• Account Unit usage - Select applicable options:
• CRL retrieval - The Security Management Server manages how the CA sends information
about revoked licenses to the Security Gateways
• User Management - The Security Management Server uses the user information from this
LDAP server (User Directory must be enabled on the Security Management Server)
Note - LDAP SSO (Single Sign On) is only supported for Account Unit objects that use User
Management.
• Active Directory Query - This Active Directory server is used as an Identity Awareness
source.
Note - This option is only available if the Profile is set to Microsoft_AD.
• Enable Unicode support - Encoding for LDAP user information in non-English languages
• Active Directory SSO configuration - Click to configure Kerberos SSO for Active Directory -
Domain Name, Account Name, Password, and Ticket encryption method
Configuring an LDAP Server
You can add, edit, or delete LDAP server objects.
b) In the New Host window opens, enter the settings for the LDAP server.
c) Click OK.
3. Enter the login credentials and the Default priority.
4. Select access permissions for the Check Point Gateways:
• Read data from this server
• Write data to this server
5. In the Encryption tab, configure the optional SSL encryption settings. To learn about these
settings, see the Help. Click ? or press F1 in the Encryption tab.
6. Click OK.
Authentication Tab
These are the configuration fields in the Authentication tab:
• Use common group path for queries - Select to use one path for all the LDAP group objects
(only one query is necessary for the group objects)
Security Management Administration Guide R80.20 | 248
Managing User Accounts
Item Description
1 Security Management Server. Manages user data in User Directory. It has an
Account Unit object, where the two servers are defined.
2 User Directory server replication.
3 Security Gateway. Queries user data and retrieves CRLs from nearest User Directory
server replication (2).
4 Internet
5 Security Gateway. Queries user data and retrieves CRLs from nearest User Directory
server replication (6).
6 User Directory server replication.
Access Roles
Access role objects let you configure network access according to:
• Networks
• Users and user groups
• Computers and computer groups
• Remote access clients - will be supported with R80.x gateways
After you activate the Identity Awareness Software Blade, you can create access role objects and
use them in the Source and Destination columns of Access Control Policy rules.
Authentication Rules
To make an authentication rule:
1. Add users to user groups.
2. Define an access role (on page 252) for networks, users and user groups, and computers and
computer groups.
3. Make the authentication rules with the access roles in the Source.
To allow your users to access their resources using their handheld devices, make sure they can
authenticate to the Gateway with client certificates.
In many organizations, the daily task of assigning and maintaining client certificates is done by a
different department than the one that maintains the Security Gateways. The computer help desk,
for example. You can create an administrator that is allowed to use SmartConsole to create client
certificates, while restricting other permissions (on page 257).
To configure client certificates, open SmartConsole and go to Security Policies > Access Control >
Access Tools > Client Certificates.
To configure the Mobile Access policy, go to Manage & Settings > Blades > Mobile Access >
Configure in SmartDashboard. The Client Certificates page in SmartConsole is a shortcut to the
SmartDashboard Mobile Access tab, Client Certificates page.
Revoking Certificates
If the status of a certificate is Pending Enrollment, after you revoke it, the certificate does not
show in the Client Certificate list.
Cloning a Template
Clone an email template to create a template that is similar to one that already exists.
Database Revisions
The Security Management architecture has built-in revisions. Each revision is a new restore point
in the database. It contains only the changes from the previous revision. Revisions therefore need
only a small amount of disk space, and are created fast. Other benefits of this architecture are:
• Fast policy verification, based on the difference between installed revisions.
• More efficient Management High Availability.
• Safe recovery from a crisis.
This diagram shows the database revisions over time:
1. Install
2. Upgrade
3. Publish
4. Publish
5. Publish
To delete all versions of the database that are older than the selected version:
1. In the Manage & Settings > Revisions window, select a revision.
2. Click Purge.
3. In the confirmation window that opens, click Yes.
Important - Deletion is irreversible. When you purge, that revision and older revisions are deleted
permanently.
Case Network problem after downloading a Threat Prevention update and installing it
on gateways.
Solution 1. From Security Policies > Threat Prevention > Threat Tools > Updates, in the
IPS section, choose an update that is known to be good.
2. Click Switch to Version.
3. Install the Threat Prevention Policy.
The Gateway gets that version of the IPS protections. Other network objects and
policies do not change.
2. Click Preferences.
3. Select the IP address version that your environment uses: IPv4, IPv6, or IPv4 and IPv6.
4. Select how you want to see subnets: Mask Length or Subnet Mask.
Inspection Settings
You can configure inspection settings for the Firewall:
• Deep packet inspection settings
• Protocol parsing inspection settings
• VoIP packet inspection settings
The Security Management Server comes with two preconfigured inspection profiles for the
Firewall:
• Default Inspection
• Recommended Inspection
When you configure a Security Gateway, the Default Inspection profile is enabled for it. You can
also assign the Recommended Inspection profile to the Security Gateway, or to create a custom
profile and assign it to the Security Gateway.
To activate the Inspection Settings, install the Access Control Policy.
Note - In a pre-R80 SmartConsole, Inspection Settings are configured as IPS Protections.
To edit a setting:
1. In the Inspection Settings > General view, select a setting.
2. Click Edit.
3. In the window that opens, select a profile, and click Edit.
The settings window opens.
4. Select the Main Action:
• Default Action - preconfigured action
• Override with Action - from the drop-down menu, select an action with which to override
the default - Accept, Drop, Inactive (the setting is not activated)
5. Configure the Logging Settings
Select Capture Packets, if you want to be able to examine packets that were blocked in Drop
rules.
6. Click OK.
7. Click Close.
SmartConsole Extensions
SmartConsole Extensions is an open platform within SmartConsole which allows it to integrate
with web-based interfaces of other systems. For example, you can create a web-interface for an
existing ticketing system, and integrate it within SmartConsole so that associated tickets are seen
for every rule in the Rule Base.
Customers, vendors, and third-parties can develop their own Extensions to integrate into
SmartConsole.
To import an extension:
1. On SmartConsole, go to Manage & Settings > Preferences > SmartConsole Extensions > +.
The Import SmartConsole Extension window opens.
2. Enter the web-service manifest URL for the manifest file and click OK. The URL must be an
HTTPS URL.
Note - When the hosting server uses an invalid SSL certificate (self-signed), it prompts an
Invalid Certificate confirmation window. Confirm the server's fingerprint against the SSL
certificate which runs the Extension by selecting View Certificate. On the Certificate window,
you can enable trust for this certificate with a click on Install Certificate to use the Certificate
Import Wizard.
SmartConsole retrieves the manifest file and displays these Extension details in the
SmartConsole Extension Installation window:
You can disable Extensions from SmartConsole. To disable an Extension, clear the box next to the
Extension name. To uninstall an Extension, select the Extension and click the X above the
Extension list. You do not need to restart SmartConsole to install, uninstall, enable, or disable
Extensions.
This automatically selects the Secondary Server, Logging and Status, and Provisioning.
6. Create SIC trust between the Secondary Security Management Server and the Primary:
a) Click Communication.
b) Enter the SIC Activation Key of the secondary server.
c) Click Initialize.
d) Click Close.
7. Click OK.
8. Click Publish to save these session changes to the database.
On publish, the initialization and synchronization between the servers start.
9. Monitor these tasks in the Task List, in the SmartConsole System Information area. Wait for
the Task List to show that a full sync has completed.
10. Open the High Availability Status window and make sure there is one active server, and one
standby.
Not communicating
Solution:
1. Check connectivity between the servers.
2. Test SIC.
Collision or HA Conflict
More than one management server is configured as active.
Solution:
1. From the main SmartConsole menu, select Management High Availability.
The High Availability Status window opens.
2. Use the Actions button to set one of the active servers to standby.
Warning - When this server becomes the Standby, all its data is overwritten by the active server.
Sync Error
Solution:
Do a manual sync.
To set the old Primary Management Server as the new Primary Management Server:
1. Change the new Secondary Management Server from Standby to Active.
2. Promote the new Secondary Management Server to be the Primary Management Server.
Follow the procedure of Promoting a Secondary Management Server (on page 270) (no need to
do step 5).
3. Create the Secondary Management Server on the old Secondary Management Server with the
original IP of the old Secondary Management Server.
4. Reset SIC and connect with SIC to the Secondary Management Server.
server is down, secondary servers cannot synchronize their databases until a Secondary is
promoted to Primary and the initial syncs completes.
Note - This is the disaster recovery method supported for High Availability environments with
Endpoint Security.
Option Description
on Starts the ICA Management Tool (by opening port 18265)
off Stops the ICA Management Tool (by closing port 18265)
-p Changes the port used to connect to the CA (if the default
port is not being used)
-a "administrator DN" ... Sets the DNs of the administrators that will be allowed to
use the ICA Management Tool
-u "user DN" ... Sets the DNs of users allowed to use the ICA Management
Tool. An option intended for administrators with limited
privileges.
Note - If cpca_client is run without -a or -u parameters, the list of the allowed users and
administrators remains unchanged.
Item Description
2 Operations Pane
Manage certificates. The window divides into Search attributes configuration and Bulk
operation configuration.
Create Certificates.
Configure the CA. Contains configuration parameters You can also view the CA's time,
name, and the version and build number of the Security Management Server.
Manage CRLs. Download, publish, and recreate CRLs.
3 Search Results Pane. The results of the applied operation show in this pane. This
window consists of a table with a list of certificates and certificate attributes.
Connect to the ICA Management tool using a browser and HTTPS connection.
Important: Before connecting, make sure to add an administrator certificate to the browser's
store.
To do a certificate search:
In the Manage Certificates page, enter the search parameters, and click Search.
Note - The status bar shows search statistics after each search.
To initiate a certificate:
1. In the Menu pane, select Create Certificates > Initiate.
2. Enter a User Name or Full DN, or click Advanced and fill in the form:
• Certificate Expiration Date - Select a date or enter the date in the format dd-mmm-yyyy
[hh:mm:ss] (the default value is two years from the date of creation)
Security Management Administration Guide R80.20 | 278
The ICA Management Tool
• Registration Key Expiration Date - Select a date or enter the date in the format
dd-mmm-yyyy [hh:mm:ss] (the default value is two weeks from the date of creation)
3. Click Go.
A registration key is created and show in the Results pane.
If necessary, click Send mail to user to email the registration key. The number of characters in
the email is limited to 1900.
4. The certificate becomes usable after entering the correct registration key.
To generate a certificate:
1. In the Menu pane, select Create Certificates > Generate.
2. Enter a User Name or Full DN, or click Advanced and fill in the form:
• Certificate Expiration Date - Select a date or enter the date in the format dd-mm-yyyy
[hh:mm:ss] (the default value is two years from the date of creation)
• Registration Key Expiration Date - Select a date or enter the date in the format
dd-mm-yyyy [hh:mm:ss] (the default value is two weeks from the date of creation)
3. Enter a password.
4. Click Go.
5. Save the P12 file, and supply it to the user.
• If the line starts with "mail=", the string continues with the mail of the user
If no email is given, the email address will be taken from the ICA's "Management Tool Mail To
Address" attribute.
• If there is a line with the not_after attribute, then the value at the next line is the Certificate
Expiration Date
The date is given in seconds from now.
• If there is a line with the is otp_validity attribute, then the value at the next line is the
Registration Key Expiration Date.
The date is given in seconds from now.
Here is an example of an LDAP Search output:
not_after
86400
otp_validity
3600
uid=user_1,ou=People,o=intranet,dc=company,dc=com
mail=user_1@company.com
<blank_line>
…
uid=…
CRL Management
By default, the CRL is valid for one week. This value can be configured. New CRLs are issued:
• When approximately 60% of the CRL validity period has passed
• Immediately following the revocation of a certificate
It is possible to recreate a specified CRL using the ICA Management Tool. The utility acts as a
recovery mechanism in the event that the CRL is deleted or corrupted. An administrator can
download a DER encoded version of the CRL using the ICA Management Tool.
CRL Modes
The ICA can issue multiple CRLs. Multiple CRLs prevent one CRL from becoming larger than 10K.
If the CRL exceeds 10K, IKE negotiations can fail when trying to open VPN tunnels.
Multiple CRLs are created by attributing each certificate issued to a specified CRL. If revoked, the
serial number of the certificate shows in the specified CRL.
The CRL Distribution Point (CRLDP) extension of the certificate contains the URL of the specified
CRL. This ensures that the correct CRL is retrieved when the certificate is validated.
CRL Operations
You can download, update, or recreate CRLs through the ICA management tool.
CA Cleanup
To clean up the CA, you must remove the expired certificates. Before you do that, make sure that
the time set on the Security Management Server is correct.
Configuring the CA
To configure the CA:
1. In the Menu pane, select Configure the CA.
2. Edit the CA data values (on page 281) as necessary.
3. In the Operations pane, select an operation:
• Apply - Save and enter the CA configuration settings.
If the values are valid, the configured settings become immediately effective. All non-valid
strings are changed to the default values.
• Cancel - Reset all values to the values in the last saved configuration.
• Restore Default - Revert the CA to its default configuration settings.
Entering the string Default in one of the attributes will also reset it to the default after
you click Configure. Values that are valid will be changed as requested, and others will
change to default values.
You can enter the values in the format in which they are displayed (<number> days
<number> seconds) or as a number of seconds.
• Integer - a regular integer, for example: SIC Key Size: 2048
• Boolean - the values can be true or false (not case sensitive), for example: Enable renewal:
true
• String - an alphanumeric string, for example: Management Tool DN prefix: cn=tests
These are the CA attributes, in alphabetical order:
Management Tool Mail The text that appears in the Registration Key:
Text Format body of the message. 3 $REG_KEY
variables can be used in Expiration:
addition to the text: $EXPIRE
$REG_KEY (user's
registration key);
$EXPIRE (expiration time);
$USER (user's DN).
Management Tool Mail When the send mail option -
To address is used, the emails to users
that have no email address
defined will be sent to this
address.
New CRL Mode A Boolean value describing 0 for old CRL true
the CRL mode. mode
1 for new mode
Number of certificates The number of certificates min-1 approx 700
per search page that will be displayed in max-approx 700
each page of the search
window.
Number of Digits for The number of digits of min-5 5
Serial Number certificate serial numbers. max-10
API Settings
Startup Settings
Select Automatic start to automatically start the API server when you start or reboot the
Management Server.
The Automatic start option is activated by default during Management Server installation, if the
Management Server has more than 4GB of RAM installed. If the Management Server has less than
4GB of RAM, the Automatic Start is deactivated.
If you change the Automatic start option:
1. Publish the session changes in SmartConsole.
2. Run the api restart command on the Management Server.
Access Settings
Select one of these options to configure which SmartConsole clients connect to the API server:
• Management server only - Only the Management Server itself can connect to the API Server.
This option only lets you use the mgmt_cli utility to send API requests. You cannot use
SmartConsole or web services to send API requests.
• All IP addresses that can be used for GUI clients - You can send API requests from all IP
addresses that are defined as Trusted Clients in SmartConsole. This includes requests from
SmartConsole, Web services and the mgmt_cli utility.
• All IP addresses - You can send API requests from all IP addresses. This includes requests
from SmartConsole, Web services and the mgmt_cli utility.
contract_util
Description
Works with the Check Point Service Contracts.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util [-d]
check <options>
cpmacro <options>
download <options>
mgmt
print <options>
summary <options>
update <options>
verify
Parameters
Parameter Description
check <options> (on Checks whether the Security Gateway is eligible for an upgrade.
page 290)
cpmacro <options> (on Overwrites the current cp.macro file with the specified cp.macro
page 291) file.
download <options> (on Downloads all associated Check Point Service Contracts from the
page 292) User Center, or from a local file.
mgmt (on page 294) Delivers the Service Contract information from the Management
Server to the managed Security Gateways.
print <options> (on Shows all the installed licenses and whether the Service Contract
page 295) covers these license, which entitles them for upgrade or not.
summary <options> (on Shows post-installation summary.
page 296)
update <options> (on Updates Check Point Service Contracts from your User Center
page 297) account.
verify (on page 298) Checks whether the Security Gateway is eligible for an upgrade.
This command also interprets the return values and shows a
meaningful message.
contract_util check
Description
Checks whether the Security Gateway is eligible for an upgrade.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util check
{-h | -help}
hfa
maj_upgrade
min_upgrade
upgrade
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
contract_util cpmacro
Description
Overwrites the current cp.macro file with the specified cp.macro file, if the specified is newer
than the current file.
For more information about the cp.macro file, see sk96217: What is a cp.macro file?
http://supportcontent.checkpoint.com/solutions?id=sk96217
Syntax
contract_util cpmacro /<path_to>/cp.macro
Message Description
CntrctUtils_Write_cp_macro returned -1 The contract_util cpmacro
command failed:
• Failed to create a temporary file.
• Failed to write to a temporary
file.
• Failed to replace the current file.
CntrctUtils_Write_cp_macro returned 0 The contract_util cpmacro
command was able to overwrite the
current file with the specified file,
because the specified file is newer.
CntrctUtils_Write_cp_macro returned 1 The contract_util cpmacro
command did not overwrite the
current file, because it is newer than
the specified file.
contract_util download
Description
Downloads all associated Check Point Service Contracts from User Center, or from a local file.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util download
{-h | -help}
local
{-h | -help}
[{hfa | maj_upgrade | min_upgrade | upgrade}] <Service Contract File>
uc
{-h | -help}
[-i] [{hfa | maj_upgrade | min_upgrade | upgrade}] <Username>
<Password> [<Proxy Server> [<Proxy Username>:<Proxy Password>]]
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-i Interactive mode - prompts the user for the User Center credentials
and proxy server settings.
local Specifies to download the Service Contract from the local file.
This is equivalent to the cplic contract put (on page 334)
command.
uc Specifies to download the Service Contract from the User Center.
hfa Downloads the information about a Hotfix Accumulator.
maj_upgrade Downloads the information about a Major version.
min_upgrade Downloads the information about a Minor version.
upgrade Downloads the information about an upgrade.
<Proxy Server> [<Proxy Specifies that the connection to the User Center goes through the
Username>:<Proxy proxy server.
Password>] • <Proxy Server> - IP address of resolvable hostname of the proxy
server
• <Proxy Username> - Username for the proxy server.
• <Proxy Password> - Password for the proxy server.
Note - If you do not specify the proxy server explicitly, the command
uses the proxy server configured in the management database.
Parameter Description
<Service Contract File> Path to and the name of the Service Contract file.
First, you must download the Service Contract file from your User
Center account.
contract_util mgmt
Description
Delivers the Service Contract information from the Management Server to the managed Security
Gateways.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util mgmt
contract_util print
Description
Shows all the installed licenses and whether the Service Contract covers these license, which
entitles them for upgrade or not.
This command can show which licenses are not recognized by the Service Contract file.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util [-d] print
{-h | -help}
hfa
maj_upgrade
min_upgrade
upgrade
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
contract_util summary
Description
Shows post-installation summary and whether this Check Point computer is eligible for upgrades.
Syntax
contract_util summary
hfa
maj_upgrade
min_upgrade
upgrade
Parameters
Parameter Description
hfa Shows the information about Hotfix Accumulator.
maj_upgrade Shows the information about Major version.
min_upgrade Shows the information about Minor version.
upgrade Shows the information about an upgrade.
contract_util update
Description
Updates the Check Point Service Contracts from your User Center account.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util update
[-proxy <Proxy Server>:<Proxy Port>]
[-ca_path <Path to ca-bundle.crt File>]
Parameters
Parameter Description
update Updates Check Point Service Contracts (attached to pre-installed
licenses) from your User Center account.
-proxy <Proxy Specifies that the connection to the User Center goes through the
Server>:<Proxy Port> proxy server:
• <Proxy Server> - IP address of resolvable hostname of the proxy
server.
• <Proxy Port> - The applicable port on the proxy server.
Note - If you do not specify the proxy explicitly, the command uses
the proxy configured in the management database.
-ca_path <Path to Specifies the path to the Certificate Authority Bundle file
ca-bundle.crt File> (ca-bundle.crt).
Note - If you do not specify the path explicitly, the command uses the
default path.
contract_util verify
Description
Checks whether the Security Gateway is eligible for an upgrade.
This command is the same as the contract_util check (on page 290) command, but it also
interprets the return values and shows a meaningful message.
For more information about Service Contract files, see sk33089: What is a Service Contract File?
http://supportcontent.checkpoint.com/solutions?id=sk33089
Syntax
contract_util verify
cpca_client
Description
Execute operations on the Internal Certificate Authority (ICA).
Important - On Multi-Domain Server, you must run these commands in the context of the relevant
Domain Management Server:
1. mdsenv <Name or IP Address of Domain Management Server>
2. cpca_client ...
Syntax
cpca_client [-d]
create_cert <options>
double_sign <options>
get_crldp <options>
get_pubkey <options>
init_certs <options>
lscert <options>
revoke_cert <options>
revoke_non_exist_cert <options>
search <options>
set_mgmt_tool <options>
set_sign_hash <options>
Parameters
Parameter Description
-d Runs the cpca_client command in debug
mode.
create_cert <options> (on page 301) Issues a SIC certificate for the Security
Management Server or Domain Management
Server.
double_sign <options> (on page 302) Creates a second signature for a certificate.
get_crldp <options> (on page 303) Shows how to access a CRL file from a CRL
Distribution Point.
get_pubkey <options> (on page 304) Saves the encoding of the public key of the
ICA's certificate to a file.
init_certs <options> (on page 305) Imports a list of DNs for users and creates a
file with registration keys for each user.
lscert <options> (on page 306) Shows all certificates issued by the ICA.
revoke_cert <options> (on page 308) Revokes a certificate issued by the ICA.
revoke_non_exist_cert <options> (on page Revokes a non-existent certificate issued by the
310) ICA.
search <options> (on page 311) Searches for certificates in the ICA.
set_mgmt_tool <options> (on page 313) Controls the ICA Management Tool.
Parameter Description
set_sign_hash <options> (on page 315) Sets the hash algorithm that the CA uses to
sign the file hash.
cpca_client create_cert
Description
Issues a SIC certificate for the Security Management Server or Domain Management Server.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] create_cert [-p <CA port number>] -n "CN=<Common Name>" -f <Full
Path to PKCS12 file> [-w <Password>] [-k {SIC | USER | IKE | ADMIN_PKG}] [-c "<Comment
for Certificate>"]
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-p <CA port number> Specifies the TCP port on the Security Management Server or
Domain Management Server, which is used to connect to the
Certificate Authority.
The default TCP port number is 18209.
-n "CN=<Common Sets the CN to the specified <Common Name>.
Name>"
-f <Full Path to PKCS12 Specifies the PKCS12 file, which stores the certificate and keys.
file>
-w <Password> Optional. Specifies the certificate password.
-k {SIC | USER | IKE Optional. Specifies the certificate kind.
| ADMIN_PKG}
-c "<Comment for Optional. Specifies the certificate comment (must enclose in double
Certificate>" quotes).
Example
[Expert@MGMT:0]# cpca_client create_cert -n "cn=cp_mgmt" -f
$CPDIR/conf/sic_cert.p12
cpca_client double_sign
Description
Creates a second signature for a certificate.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] double_sign [-p <CA port number>] -i <Certificate File in PEM
format> [-o <Full Path to Output File>]
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-p <CA port number> Optional. Specifies the TCP port on the Security Management Server
or Domain Management Server, which is used to connect to the
Certificate Authority.
The default TCP port number is 18209.
-i <Certificate File in Imports the specified certificate (only in PEM format).
PEM format>
-o <Full Path to Output Optional. Saves the certificate into the specified file.
File>
Example
[Expert@MGMT:0]# cpca_client double_sign -i certificate.pem
[Expert@MGMT:0]#
cpca_client get_crldp
Description
Show the how to access a CRL file from a CRL Distribution Point.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] get_crldp [-p <CA port number>]
Parameters
Parameter Description
-d Runs the command in debug mode.
-p <CA port number> Optional. Specifies the TCP port on the Security Management Server
or Domain Management Server, which is used to connect to the
Certificate Authority.
The default TCP port number is 18209.
Example
[Expert@MGMT:0]# cpca_client get_crldp
192.168.3.51
[Expert@MGMT:0]
cpca_client get_pubkey
Description
Saves the encoding of the public key of the ICA's certificate to a file.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] get_pubkey [-p <CA port number>] <Full Path to Output File>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-p <CA port number> Specifies the TCP port on the Security Management Server or
Domain Management Server, which is used to connect to the
Certificate Authority.
The default TCP port number is 18209.
<Full Path to Output File> Saves the encoding of the public key of the ICA's certificate to the
specified file.
Example
[Expert@MGMT:0]# cpca_client get_pubkey /tmp/key.txt
[Expert@MGMT:0]#
[Expert@MGMT:0]# cat /tmp/key.txt
3082010a... ... ...f98b8910
[Expert@MGMT:0]#
cpca_client init_certs
Description
Imports a list of DNs for users and creates a file with registration keys for each user.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] init_certs [-p <CA port number>] -i <Full Path to Input File> -o
<Full Path to Output File>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-p <CA port number> Optional. Specifies the TCP port on the Security Management
Server or Domain Management Server, which is used to connect
to the Certificate Authority.
The default TCP port number is 18209.
-i <Full Path to Input File> Imports the specified file.
Make sure to use the full path.
Make sure that there is an empty line between each DN in the
specified file.
Example:
...CN=test1,OU=users...
<Empty Line>
...CN=test2,OU=users...
-o <Full Path to Output File> Saves the registration keys to the specified file.
This command saves the error messages in the <Name of
Output File>.failures file in the same directory.
cpca_client lscert
Description
Shows all certificates issued by the ICA.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] lscert [-dn <SubString>] [-stat {Pending | Valid | Revoked |
Expired | Renewed}] [-kind {SIC | IKE | User | LDAP}] [-ser <Certificate Serial
Number>] [-dp <Certificate Distribution Point>]
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-dn <SubString> Optional. Filters the search results to those with a DN that matches
the specified <SubString>.
This command does not support multiple values.
-stat {Pending | Optional. Filters the search results to those with certificate status
Valid | Revoked | that matches the specified status.
Expired | Renewed}
This command does not support multiple values.
-kind {SIC | IKE | Optional. Filters the search results to those with certificate kind that
User | LDAP} matches the specified kind.
This command does not support multiple values.
-ser <Certificate Serial Optional. Filters the search results to those with certificate serial
Number> number that matches the specified serial number.
This command does not support multiple values.
-dp <Certificate Optional. Filters the search results to the specified Certificate
Distribution Point> Distribution Point (CDP).
This command does not support multiple values.
Example
[Expert@MGMT:0]# cpca_client lscert -stat Revoked
Operation succeeded. rc=0.
5 certs found.
Subject = CN=VSX2,O=MyDomain_Server.checkpoint.com.s6t98x
Status = Revoked Kind = SIC Serial = 5521 DP = 0
Not_Before: Sun Apr 8 14:10:01 2018 Not_After: Sat Apr 8 14:10:01 2023
Subject = CN=VSX1,O=MyDomain_Server.checkpoint.com.s6t98x
Status = Revoked Kind = SIC Serial = 9113 DP = 0
Not_Before: Sun Apr 8 14:09:02 2018 Not_After: Sat Apr 8 14:09:02 2023
cpca_client revoke_cert
Description
Revokes a certificate issued by the ICA.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] revoke_cert [-p <CA port number>] -n "CN=<Common Name>" -s
<Certificate Serial Number>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-p <CA port number> Optional. Specifies the TCP port on the Security Management Server
or Domain Management Server, which is used to connect to the
Certificate Authority.
The default TCP port number is 18209.
-n "CN=<Common Specifies the certificate CN.
Name>" To get the CN, run the cpca_client lscert command and
examine the text that you see between the "Subject = " and the
",O=...".
Example:
From this output:
Subject = CN=VS1 VPN Certificate,O=MyDomain_Server.checkpoint.com.s6t98x
Status = Valid Kind = IKE Serial = 27214 DP = 1
Not_Before: Wed Apr 11 17:26:02 2018 Not_After: Tue Apr 11 17:26:02 2023
Note - You can use the parameter '-n' only, or together with the
parameter '-s'.
-s <Certificate Serial Specifies the certificate serial number.
Number> To see the serial number, run the cpca_client lscert command.
Note - You can use the parameter '-s' only, or together with the
parameter '-n'.
cpca_client revoke_non_exist_cert
Description
Revokes a non-existent certificate issued by the ICA.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] revoke_non_exist_cert -i <Full Path to Input File>
Parameters
Parameter Description
-d Runs the cpca_client command under debug.
-i <Full Path Specifies the file that contains the list of the certificate to revoke.
to Input File> You must create this file in the same format as the cpca_client lscert
command prints its output.
Example:
Subject = CN=cp_mgmt,O=MGMT.5p72vp
Status = Valid Kind = SIC Serial = 30287 DP = 0
Not_Before: Sat Apr 7 19:40:12 2018 Not_After: Fri Apr 7 19:40:12 2023
<Empty Line>
Subject = CN=cp_mgmt,O=MGMT.5p72vp
Status = Valid Kind = SIC Serial = 60870 DP = 0
Not_Before: Sat Apr 7 19:40:13 2018 Not_After: Fri Apr 7 19:40:13 2023
Note - This command saves the error messages in the <Name of Input File>.failures file.
cpca_client search
Description
Searches for certificates in the ICA.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] search <String> [-where {dn | comment | serial | device_type |
device_id | device_name}] [-kind {SIC | IKE | User | LDAP}] [-stat {Pending | Valid
| Revoked | Expired | Renewed}] [-max <Maximal Number of Results>] [-showfp {y |
n}]
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
<String> Specifies the text to search in the certificates.
You can enter only one text string that does not contain spaces.
-where {dn | comment Optional. Specifies the certificate's field, in which to search for the
| serial |
string:
device_type |
device_id | • dn - Certificate DN
device_name}
• comment - Certificate comment
• serial - Certificate serial number
• device_type - Device type
• device_id - Device ID
• device_name - Device Name
The default is to search in all fields.
-kind {SIC | IKE | Optional. Specifies the certificate kind to search.
User | LDAP}
You can enter multiple values in this format:
-kind Kind1 Kind2 Kind3
The default is to search for all kinds.
-max <Maximal Number Optional. Specifies the maximal number of results to show.
of Results> • Range: 1 and greater
• Default: 200
Parameter Description
-showfp {y | n} Optional. Specifies whether to show the certificate's fingerprint and
thumbprint:
• y - Shows the fingerprint and thumbprint (this is the default)
• n - Does not show the fingerprint and thumbprint
Example 1
[Expert@MGMT:0]# cpca_client search samplecompany -where comment -kind SIC LDAP
-stat Pending Valid Renewed
Example 2
[Expert@MGMT:0]# cpca_client search 192.168.3.51 -where dn
Operation succeeded. rc=0.
1 certs found.
Subject = CN=192.168.3.51,O=MGMT.5p72vp
Status = Valid Kind = SIC Serial = 73455 DP = 0
Not_Before: Sat Apr 7 19:40:12 2018 Not_After: Fri Apr 7 19:40:12 2023
Fingerprint = XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
Thumbprint = xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
[Expert@MGMT:0]#
Example 3
[Expert@MGMT:0]# cpca_client search 192.168.3.51 -where dn -showfp n
Operation succeeded. rc=0.
1 certs found.
Subject = CN=192.168.3.51,O=MGMT.5p72vp
Status = Valid Kind = SIC Serial = 73455 DP = 0
Not_Before: Sat Apr 7 19:40:12 2018 Not_After: Fri Apr 7 19:40:12 2023
[Expert@MGMT:0]#
cpca_client set_mgmt_tool
Description
Controls the ICA Management Tool.
See:
• sk30501: Setting up the ICA Management Tool
http://supportcontent.checkpoint.com/solutions?id=sk30501
• sk39915: Invoking the ICA Management Tool
http://supportcontent.checkpoint.com/solutions?id=sk39915
• sk102837: Best Practices - ICA Management Tool configuration
http://supportcontent.checkpoint.com/solutions?id=sk102837
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] set_mgmt_tool {on | off | add | remove | clean | print} [-p <CA
port number>] {[-a <Administrator DN>] | [-u <User DN>] | [-c <Custom User DN>]}
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
on Starts the ICA Management Tool.
off Stops the ICA Management Tool.
add Adds the specified administrator, user, or custom user that is
permitted to use the ICA Management Tool.
remove Removes the specified administrator, user, or custom user that is
permitted to use the ICA Management Tool.
clean Removes all administrators, users, or custom users that are
permitted to use the ICA Management Tool.
print Shows the configured administrators, users, or custom users that
are permitted to use the ICA Management Tool.
-p <CA port number> Optional. Specifies the TCP port on the Security Management Server
or Domain Management Server, which is used to connect to the
Certificate Authority.
The default TCP port number is 18265.
Parameter Description
-a <Administrator DN> Optional. Specifies the DN of the administrator that is permitted to
use the ICA Management Tool.
Must specify the full DN as appears in SmartConsole:
Open Object Explorer > Users > Administrator or User object
properties > click Certificates pane > select the certificate and click
the pencil icon > click View certificate details > in the Certificate Info
window, click the Details tab > click the Subject field > concatenate
all fields.
Example:
-a "CN=ICA_Tool_Admin,OU=users,O=MGMT.s6t98x"
-u <User DN> Optional. Specifies the DN of the user that is permitted to use the ICA
Management Tool.
Must specify the full DN as appears in SmartConsole:
Open Object Explorer > Users > User object properties > click
Certificates pane > select the certificate and click the pencil icon >
click View certificate details > in the Certificate Info window, click
the Details tab > click the Subject field > concatenate all fields.
Example:
-u "CN=ICA_Tool_User,OU=users,O=MGMT.s6t98x"
-c <Custom User DN> Optional. Specifies the DN for the custom user that is permitted to
use the ICA Management Tool.
Must specify the full DN as appears in SmartConsole:
Open Object Explorer > Users > User object properties > click
Certificates pane > select the certificate and click the pencil icon >
click View certificate details > in the Certificate Info window, click
the Details tab > click the Subject field > concatenate all fields.
Example:
-c "CN=ICA_Tool_User,OU=users,O=MGMT.s6t98x"
Note - If you run the 'cpca_client set_mgmt_tool' command without the parameter '-a', or
'-u', the list of the permitted administrators and users is not changed. The previously defined
permitted administrators and users can start and stop the ICA Management Tool.
cpca_client set_sign_hash
Description
Sets the hash algorithm that the CA uses to sign the file hash. Also, see sk103840
http://supportcontent.checkpoint.com/solutions?id=sk103840.
Important - On Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
Syntax
cpca_client [-d] set_sign_hash {sha1 | sha256 | sha384 | sha512}
Important - After this change, you must restart the Check Point services with these commands:
On Security Management Server, run:
a) cpstop
b) cpstart
On Multi-Domain Server, run:
a) mdsstop_customer <Name or IP Address of Domain Management Server>
b) mdsstart_customer <Name or IP Address of Domain Management Server>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
{sha1 | sha256 | The hash algorithms that the CA uses to sign the file hash.
sha384 | sha512}
The default algorithm is SHA-256.
Example
[Expert@MGMT:0]# cpca_client set_sign_hash sha256
cp_conf
Description
Configures or reconfigures a Check Point product installation.
The available options for each Check Point computer depend on the configuration and installed
products.
Syntax
cp_conf
-h
admin <options>
auto <options>
ca <options>
client <options>
finger <options>
lic <options>
snmp <options>
Parameters
Item Description
-h Shows the entire built-in usage.
admin <options> (on page Configures Check Point system administrators for the Security
317) Management Server.
auto <options> (on page Shows and configures the automatic start of Check Point products
319) during boot.
ca <options> (on page • Configures the Certificate Authority's (CA) Fully Qualified Domain
320) Name (FQDN).
• Initializes the Internal Certificate Authority (ICA).
client <options> (on Configures the GUI clients that can use SmartConsole to connect to
page 321) the Security Management Server.
finger <options> (on Shows the ICA's Fingerprint.
page 324)
lic <options> (on page Manages Check Point licenses.
325)
snmp <options> Do not use these commands anymore.
To configure SNMP, see the R80.20 Gaia Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides
/EN/CP_R80.20_Gaia_AdminGuide/html_frameset.htm - Chapter
System Management - Section SNMP.
cp_conf admin
Description
Configures Check Point system administrators for the Security Management Server.
Notes:
• Multi-Domain Server does not support this command.
• Only one administrator can be defined in the cpconfig (on page 327) menu. To define
additional administrators, use SmartConsole.
• This command corresponds to the option Administrator in the cpconfig (on page 327) menu.
Syntax
cp_conf admin
-h
add [<UserName> <Password> {a | w | r}]
add -gaia [{a | w | r}]
del <UserName1> <UserName2> ...
get
Parameters
Parameter Description
-h Shows the applicable built-in usage.
add [<UserName> Adds a Check Point system administrator:
<Password> {a | w | r}] • <UserName> - Specifies the administrator's username
• <Password> - Specifies the administrator's password
• a - Assigns all permissions - read settings, write settings,
and manage administrators
• w - Assigns permissions to read and write settings only
(cannot manage administrators)
• r - Assigns permissions to only read settings
add -gaia [{a | w | r}] Adds the Gaia administrator user admin:
Example 1
[Expert@MGMT:0]# cp_conf admin add
Administrator name: admin
Administrator admin already exists.
Do you want to change Administrator's Permissions (y/n) [n] ? y
Permissions for all products (Read/[W]rite All, [R]ead Only All, [C]ustomized) c
Permission for SmartUpdate (Read/[W]rite, [R]ead Only, [N]one) w
Permission for Monitoring (Read/[W]rite, [R]ead Only, [N]one) w
Example 2
[Expert@MGMT:0]# cp_conf admin add -gaia
Permissions for all products (Read/[W]rite All, [R]ead Only All, [C]ustomized) C
Permission for SmartUpdate (Read/[W]rite, [R]ead Only, [N]one) w
Permission for Monitoring (Read/[W]rite, [R]ead Only, [N]one) w
Administrator admin was added successfully and has
Read/Write Permission for SmartUpdate
Read/Write Permission for Monitoring
[Expert@MGMT:0]#
cp_conf auto
Description
Shows and controls which of Check Point products start automatically during boot.
Note - This command corresponds to the option Automatic start of Check Point Products in the
cpconfig menu.
Important - In cluster, you must configure all the Cluster Members in the same way.
Syntax
cp_conf auto
-h
{enable | disable} <Product1> <Product2> ...
get all
Parameters
Parameter Description
-h Shows the applicable built-in usage.
{enable | disable} Controls whether the installed Check Point products start
<Product1> <Product2> ... automatically during boot.
This command is for Check Point use only.
get all Shows which of these Check Point products start automatically
during boot:
• Check Point Security Gateway
• QoS (former FloodGate-1)
• SmartEvent Suite
[Expert@MGMT:0]#
The Check Point Security Gateway will start automatically at boot time.
[Expert@MyGW:0]#
cp_conf ca
Description
• Initializes the Internal Certificate Authority (ICA).
• Configures the Certificate Authority's (CA) Fully Qualified Domain Name (FQDN).
Note - This command corresponds to the option Certificate Authority in the cpconfig (on page
327) menu.
Syntax
cp_conf ca
-h
fqdn <FQDN Name>
init
Parameters
Parameter Description
-h Shows the applicable built-in usage.
fqdn <FQDN Name> Configures the Certificate Authority's (CA) Fully Qualified
Domain Name (FQDN).
<FQDN Name> is the text string hostname.domainname
init Initializes the Internal Certificate Authority (ICA).
Example
[Expert@MyMGMT:0]# hostname
MyMGMT
[Expert@MyMGMT:0]#
[Expert@MyMGMT:0]# domainname
checkpoint.com
[Expert@MyMGMT:0]#
cp_conf client
Description
Configures the GUI clients that can use SmartConsoles to connect to the Security Management
Server.
Notes:
• Multi-Domain Server does not support this command.
• This command corresponds to the option GUI Clients in the cpconfig (on page 327) menu.
Syntax
cp_conf client
add <GUI Client>
createlist <GUI Client 1> <GUI Client 2> ...
del <GUI Client 1> <GUI Client 2> ...
get
Parameters
Parameter Description
-h Shows the built-in usage.
<GUI Client> <GUI Client> can be one of these:
• One IPv4 address (for example, 192.168.10.20), or
one IPv6 address (for example, 3731:54:65fe:2::a7)
• One hostname (for example, MyComputer)
• "Any" - To denote all IPv4 and IPv6 addresses without
restriction
• A range of IPv4 addresses (for example,
192.168.10.0/255.255.255.0), or
a range of IPv6 addresses (for example, 2001::1/128)
• IPv4 address wild card (for example, 192.168.10.*)
add <GUI Client> Adds a GUI client.
createlist <GUI Client 1> Deletes the current allowed GUI clients and creates a new list of
<GUI Client 2> ... allowed GUI clients.
del <GUI Client 1> <GUI Client Deletes the specified the GUI clients.
2> ...
get Shows the allowed GUI clients.
Example 6 - Delete the current list and create a new list of allowed GUI clients
[Expert@MGMT:0]# cp_conf client get
There are no GUI Clients defined for this Security Management Server
[Expert@MGMT:0]#
cp_conf finger
Description
Shows the ICA's Fingerprint. This fingerprint is a text string derived from the Security
Management Server or Domain Management Server ICA certificate. This fingerprint verifies the
identity of the Security Management Server or Domain Management Server when you connect to it
with a SmartConsole.
Note - This command corresponds to the option Certificate's Fingerprint in the cpconfig (on
page 327) menu.
Syntax
cp_conf finger
-h
get
Parameters
Parameter Description
-h Shows the applicable built-in usage.
get Shows the ICA's Fingerprint.
Example
[Expert@MGMT:0]# cp_conf finger get
EDNA COCO MOLE ATOM ASH MOT SAGE NINE ILL TINT HI CUBE
[Expert@MGMT:0]#
cp_conf lic
Description
Shows, adds and deletes Check Point licenses.
Note - This command corresponds to the option Licenses and contracts in the cpconfig menu.
Syntax
cp_conf lic
-h
add -f <Full Path to License File>
add -m <Host> <Date> <Signature Key> <SKU/Features>
del <Signature Key>
get [-x]
Parameters
Parameter Description
-h Shows the applicable built-in usage.
add -f <Full Path to License Adds a license from the specified Check Point license file.
File> You get this license file in the Check Point User Center.
This is the same command as the cplic db_add (on page 335).
add -m <Host> <Date> Adds the license manually.
<Signature Key> You get these license details in the Check Point User Center.
<SKU/Features> This is the same command as the cplic db_add (on page 335).
del <Signature Key> Delete the license based on its signature.
This is the same command as the cplic del (on page 338).
get [-x] Shows the local installed licenses.
If you specify the '-x' parameter, output also shows the
signature key for every installed license.
This is the same command as the cplic print [-x] (on page
341).
cpca_create
Description
Creates new Check Point Internal Certificate Authority database.
Syntax
cpca_create [-d] -dn <CA DN>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-dn <CA DN> Specifies the Certificate Authority Distinguished Name (DN).
cpconfig
Description
This command starts the Check Point Configuration Tool. This tool lets you configure specific
settings for the installed Check Point products
Syntax
cpconfig
Menu Options
Note - The options shown depend on the configuration and installed products.
Configuration Options:
----------------------
(1) Licenses and contracts
(2) Administrator
(3) GUI Clients
(4) SNMP Extension
(5) Random Pool
(6) Certificate Authority
(7) Certificate's Fingerprint
(8) Automatic start of Check Point Products
(9) Exit
cpinfo
Description
A utility that collects diagnostics data on your Check Point computer at the time of execution.
It is mandatory to collect these data when you contact Check Point Support
https://www.checkpoint.com/support-services/contact-support/ about an issue on your Check
Point computer.
For more information, see sk92739 http://supportcontent.checkpoint.com/solutions?id=sk92739.
cplic
The cplic command lets you manage Check Point licenses. The cplic command can be run in
Gaia Clish or in Expert Mode.
License Management is divided into three types of commands:
Parameters
Parameters Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
Parameters Description
{-h | -help} Shows the applicable built-in usage.
check <options> (on page 332) Confirms that the license includes the feature on the local
Security Gateway or Security Management Server.
contract <options> (on page Manages (deletes and installs) the Check Point Service
334) Contract on the local Check Point computer.
db_add <options> (on page 335) Applies only to a Management Server:
Adds licenses to the license repository on the Security
Management Server.
db_print <options> (on page Applies only to a Management Server:
336) Displays the details of Check Point licenses stored in the
license repository on the Security Management Server.
db_rm <options> (on page 337) Applies only to a Management Server:
Removes a license from the license repository on the
Security Management Server.
del <options> (on page 338) Deletes a Check Point license on a host, including unwanted
evaluation, expired, and other licenses.
del <Object Name> <options> Detaches a Central license from a remote managed Check
(on page 339) Point Security Gateway.
get <options> (on page 340) Applies only to a Management Server:
Retrieves all licenses from Security Gateways into the license
repository on the Security Management Server.
print <options> (on page 341) Prints details of the installed Check Point licenses on the
local Check Point computer.
put <options> (on page 342) Installs and attaches licenses on a Check Point computer.
put <Object Name> <options> Attaches one or more Central or Local licenses to a remote
(on page 344) managed Security Gateway.
upgrade <options> (on page 346) Applies only to a Management Server:
Upgrades licenses in the license repository with licenses in
the specified license file.
cplic check
Description
Confirms that the license includes the feature on the local Security Gateway or Security
Management Server. See sk66245 http://supportcontent.checkpoint.com/solutions?id=sk66245.
Syntax
cplic check {-h | -help}
cplic [-d] check [-p <Product>] [-v <Version>] [{-c | -count}] [-t <Date>] [{-r
| -routers}] [{-S | -SRusers}] <Feature>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
cplic contract
Description
Deletes the Check Point Service Contract from the local Check Point computer.
Installs the Check Point Service Contract on the local Check Point computer.
Notes:
• For more information about Service Contract files, see sk33089: What is a Service Contract
File? http://supportcontent.checkpoint.com/solutions?id=sk33089
• If you install a Service Contract on a managed Security Gateway, you must update the license
repository on the applicable Management Server - in SmartUpdate, or with the cplic get (on
page 340) command.
Syntax
cplic contract -h
cplic [-d] contract
del
-h
<Service Contract ID>
put
-h
[{-o | -overwrite}] <Service Contract File>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
<Service Contract File> Path to and the name of the Service Contract file.
First, you must download the Service Contract file from your User
Center account.
cplic db_add
Description
Adds one or more licenses to the license repository on the Security Management Server.
When you add Local licenses to the license repository, Security Management Server automatically
attaches them to the intended Check Point Security Gateways.
When you add Central licenses, you must manually attach them.
Note - You get the license details in the Check Point User Center.
Syntax
cplic db_add {-h | -help}
cplic [-d] db_add -l <License File> [<Host>] [<Expiration Date>] [<Signature>]
[<SKU/Features>]
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-l <License File> Name of the file that contains the license.
<Host> Security Management Server hostname or IP address.
<Expiration Date> The license expiration date.
<Signature> The license signature string.
For example: aa6uwknDc-CE6CRtjhv-zipoVWSnm-z98N7Ck3m
The string is case sensitive and the hyphens are optional.
<SKU/Features> The SKU of the license summarizes the features included in the license.
For example, CPSUITE-EVAL-3DES-vNG
Example
If the file 192.0.2.11.lic contains one or more licenses, the command cplic db_add -l
192.0.2.11.lic produces output similar to:
[Expert@MGMT]# cplic db_add -l 192.0.2.11.lic
Adding license to database ...
Operation Done
[Expert@MGMT]#
cplic db_print
Description
Displays the details of Check Point licenses stored in the license repository on the Security
Management Server.
Syntax
cplic db_print {-h | -help}
cplic [-d] db_print {<Object Name> | -all} [{-n | -noheader}] [-x] [{-t | -type}]
[{-a | -attached}]
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
<Object Name> Prints only the licenses attached to <Object Name>.
<Object Name> is the name of the Check Point Security Gateway object as
defined in SmartConsole.
-all Prints all the licenses in the license repository.
{-n | -noheader} Prints licenses with no header.
-x Prints licenses with their signatures.
{-t | -type} Prints licenses with their type: Central or Local.
{-a | -attached} Shows to which object the license is attached.
Useful, if the -all option is specified.
Example
[Expert@MGMT:0]# cplic db_print -all
Retrieving license information from database ...
cplic db_rm
Description
Removes a license from the license repository on the Security Management Server. You can run
this command ONLY after you detach the license with the cplic del (on page 338) command.
After you remove the license from the repository, it can no longer use it.
Syntax
cplic db_rm {-h | -help}
cplic [-d] db_rm <Signature>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
Example
[Expert@MGMT:0]# cplic db_rm 2f540abb-d3bcb001-7e54513e-kfyigpwn
cplic del
Description
Deletes a Check Point license on a host, including unwanted evaluation, expired, and other
licenses.
This command can delete a license on both local computer, and on remote managed computers.
Syntax
cplic del {-h | -help}
cplic [-d] del [-F <Output File>] <Signature> <Object Name>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-F <Output File> Saves the command output to the specified file.
<Signature> The signature string within the license.
To see the license signature string, run the cplic print -x (on page 341)
command.
<Object Name> The name of the Check Point Security Gateway object as defined in
SmartConsole.
Syntax
cplic del {-h | -help}
cplic [-d] del <Object Name> [-F <Output File>] [-ip <Dynamic IP Address>]
<Signature>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
<Object Name> The name of the Check Point Security Gateway object as defined in
SmartConsole.
-F <Output File> Saves the command output to the specified file.
-ip <Dynamic IP Deletes the license on the Check Point Security Gateway with the specified
Address> IP address. Use this parameter to delete a license on a DAIP Check Point
Security Gateway.
Note - If this parameter is used, then object name must be a DAIP Security
Gateway.
cplic get
Description
Retrieves all licenses from Security Gateways into the license repository on the Security
Management Server.
This command helps synchronize the license repository with the managed Check Point Security
Gateways.
When you run this command, it updates the license repository with all local changes.
Syntax
cplic get {-h | -help}
cplic [-d] get
-all
<IP Address>
<Host Name>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
Example
If the Check Point Security Gateway with the object name MyGW contains four Local licenses, and
the license repository contains two other Local licenses, the command cplic get MyGW
produces output similar to this:
[Expert@MGMT:0]# cplic get MyGW
Get retrieved 4 licenses.
Get removed 2 licenses.
[Expert@MGMT:0]#
cplic print
Description
Prints details of the installed Check Point licenses on the local Check Point computer.
Note - On a Security Gateway, this command prints all installed licenses (both Local and Central).
Syntax
cplic print {-h | -help}
cplic [-d] print[{-n | -noheader}] [-x] [{-t | -type}] [-F <Output File>] [{-p |
-preatures}] [-D]
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
{-n | -noheader} Prints licenses with no header.
-x Prints licenses with their signature.
{-t | -type] Prints licenses showing their type: Central or Local.
-F <Output File> Saves the command output to the specified file.
{-p | -preatures} Prints licenses resolved to primitive features.
-D on Multi-Domain Server, prints only Domain licenses.
Example 1
[Expert@HostName:0]# cplic print
Host Expiration Features
192.168.3.28 25Aug2017 CPMP-XXX CK-XXXXXXXXXXXX
[Expert@HostName:0]#
Example 2
[Expert@HostName:0]# cplic print -x
Host Expiration Signature Features
192.168.3.28 25Aug2017 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx CPMP-XXX CK-XXXXXXXXXXXX
[Expert@HostName:0]#
cplic put
Description
Installs one or more Local licenses on a Check Point computer.
Note - You get the license details in the Check Point User Center.
Syntax
cplic put {-h | -help}
cplic [-d] put [{-o | -overwrite}] [{-c | -check-only}] [{-s | -select}] [-F <Output
File>] [{-P | -Pre-boot}] [{-k | -kernel-only}] -l <License File> [<Host>]
[<Expiration Date>] [<Signature>] [<SKU/Features>]
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
{-o | -overwrite} On a Security Management Server, this erases all existing licenses
and replaces them with the new licenses.
On a Check Point Security Gateway, this erases only the local
licenses, but not central licenses that are installed remotely.
{-c | -check-only} Verifies the license. Checks if the IP of the license matches the Check
Point computer and if the signature is valid.
{-s | -select} Selects only the local license whose IP address matches the IP
address of the Check Point computer.
-F <Output File> Saves the command output to the specified file.
{-P | -Pre-boot} Use this option after you have upgraded and before you reboot the
Check Point computer. Use of this option will prevent certain error
messages.
{-K | -kernel-only} Pushes the current valid licenses to the kernel.
For use by Check Point Support only.
-l <License File> Name of the file that contains the license.
<Host> Hostname or IP address of Security Management Server.
<Expiration Date> The license expiration date.
<Signature> The signature string within the license.
(Case sensitive. The hyphens are optional.)
<SKU/Features> The SKU of the license summarizes the features included in the
license.
For example: CPSUITE-EVAL-3DES-vNG
Copy and paste the parameters from the license received from the User Center:
Parameter Description
host The IP address of the external interface (in quad-dot notation). The
last part cannot be 0 or 255.
expiration date The license expiration date. It can be never.
signature The license signature string.
(Case sensitive. The hyphens are optional.)
SKU/features A string listing the SKU and the Certificate Key of the license. The
SKU of the license summarizes the features included in the license.
For example: CPSB-SWB CPSB-ADNC-M CK0123456789ab
Example
[Expert@HostName:0]# cplic put -l License.lic
Host Expiration SKU
192.168.2.3 14Jan2016 CPSB-SWB CPSB-ADNC-M CK0123456789ab
[Expert@HostName:0]#
Syntax
cplic put {-h | -help}
cplic [-d] put <Object Name> [-ip <Dynamic IP Address>] [-F <Output File>] -l
<License File> [<Host>] [<Expiration Date>] [<Signature>] [<SKU/Feature>]
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
Copy and paste the parameters from the license received from the User Center:
Parameter Description
host The IP address of the external interface (in quad-dot notation). The last
part cannot be 0 or 255.
expiration date The license expiration date. It can be never.
Parameter Description
signature The license signature string.
(Case sensitive. The hyphens are optional.)
SKU/features A string listing the SKU and the Certificate Key of the license. The SKU of
the license summarizes the features included in the license.
For example: CPSB-SWB CPSB-ADNC-M CK0123456789ab
cplic upgrade
Description
Upgrades licenses in the license repository with licenses in the specified license file.
Note - You get this license file in the Check Point User Center.
Syntax
cplic upgrade {-h | -help}
cplic [-d] upgrade –l <Input File>
Parameters
Parameter Description
{-h | -help} Shows the applicable built-in usage.
–l <Input File> Upgrades the licenses in the license repository and Check Point Security
Gateways to match the licenses in the specified file.
Example
This example explains the procedure to upgrade the licenses in the license repository.
There are two Software Blade licenses in the input file:
• One license does not match any license on a remote managed Security Gateway.
• The other license matches an NGX-version license on a managed Security Gateway that has to
be upgraded.
Workflow:
• Upgrade the Security Management Server to the latest version.
Ensure that there is connectivity between the Security Management Server and the Security
Gateways with the previous product versions.
• Import all licenses into the license repository. This can also be done after upgrading the
products on the remote Security Gateways.
• Run this command:
cplic get -all
Example:
[Expert@MyMGMT]# cplic get -all
Getting licenses from all modules ...
MyGW:
Retrieved 1 licenses
Example:
[Expert@MyMGMT]# cplic db_print -all -a
Retrieving license information from database ...
• In the User Center https://usercenter.checkpoint.com, view the licenses for the products that
were upgraded from version NGX to a Software Blades license. You can also create new
upgraded licenses.
• Download a file containing the upgraded licenses. Only download licenses for the products that
were upgraded from version NGX to Software Blades.
• If you did not import the version NGX licenses into the repository, import the version NGX
licenses now. Use the command cplic get -all.
• Run the license upgrade command: cplic upgrade –l <Input File>
• The licenses in the downloaded license file and in the license repository are compared.
• If the certificate keys and features match, the old licenses in the repository and in the
remote Security Gateways are updated with the new licenses.
• A report of the results of the license upgrade is printed.
For more about managing licenses, see the R80.20 Security Management Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_SecurityMa
nagement_AdminGuide/html_frameset.htm.
cppkg
Description
Manages the SmartUpdate software packages repository on the Security Management Server.
Important - Installing software packages with the SmartUpdate is not supported for Security
Gateways running on Gaia OS.
Syntax
cppkg
add <options>
{del | delete} <options>
get
getroot
print
setroot <options>
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
Parameters
Parameter Description
add <options> (on page 349) Adds a SmartUpdate software package to the repository.
{del | delete} <options> Deletes a SmartUpdate software package from the repository.
(on page 350)
get (on page 352) Updates the list of the SmartUpdate software packages in the
repository.
getroot (on page 353) Shows the path to the root directory of the repository (the value
of the environment variable $SUROOT).
print (on page 354) Prints the list of SmartUpdate software packages in the
repository.
setroot <options> (on page Configures the path to the root directory of the repository.
355)
cppkg add
Description
Adds a SmartUpdate software package to the SmartUpdate software packages repository.
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
• This command does not overwrite existing packages. To overwrite an existing package, you
must first delete the existing package.
• You get the SmartUpdate software packages from the Support Center
http://supportcenter.checkpoint.com.
Syntax
cppkg add <Full Path to Package | DVD Drive [Product]>
Parameters
Parameter Description
<Full Path to Specifies the full local path on the computer to the SmartUpdate software
Package> package.
Example - Adding R77.20 HFA_75 (R77.20.75) firmware package for 1100 Appliances
[Expert@MGMT:0]# cppkg print
Vendor Product Version OS Minor Version
----------------------------------------------------------------------------------
[Expert@MGMT:0]#
cppkg delete
Description
Deletes SmartUpdate software packages from the SmartUpdate software packages repository.
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
Syntax
cppkg del ["<Vendor>" "<Product>" "<Major Version>" "<OS>" "<Minor Version>"]
cppkg delete ["<Vendor>" "<Product>" "<Major Version>" "<OS>" "<Minor Version>"]
Parameters
Parameter Description
del | delete When you do not specify optional parameters, the command runs in the
interactive mode. The command shows the menu with applicable options.
"<Vendor>" Specifies the package vendor. Enclose in double-quotes.
"<Product>" Specifies the product name. Enclose in double-quotes.
"<Major Specifies the package Major Version. Enclose in double-quotes.
Version>"
"<OS>" Specifies the package OS. Enclose in double-quotes.
"<Minor Specifies the package Minor Version. Enclose in double-quotes.
Version>"
Notes:
• To see the values for the optional parameters, run the cppkg print (on page 354) command.
• You must specify all optional parameters, or none.
Select package:
--------------------
(0) Delete all
(1) CP1100 Gaia Embedded Check Point R77.20 R77.20
(e) Exit
You chose to delete 'CP1100 Gaia Embedded Check Point R77.20 R77.20', Is this correct? [y/n] : y
[Expert@MGMT:0]# cppkg delete "Check Point" "CP1100" "R77.20" "Gaia Embedded" "R77.20"
Package was successfully removed from the repository
[Expert@MGMT:0]#
cppkg get
Description
Updates the list of the SmartUpdate software packages in the SmartUpdate software packages
repository based on the real content of the repository.
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
Syntax
cppkg get
Example
[Expert@MGMT:0]# cppkg get
Update successfully completed
[Expert@MGMT:0]#
cppkg getroot
Description
Shows the path to the root directory of the SmartUpdate software packages repository (the value
of the environment variable $SUROOT)
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
Syntax
cppkg getroot
Example
[Expert@MGMT:0]# cppkg getroot
[cppkg 7119 4128339728]@MGMT[29 May 17:16:06] Current repository root is set to
: /var/log/cpupgrade/suroot
[Expert@MGMT:0]#
cppkg print
Description
Prints the list of SmartUpdate software packages in the SmartUpdate software packages
repository.
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
Syntax
cppkg print
cppkg setroot
Description
Configures the path to the root directory of the SmartUpdate software packages repository.
Notes:
• You can run this command only in the Expert mode.
• On a Multi-Domain Server, you must run this command in the context of the MDS (run
mdsenv).
• The default path is /var/log/cpupgrade/suroot
• When changing repository root directory:
• This command copies the software packages from the old repository to the new repository.
A package in the new location is overwritten by a package from the old location, if the
packages have the same name.
• This command updates the value of the environment variable $SUROOT in the Check Point
Profile shell scripts ($CPDIR/tmp/.CPprofile.sh and
$CPDIR/tmp/.CPprofile.csh).
Syntax
cppkg setroot <Full Path to Repository Root Directory>
Example
[Expert@MGMT:0]# cppkg setroot /var/log/my_directory
cpprod_util
Description
This utility lets you work with Check Point Registry
($CPDIR/registry/HKLM_registry.data) without manually opening it:
• Shows which Check Point products and features are enabled on this Check Point computer.
• Enables and disables Check Point products and features on this Check Point computer.
Syntax
cpprod_util CPPROD_GetValue "<Product>" "<Parameter>" {0|1}
cpprod_util CPPROD_SetValue "<Product>" "<Parameter>" {1|4} "<Value>" {0|1}
cpprod_util -dump
Parameters
Parameter Description
CPPROD_GetValue Gets the configuration status of the specified product or feature:
• 0 - Disabled
• 1 - Enabled
CPPROD_SetValue Sets the configuration for the specified product or feature.
Important - Do not run these command unless explicitly instructed by
Check Point Support or R&D to do so.
"<Product>" Specifies the product or feature.
"<Parameter>" Specifies the configuration parameter for the specified product or
feature.
"<Value>" Specifies the value of the configuration parameter for the specified
product or feature:
• One of these integers: 0, 1, 4
• A string
dump Creates a dump file of Check Point Registry
($CPDIR/registry/HKLM_registry.data) in the current working
directory. The name of the output file is RegDump.
Notes
• On Multi-Domain Server, you must run this command in the context of the relevant Domain
Management Server.
• If you run the cpprod_util command without parameters, it prints:
• The list of all available products and features (for example, FwIsFirewallMgmt,
FwIsLogServer, FwIsStandAlone)
• The type of the expected argument when you configure a product or feature
(no-parameter, string-parameter, or integer-parameter)
• The type of the returned output (status-output, or no-output)
• To redirect the output of the cpprod_util command, you need to redirect the stderr to
stdout:
cpprod_util <options> > <output file> 2>&1
Example: cpprod_util > /tmp/output_of_cpprod_util.txt 2>&1
cprid
Description
Manages the Check Point Remote Installation Daemon (cprid). This daemon is used for remote
upgrade and installation of Check Point products on the managed Security Gateways.
Notes:
• You can run these commands only in the Expert mode.
• On a Multi-Domain Server, you must run these commands in the context of the MDS (run
mdsenv).
cpridstart
Description
Starts the Check Point Remote Installation Daemon (cprid).
Syntax
cpridstart
cpridstop
Description
Stops the Check Point Remote Installation Daemon (cprid).
Syntax
cpridstop
run_cprid_restart
Description
Stops and then starts the Check Point Remote Installation Daemon (cprid).
Syntax
run_cprid_restart
cprinstall
Description
Performs installation of Check Point product packages and associated operations on remote
managed Security Gateways.
Important - Installing software packages with this command is not supported for Security
Gateways running on Gaia OS.
Notes:
• This command requires a license for SmartUpdate.
• You can run these commands only in the Expert mode.
• On the remote Security Gateways these are required:
• SIC Trust must be established between the Security Management Server and the Security
Gateway.
• The cpd daemon must run.
• The cprid daemon must run.
Syntax
cprinstall
boot <options>
cprestart <options>
cpstart <options>
cpstop <options>
delete <options>
get <options>
install <options>
revert <options>
show <options>
snapshot <options>
transfer <options>
uninstall <options>
verify <options>
Parameters
Parameter Description
boot <options> (on page Reboots the managed Security Gateway.
362)
cprestart <options> Runs the cprestart command on the managed Security Gateway.
(on page 363)
cpstart <options> (on Runs the cpstart command on the managed Security Gateway.
page 364)
cpstop <options> (on Runs the cpstop command on the managed Security Gateway.
page 365)
delete <options> (on Deletes a snapshot (backup) file on the managed Security Gateway.
page 366)
Parameter Description
get <options> (on page • Gets details of the products and the operating system installed on
367) the managed Security Gateway.
• Updates the management database on the Security Management
Server.
install <options> (on Installs Check Point products on the managed Security Gateway.
page 368)
revert <options> (on Restores the managed Security Gateway running on SecurePlatform
page 370) OS from a snapshot saved on that Security Gateway.
show <options> (on page Displays all snapshot (backup) files on the managed Security Gateway
371) running on SecurePlatform OS.
snapshot <options> (on Creates a snapshot on the managed Security Gateway running on
page 372) SecurePlatform OS and saves it on that Security Gateway.
transfer <options> (on Transfers a software package from the repository to the managed
page 373) Security Gateway without installing the package.
uninstall <options> Uninstalls Check Point products on the managed Security Gateway.
(on page 374)
verify <options> (on Confirms these operations were successful:
page 376) • If a specific product can be installed on the managed Security
Gateway.
• That the operating system and currently installed products the
managed Security Gateway are appropriate for the software
package.
• That there is enough disk space to install the product the
managed Security Gateway.
• That there is a CPRID connection with the managed Security
Gateway.
cprinstall boot
Description
Reboots the managed Security Gateway.
Syntax
cprinstall boot <Object Name>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
[Expert@MGMT]# cprinstall boot MyGW
cprinstall cprestart
Description
Runs the cprestart command on the managed Security Gateway.
Note - All Check Point products on the managed Security Gateway must be of the same version.
Syntax
cprinstall cprestart <Object Name>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
[Expert@MGMT:0]# cprinstall cprestart MyGW
cprinstall cpstart
Description
Runs the cpstart command on the managed Security Gateway.
Note - All Check Point products on the managed Security Gateway must be of the same version.
Syntax
cprinstall cpstart <Object Name>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
[Expert@MGMT]# cprinstall cpstart MyGW
cprinstall cpstop
Description
Runs the cpstop command on the managed Security Gateway.
Note - All Check Point products on the managed Security Gateway must be of the same version.
Syntax
cprinstall cpstop {-proc | -nopolicy} <Object Name>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-proc Kills the Check Point daemons and Security Servers, while it maintains the
active Security Policy running in the Check Point kernel.
Rules with generic Allow, Drop or Reject action based on services, continue to
work.
-nopolicy Kills the Check Point daemons and Security Servers and unloads the Security
Policy from the Check Point kernel.
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
[Expert@MGMT]# cprinstall cpstop -proc MyGW
cprinstall delete
Description
Deletes a snapshot (backup) file on the managed Security Gateway running on SecurePlatform OS.
Syntax
cprinstall delete <Object Name> <Snapshot File>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
<Snapshot File> Specifies the name of the snapshot (backup) on SecurePlatform OS.
Example
[Expert@MGMT]# cprinstall delete MyGW Snapshot25Apr2017
cprinstall get
Description
• Gets details of the products and the operating system installed on the managed Security
Gateway.
• Updates the management database on the Security Management Server.
Syntax
cprinstall get <Object Name>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example:
[Expert@MGMT]# cprinstall get MyGW
Checking cprid connection...
Verified
Operation completed successfully
Updating machine information...
Update successfully completed
'Get Gateway Data' completed successfully
Operating system Major Version Minor Version
------------------------------------------------------------------------
SecurePlatform R75.20 R75.20
cprinstall install
Description
Installs Check Point products on the managed Security Gateway.
Important - Installing software packages with this command is not supported for Security
Gateways running on Gaia OS.
Notes:
• Before transferring the software package, this command runs the cprinstall verify (on
page 376) command.
• To see the values for the package attributes, run the cppkg print (on page 354) command on
the Security Management Server.
Syntax
cprinstall install [-boot] [-backup] [-skip_transfer] <Object Name> "<Vendor>"
"<Product>" "<Major Version>" "<Minor Version>"
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-boot Reboots the managed Security Gateway after installing the package.
Note - Only reboot after ALL products have the same version. Reboot is
canceled in certain scenarios.
-backup Creates a snapshot on the managed Security Gateway before installing
the package.
Note - Only on Security Gateways running on SecurePlatform OS.
-skip_transfer Skip the transfer of the package.
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
"<Vendor>" Specifies the package vendor. Enclose in double-quotes.
Example:
• checkpoint
• Check Point
"<Product>" Specifies the product name. Enclose in double-quotes.
Examples:
• SVNfoundation
• firewall
• floodgate
• CP1100
• VPN-1 Power/UTM
• SmartPortal
"<Major Version>" Specifies the package Major Version. Enclose in double-quotes.
Parameter Description
"<Minor Version>" Specifies the package Minor Version. Enclose in double-quotes.
Example
[Expert@MGMT]# cprinstall install -boot MyGW "checkpoint" "firewall" "R75" "R75.20"
cprinstall revert
Description
Restores the managed Security Gateway running on SecurePlatform OS from a snapshot saved on
that Security Gateway.
Syntax
cprinstall revert <Object Name> <Snapshot File>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
<Snapshot File> Name of the SecurePlatform snapshot file.
Note - To see the names of the saved snapshot files, run the cprinstall
show (on page 371) command.
cprinstall show
Description
Displays all snapshot (backup) files on the managed Security Gateway running on SecurePlatform
OS.
Syntax
cprinstall show <Object Name>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
[Expert@MGMT]# cprinstall show GW1
SU_backup.tzg
cprinstall snapshot
Description
Creates a snapshot on the managed Security Gateway running on SecurePlatform OS and saves it
on that Security Gateway.
Syntax
cprinstall snapshot <Object Name> <Snapshot File>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
<Snapshot File> Name of the SecurePlatform snapshot file.
Note - To see the names of the saved snapshot files, run the cprinstall
show command.
cprinstall transfer
Description
Transfers a software package from the repository to the managed Security Gateway without
installing the package.
Note - To see the values for the package attributes, run the cppkg print (on page 354) command
on the Security Management Server.
Syntax
cprinstall transfer <Object Name> "<Vendor>" "<Product>" "<Major Version>" "<Minor
Version>"
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
"<Vendor>" Specifies the package vendor. Enclose in double-quotes.
Example:
• checkpoint
• Check Point
"<Product>" Specifies the product name. Enclose in double-quotes.
Examples:
• SVNfoundation
• firewall
• floodgate
• CP1100
"<Major Version>" Specifies the package major version. Enclose in double-quotes.
"<Minor Version>" Specifies the package minor version. Enclose in double-quotes.
cprinstall uninstall
Description
Uninstalls Check Point products on the managed Security Gateway.
Important - Uninstalling software packages with this command is not supported for Security
Gateways running on Gaia OS.
Notes:
• Before uninstalling product packages, this command runs the cprinstall verify (on page
376) command.
• After uninstalling a product package, you must run the cprinstall get (on page 367)
command.
• To see the values for the package attributes, run the cppkg print (on page 354) command on
the Security Management Server.
Syntax
cprinstall uninstall [-boot] <Object Name> "<Vendor>" "<Product>" "<Major
Version>" "<Minor Version>"
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-boot Reboots the managed Security Gateway after uninstalling the package.
Note - Reboot is canceled in certain scenarios.
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
"<Vendor>" Specifies the package vendor. Enclose in double-quotes.
Example:
• checkpoint
• Check Point
"<Product>" Specifies the product name. Enclose in double-quotes.
Examples:
• SVNfoundation
• firewall
• floodgate
• CP1100
"<Major Version>" Specifies the package major version. Enclose in double-quotes.
"<Minor Version>" Specifies the package minor version. Enclose in double-quotes.
Example
[Expert@MGMT]# cprinstall uninstall MyGW "checkpoint" "firewall" "R75.20" "R75.20"
Uninstalling firewall R75.20 from MyGW...
Info : Removing package from Check Point Gateway
Info : Product was successfully applied.
Operation Success. Please get network object data to complete the operation.
[Expert@MGMT]#
[Expert@MGMT]# cprinstall get
cprinstall verify
Description
Confirms these operations were successful:
• If a specific product can be installed on the managed Security Gateway.
• That the operating system and currently installed products the managed Security Gateway are
appropriate for the software package.
• That there is enough disk space to install the product the managed Security Gateway.
• That there is a CPRID connection with the managed Security Gateway.
Syntax
cprinstall verify <Object Name> "<Vendor>" "<Product>" "<Major Version>" ["<Minor
Version>"]
Notes:
• You must run this command from the Expert mode.
• To see the values for the package attributes, run the cppkg print (on page 354) command on
the Security Management Server.
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
"<Vendor>" Specifies the package vendor. Enclose in double-quotes.
Example:
• checkpoint
• Check Point
"<Product>" Specifies the product name. Enclose in double-quotes.
Examples:
• SVNfoundation
• firewall
• floodgate
• CP1100
• VPN-1 Power/UTM
• SmartPortal
"<Major Version>" Specifies the package major version. Enclose in double-quotes.
"<Minor Version>" Specifies the package minor version. Enclose in double-quotes.
This parameter is optional.
cpstart
Description
Manually starts all Check Point processes and applications.
Notes:
• For the cprid daemon, use the cpridstart (on page 359) command.
• For manually starting specific Check Point processes, see sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
Syntax
cpstart
cpstat
Description
Displays the status and statistics information of Check Point applications.
Syntax
cpstat [-d] [-h <Host>] [-p <Port>] [-s <SICname>] [-f <Flavor>] [-o <Polling
Interval> [-c <Count>] [-e <Period>]] <Application Flag>
Note - You can write the parameters in the syntax in any desired order.
Parameters
Parameter Description
-d Optional.
Runs the command in debug mode.
Use only if you troubleshoot the command itself.
The output shows the SNMP queries and SNMP responses for the
applicable SNMP OIDs.
-h <Host> Optional.
When you run this command on a Management Server, this parameter
specifies the managed Security Gateway.
<Host> is an IPv4 address, a resolvable hostname, or a DAIP object name.
The default is localhost.
-p <Port> Optional.
Port number of the Application Monitoring (AMON) server.
The default port is 18192.
-s <SICname> Optional.
Secure Internal Communication (SIC) name of the Application Monitoring
(AMON) server.
-f <Flavor> Optional.
Specifies the type of the information to collect.
If you do not specify a flavor explicitly, the command uses the first flavor in
the <Application Flag>. To see all flavors, run the cpstat command
without any parameters.
Parameter Description
-o <Polling Optional.
Interval> Specifies the desired polling interval (in seconds) - how frequently the
command collects and shows the information.
• 0 - The command shows the results only once and the stops (this is the
default value).
• 5 - The command shows the results every 5 seconds in the loop.
• 30 - The command shows the results every 30 seconds in the loop.
• N - The command shows the results every N seconds in the loop.
Use this parameter together with the "-c <Count>" parameter and the "-e
<Period>" parameter.
Example: cpstat os -f perf -o 2
-c <Count> Optional.
Specifies how many times the command runs and shows the results before
it stops.
You must use this parameter together with the "-o <Polling Interval>"
parameter.
• 0 - The command shows the results repeatedly every <Polling Interval>
(this is the default value).
• 10 - The command shows the results 10 times every <Polling Interval>
and then stops.
• 20 - The command shows the results 20 times every <Polling Interval>
and then stops.
• N - The command shows the results N times every <Polling Interval>
and then stops.
Example: cpstat os -f perf -o 2 -c 2
-e <Period> Optional.
Specifies the time (in seconds), over which the command calculates the
statistics.
You must use this parameter together with the "-o <Polling Interval>"
parameter.
You can use this parameter together with the "-c <Count>" parameter.
Example: cpstat os -f perf -o 2 -c 2 -e 60
Parameter Description
|Flag |Flavours |
--------------------------------------------------------------
|os |default, ifconfig, routing, routing6, |
| |memory, old_memory, cpu, disk, perf, |
| |multi_cpu, multi_disk, raidInfo, sensors, |
| |power_supply, hw_info, all, average_cpu, |
| |average_memory, statistics, updates, |
| |licensing, connectivity, vsx |
--------------------------------------------------------------
|persistency |product, TableConfig, SourceConfig |
--------------------------------------------------------------
|thresholds |default, active_thresholds, destinations, |
| |error |
--------------------------------------------------------------
|ci |default |
--------------------------------------------------------------
|https_inspection |default, hsm_status, all |
--------------------------------------------------------------
|cvpn |cvpnd, sysinfo, products, overall |
--------------------------------------------------------------
|fw |default, interfaces, policy, perf, hmem, |
| |kmem, inspect, cookies, chains, |
| |fragments, totals, totals64, ufp, http, |
| |ftp, telnet, rlogin, smtp, pop3, sync, |
| |log_connection, all |
--------------------------------------------------------------
|vsx |default, stat, traffic, conns, cpu, all, |
| |memory, cpu_usage_per_core |
--------------------------------------------------------------
|vpn |default, product, IKE, ipsec, traffic, |
| |compression, accelerator, nic, |
| |statistics, watermarks, all |
--------------------------------------------------------------
|blades |fw, ips, av, urlf, vpn, cvpn, aspm, dlp, |
| |appi, anti_bot, default, |
| |content_awareness, threat-emulation, |
| |default |
--------------------------------------------------------------
|identityServer |default, authentication, logins, ldap, |
| |components, adquery |
--------------------------------------------------------------
|appi |default, subscription_status, |
| |update_status, RAD_status, top_last_hour, |
| |top_last_day, top_last_week, |
| |top_last_month |
--------------------------------------------------------------
|urlf |default, subscription_status, |
| |update_status, RAD_status, top_last_hour, |
| |top_last_day, top_last_week, |
| |top_last_month |
--------------------------------------------------------------
|dlp |default, dlp, exchange_agents, fingerprint|
--------------------------------------------------------------
|ctnt |default |
--------------------------------------------------------------
|antimalware |default, scanned_hosts, scanned_mails, |
| |subscription_status, update_status, |
| |ab_prm_contracts, av_prm_contracts, |
| |ab_prm_contracts, av_prm_contracts |
--------------------------------------------------------------
|threat-emulation |default, general_statuses, update_status, |
| |scanned_files, malware_detected, |
| |scanned_on_cloud, malware_on_cloud, |
| |average_process_time, emulated_file_size, |
| |queue_size, peak_size, |
Security Management Administration Guide R80.20 | 382
Command Line Reference
| |file_type_stat_file_scanned, |
| |file_type_stat_malware_detected, |
| |file_type_stat_cloud_scanned, |
| |file_type_stat_cloud_malware_scanned, |
| |file_type_stat_filter_by_analysis, |
| |file_type_stat_cache_hit_rate, |
| |file_type_stat_error_count, |
| |file_type_stat_no_resource_count, |
| |contract, downloads_information_current, |
| |downloading_file_information, |
| |queue_table, history_te_incidents, |
| |history_te_comp_hosts |
--------------------------------------------------------------
|scrub |default, subscription_status, |
| |threat_extraction_statistics |
--------------------------------------------------------------
|gx |default, contxt_create_info, |
| |contxt_delete_info, contxt_update_info, |
| |contxt_path_mng_info, GXSA_GPDU_info, |
| |contxt_initiate_info, gtpv2_create_info, |
| |gtpv2_delete_info, gtpv2_update_info, |
| |gtpv2_path_mng_info, gtpv2_cmd_info, all |
--------------------------------------------------------------
|fg |all |
--------------------------------------------------------------
|ha |default, all |
--------------------------------------------------------------
|polsrv |default, all |
--------------------------------------------------------------
|ca |default, all, cert, crl, user |
--------------------------------------------------------------
|mg |default |
--------------------------------------------------------------
|cpsemd |default |
--------------------------------------------------------------
|cpsead |default |
--------------------------------------------------------------
|ls |default |
--------------------------------------------------------------
|PA |default |
--------------------------------------------------------------
Example 1
[Expert@MyGW:0]# cpstat -f interfaces fw
Network interfaces
--------------------------------------------------------------------------------------------------
------------------
|Name|IP |Netmask |Flags|Peer name|Remote IP|Topology|Proxy name|Slaves|Ports|IPv6
Address|IPv6 Len|
--------------------------------------------------------------------------------------------------
------------------
|eth0|192.168.30.40|255.255.255.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth1| 172.30.60.80|255.255.255.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth2| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth3| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth4| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth5| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth6| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | |
::| 0|
|eth7| 0.0.0.0| 0.0.0.0| 0| | 0.0.0.0| 4| | | |
::| 0|
--------------------------------------------------------------------------------------------------
Security Management Administration Guide R80.20 | 383
Command Line Reference
------------------
[Expert@MyGW:0]#
Example 2
[Expert@MyGW:0]# cpstat -f default fw
Interface table
---------------------------------------
|Name|Dir|Total |Accept|Deny |Log|
---------------------------------------
|eth0|in | 2393126| 32589| 2360537| 52|
|eth0|out| 33016| 33016| 0| 0|
|eth1|in | 2360350| 0| 2360350| 0|
|eth1|out| 0| 0| 0| 0|
|eth2|in | 2360350| 0| 2360350| 0|
|eth2|out| 0| 0| 0| 0|
|eth3|in | 2348704| 0| 2348704| 1|
|eth3|out| 0| 0| 0| 0|
|eth4|in | 2360350| 0| 2360350| 0|
|eth4|out| 0| 0| 0| 0|
---------------------------------------
| | |11855896| 65605|11790291| 53|
---------------------------------------
[Expert@MyGW:0]#
Example 3
[Expert@MyGW:0]# cpstat os -f perf -o 2 -c 2 -e 60
[Expert@MyGW:0]#
cpstop
Description
Manually stops all Check Point processes and applications.
Notes:
• For the cprid daemon, use the cpridstop (on page 359) command.
• For manually stopping specific Check Point processes, see sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
Syntax
cpstop
cpview
Overview of CPView
Description
CPView is a text based built-in utility on a Check Point computer. CPView Utility shows statistical
data that contain both general system information (CPU, Memory, Disk space) and information for
different Software Blades (only on Security Gateway).
The CPView continuously updates the data in easy to access views.
On Security Gateway, you can use this statistical data to monitor the performance.
For more information, see sk101878
http://supportcontent.checkpoint.com/solutions?id=sk101878.
Syntax
cpview --help
Section Description
Header This view shows the time the statistics in the third view are collected.
It updates when you refresh the statistics.
Navigation This menu bar is interactive. Move between menus with the arrow keys and
mouse.
A menu can have sub-menus and they show under the menu bar.
Using CPView
Use these keys to navigate the CPView:
Key Description
Arrow keys Moves between menus and views. Scrolls in a view.
Home Returns to the Overview view.
Enter Changes to the View Mode.
On a menu with sub-menus, the Enter key moves you to the lowest level
sub-menu.
Esc Returns to the Menu Mode.
Q Quits CPView.
Key Description
R Opens a window where you can change the refresh rate.
The default refresh rate is 2 seconds.
W Changes between wide and normal display modes.
In wide mode, CPView fits the screen horizontally.
S Manually sets the number of rows or columns.
M Switches on/off the mouse.
P Pauses and resumes the collection of statistics.
Use these keys to save statistics, show help, and refresh statistics:
Key Description
C Saves the current page to a file. The file name format is:
cpview_<cpview process ID>.cap<number of captures>
cpwd_admin
Description
The Check Point WatchDog (cpwd) is a process that invokes and monitors critical processes such
as Check Point daemons on the local computer, and attempts to restart them if they fail. Among
the processes monitored by Watchdog are fwm, fwd, cpd, cpm, DAService, java_solr,
log_indexer, and others. The list of monitored processes depends on the installed and
configured Check Point products and Software Blades.
The Check Point WatchDog writes monitoring information to the $CPDIR/log/cpwd.elg log
file.
The cpwd_admin utility shows the status of the monitored processes, and configures the Check
Point WatchDog.
Syntax
cpwd_admin
config <options>
del <options>
detach <options>
exist
flist <options>
getpid <options>
kill
list <options>
monitor_list
start <options>
start_monitor
stop <options>
stop_monitor
Parameters
Parameter Description
config <options> (on Configures the Check Point WatchDog.
page 391)
Parameter Description
del <options> (on page Temporarily deletes a monitored process from the WatchDog
394) database of monitored processes.
detach <options> (on Temporarily detaches a monitored process from the WatchDog
page 395) monitoring.
exist (on page 396) Checks whether the WatchDog process cpwd is alive.
flist <options> (on page Saves the status of all monitored processes to a
397) $CPDIR/tmp/cpwd_list_<Epoch Timestamp>.lst file.
getpid <options> (on Shows the PID of a monitored process.
page 398)
kill <options> (on page Terminates the WatchDog process cpwd.
399) Important - Do not run this command unless explicitly instructed by
Check Point Support or R&D to do so.
list (on page 400) Prints the status of all monitored processes on the screen.
monitor_list (on page Prints the status of actively monitored processes on the screen.
402)
start <options> (on page Starts a process as monitored by the WatchDog.
403) See sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
start_monitor (on Starts the active WatchDog monitoring - WatchDog monitors the
page 405) predefined processes actively.
stop <options> (on page Stops a monitored process.
406) See sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
stop_monitor (on page Stops the active WatchDog monitoring - WatchDog monitors all
408) processes only passively.
cpwd_admin config
Description
Configures the Check Point WatchDog.
Important - After changing the WatchDog configuration parameters, you must restart the
WatchDog process with the cpstop and cpstart commands (which restart all Check Point
processes).
Syntax
cpwd_admin config
-h
-a <Configuration_Parameter_1>=<Value_1>
<Configuration_Parameter_2>=<Value_2> ... <Configuration_Parameter_N>=<Value_N>
-d <Configuration_Parameter_1> <Configuration_Parameter_2> ...
<Configuration_Parameter_N>
-p
-r
Parameters
Parameter Description
-h Shows built-in usage.
-a Adds the WatchDog configuration parameters.
<Configuration_Parameter_1>=<Value_1 Note - Spaces are not allowed between the name of
>
the configuration parameter and its value.
<Configuration_Parameter_2>=<Value_2
> ...
<Configuration_Parameter_N>=<Value_N
>
-d <Configuration_Parameter_1> Deletes the WatchDog configuration parameters that
<Configuration_Parameter_2> ... user added with the cpwd_admin config -a
<Configuration_Parameter_N> command.
-p Shows the WatchDog configuration parameters that
user added with the cpwd_admin config -a
command.
-r Restores the default WatchDog configuration.
These are the available configuration parameters and the accepted values:
: (CPshared
:CurrentVersion (6.0)
: (6.0
... ...
: (reserved
... ...
: (Wd
: (Wd_Config
:Configuration_Parameter_1 ("[4]Value_1")
:Configuration_Parameter_2 ("[4]Value_2")
)
)
... ...
Example
[Expert@HostName:0]# cpwd_admin config -p
cpWatchDog doesn't have configuration parameters
[Expert@HostName:0]#
[Expert@HostName:0]# cpwd_admin config -a sleep_timeout=120 no_limit=12
[Expert@HostName:0]#
[Expert@HostName:0]# cpwd_admin config -p
cpWatchDog Configuration parameters are:
sleep_timeout : 120
no_limit : 12
[Expert@HostName:0]#
[Expert@HostName:0]# cpstop ; cpstart
[Expert@HostName:0]#
cpwd_admin del
Description
Temporarily deletes a monitored process from the WatchDog database of monitored processes.
Notes:
• WatchDog stops monitoring the detached process, but the process stays alive.
• The cpwd_admin list command does not show the deleted process anymore.
• This change applies until all Check Point services restart during boot, or with the cpstart
command.
Syntax
cpwd_admin del -name <Application Name> [-ctx <VSID>]
Parameters
Parameter Description
<Application Name> Name of the monitored Check Point process as you see in the output
of the cpwd_admin list command in the leftmost column APP.
Examples:
• FWM
• FWD
• CPD
• CPM
-ctx <VSID> On VSX Gateway, specifies the context of the applicable Virtual
System.
Example
[Expert@HostName:0]# cpwd_admin del -name FWD
cpwd_admin:
successful Del operation
[Expert@HostName:0]#
cpwd_admin detach
Description
Temporarily detaches a monitored process from the WatchDog monitoring.
Notes:
• WatchDog stops monitoring the detached process, but the process stays alive.
• The cpwd_admin list command does not show the detached process anymore.
• This change applies until all Check Point services restart during boot, or with the cpstart
command.
Syntax
cpwd_admin detach -name <Application Name> [-ctx <VSID>]
Parameters
Parameter Description
<Application Name> Name of the monitored Check Point process as you see in the output
of the cpwd_admin list command in the leftmost column APP.
Examples:
• FWM
• FWD
• CPD
• CPM
-ctx <VSID> On VSX Gateway, specifies the context of the applicable Virtual
System.
Example
[Expert@HostName:0]# cpwd_admin detach -name FWD
cpwd_admin:
successful Detach operation
[Expert@HostName:0]#
cpwd_admin exist
Description
• Checks whether the WatchDog process cpwd is alive.
Syntax
cpwd_admin exist
Example
[Expert@HostName:0]# cpwd_admin exist
cpwd_admin: cpWatchDog is running
[Expert@HostName:0]#
cpwd_admin flist
Description
Saves the status of all WatchDog monitored processes to a $CPDIR/tmp/cpwd_list_<Epoch
Timestamp>.lst file.
Note - For information about the Unix Epoch time, see the http://www.epochconverter.com
Syntax
cpwd_admin flist [-full]
Parameters
Parameter Description
-full Saves the verbose output.
Output
Column Description
APP Shows the WatchDog name of the monitored process.
PID Shows the PID of the monitored process.
STAT Shows the status of the monitored process:
• E - executing
• T - terminated
#START Shows how many times the WatchDog started the monitored process.
START_TIME Shows the time when the WatchDog started the monitored process for the last
time.
SLP/LIMIT In verbose output, shows the values of the sleep_timeout and no_limit
configuration parameters (see cpwd_admin config (on page 391)).
MON Shows how the WatchDog monitors this process (see the explanation for the
cpwd_admin (on page 389)):
• Y - Active monitoring
• N - Passive monitoring
COMMAND Shows the command the WatchDog ran to start this process.
Example
[Expert@HostName:0]# cpwd_admin flist
/opt/CPshrd-R80.20/tmp/cpwd_list_3209472813.lst
[Expert@HostName:0]#
cpwd_admin getpid
Description
Shows the PID of a WatchDog monitored process.
Syntax
cpwd_admin getpid -name <Application Name> [-ctx <VSID>]
Parameters
Parameter Description
<Application Name> Name of the monitored Check Point process as you see in the output
of the cpwd_admin list command in the leftmost column APP.
Examples:
• FWM
• FWD
• CPD
• CPM
-ctx <VSID> On VSX Gateway, specifies the context of the applicable Virtual
System.
Example
[Expert@HostName:0]# cpwd_admin getpid -name FWD
5640
[Expert@HostName:0]#
cpwd_admin kill
Description
Terminates the WatchDog process cpwd.
Important - Do not run this command unless explicitly instructed by Check Point Support or R&D
to do so. To restart the WatchDog process, you must restart all Check Point services with the
cpstop and cpstart commands.
Syntax
cpwd_admin kill
cpwd_admin list
Description
Prints the status of all WatchDog monitored processes on the screen.
Syntax
cpwd_admin list [-full]
Parameters
Parameter Description
-full Shows the verbose output.
Output
Column Description
APP Shows the WatchDog name of the monitored process.
PID Shows the PID of the monitored process.
STAT Shows the status of the monitored process:
• E - executing
• T - terminated
#START Shows how many times the WatchDog started the monitored process.
START_TIME Shows the time when the WatchDog started the monitored process for the last
time.
SLP/LIMIT In verbose output, shows the values of the sleep_timeout and no_limit
configuration parameters (see cpwd_admin config (on page 391)).
MON Shows how the WatchDog monitors this process (see the explanation for the
cpwd_admin (on page 389)):
• Y - Active monitoring
• N - Passive monitoring
COMMAND Shows the command the WatchDog run to start this process.
cpwd_admin exist
Description
Prints the status of actively monitored processes on the screen (see the explanation about the
active monitoring in cpwd_admin (on page 389)).
Syntax
cpwd_admin monitor_list
Example
[Expert@HostName:0]# cpwd_admin monitor_list
cpwd_admin:
APP FILE_NAME NO_MSG_TIMES LAST_MSG_TIME
CPD CPD_5420_4714.mntr 0/10 [19:00:33] 31/5/2018
[Expert@HostName:0]#
cpwd_admin start
Description
Starts a process as monitored by the WatchDog.
Syntax
cpwd_admin start -name <Application Name> [-ctx <VSID>] -path "<Full Path to
Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>]
[-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]
Parameters
Parameter Description
-name <Application Name under which the cpwd_admin list command shows the
Name> monitored process in the leftmost column APP.
Examples:
• FWM
• FWD
• CPD
• CPM
-ctx <VSID> On VSX Gateway, specifies the context of the applicable Virtual
System.
-path "<Full Path to The full path (with or without Check Point environment variables) to
Executable>" the executable including the executable name. Must enclose in
double-quotes.
Examples:
• For FWM: "$FWDIR/bin/fwm"
• For FWD: "/opt/CPsuite-R80.20/fw1/bin/fw"
• For CPD: "$CPDIR/bin/cpd"
• For CPM: "/opt/CPsuite-R80.20/fw1/scripts/cpm.sh"
• For SICTUNNEL: "/opt/CPshrd-R80.20/bin/cptnl"
-command "<Command The command and its arguments to run. Must enclose in
Syntax>" double-quotes.
Examples:
• For FWM: "fwm"
• For FWM on Multi-Domain Server: "fwm mds"
• For FWD: "fwd"
• For CPD: "cpd"
• For CPM: "/opt/CPsuite-R80.20/fw1/scripts/cpm.sh
-s"
• For SICTUNNEL: "/opt/CPshrd-R80.20/bin/cptnl -c
"/opt/CPuepm-R80.20/engine/conf/cptnl_srv.conf""
Security Management Administration Guide R80.20 | 403
Command Line Reference
Parameter Description
-env {inherit | Configures whether to inherit the environment variables from the
<Env_Var>=<Value>} shell.
• inherit - Inherits all the environment variables (WatchDog
supports up to 80 environment variables)
• <Env_Var>=<Value> - Assigns the specified value to the specified
environment variable
-slp_timeout Configures the specified value of the sleep_timeout configuration
<Timeout> parameter.
See cpwd_admin config (on page 391).
-retry_limit Configures the value of the no_limit configuration parameter.
{<Limit> | u} See cpwd_admin config (on page 391).
• <Limit> - Tries to restart the process the specified number of
times
• u - Tries to restart the process unlimited number of times
Example
For the list of process and the applicable syntax, see sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
cpwd_admin start_monitor
Description
Starts the active WatchDog monitoring. WatchDog monitors the predefined processes actively. See
the explanation for the cpwd_admin (on page 389).
Syntax
cpwd_admin start_monitor
Example
[Expert@HostName:0]# cpwd_admin start_monitor
cpwd_admin:
CPWD has started to perform active monitoring on Check Point services/processes
[Expert@HostName:0]#
cpwd_admin stop
Description
Stops a WatchDog monitored process.
Syntax
cpwd_admin stop -name <Application Name> [-ctx <VSID>] [-path "<Full Path to
Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>]
Parameters
Parameter Description
-name <Application Name under which the cpwd_admin list command shows the
Name> monitored process in the leftmost column APP.
Examples:
• FWM
• FWD
• CPD
• CPM
-ctx <VSID> On VSX Gateway, specifies the context of the applicable Virtual
System.
-path "<Full Path to The full path (with or without Check Point environment variables) to
Executable>" the executable including the executable name. Must enclose in
double-quotes.
Examples:
• For FWM: "$FWDIR/bin/fwm"
• For FWD: "/opt/CPsuite-R80.20/fw1/bin/fw"
• For CPD: "$CPDIR/bin/cpd_admin"
-command "<Command The command and its arguments to run. Must enclose in
Syntax>" double-quotes.
Examples:
• For FWM: "fw kill fwm"
• For FWD: "fw kill fwd"
• For CPD: "cpd_admin stop"
-env {inherit | Configures whether to inherit the environment variables from the
<Env_Var>=<Value>} shell.
• inherit - Inherits all the environment variables (WatchDog
supports up to 80 environment variables)
• <Env_Var>=<Value> - Assigns the specified value to the specified
environment variable
Example
For the list of process and the applicable syntax, see sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
cpwd_admin stop_monitor
Description
Stops the active WatchDog monitoring. WatchDog monitors all processes only passively. See the
explanation for the cpwd_admin (on page 389).
Syntax
cpwd_admin stop_monitor
Example
[Expert@HostName:0]# cpwd_admin stop_monitor
cpwd_admin:
CPWD has stopped performing active monitoring on Check Point services/processes
[Expert@HostName:0]#
dbedit
Description
Edits the management database - $FWDIR/conf/objects_5_0.C file - on the Security
Management Server. See skI3301 http://supportcontent.checkpoint.com/solutions?id=skI3301.
Important - Do NOT run this command unless explicitly instructed by Check Point Support or
R&D to do so. Otherwise, you can corrupt settings in the management database.
Syntax
dbedit -help
dbedit [-globallock] [{-local | -s <Management_Server>}] [{-u <User> | -c
<Certificate>}] [-p <Password>] [-f <File_Name> [ignore_script_failure]
[-continue_updating]] [-r "<Open_Reason_Text>"] [-d <Database_Name>] [-listen]
[-readonly] [-session]
Parameters
Parameter Description
-help Prints the general help.
-globallock When you work with the dbedit utility, it partially locks the
management database. If a user configures objects in
SmartConsole at the same time, it causes problems in the
management database.
This option does not let SmartConsole, or a dbedit user to
make changes in the management database.
When you specify this option, the dbedit commands run on a
copy of the management database. After you make the desired
changes with the dbedit commands and run the savedb
command, the dbedit utility saves and commits your changes to
the actual management database.
-local Connects to the localhost (127.0.0.1) without using
username/password.
If you do not specify this parameter, the dbedit utility asks how
to connect.
-s <Management_Server> Specifies the Security Management Server - by IP address or
HostName.
If you do not specify this parameter, the dbedit utility asks how
to connect.
-u <User> Specifies the username, with which the dbedit utility connects
to the Security Management Server.
Mandatory parameter when you specify the -s
<Management_Server> parameter.
Parameter Description
-c <Certificate> Specifies the user's certificate file, with which the dbedit utility
connects to the Security Management Server.
Mandatory parameter when you specify the -s
<Management_Server> parameter.
-p <Password> Specifies the user's password, with which the dbedit utility
connects to the Security Management Server.
Mandatory parameter when you specify the -s
<Management_Server> and -u <User> parameters.
-f <File_Name> Specifies the file that contains the applicable dbedit internal
commands (see the section "dbedit Internal Commands"
below):
• create <object_type> <object_name>
• modify <table_name> <object_name>
<field_name> <value>
• update <table_name> <object_name>
• delete <table_name> <object_name>
• print <table_name> <object_name>
• quit
Note - Each command is limited to 4096 characters
ignore_script_failure Continues to execute the dbedit internal commands in the file
and ignores errors.
You can use it when you specify the -f <File_Name>
parameter.
-continue_updating Continues to update the modified objects, even if the operation
fails for some of the objects (ignores the errors and runs the
update_all command at the end of the script).
You can use it when you specify the -f <File_Name>
parameter.
-r "<Open_Reason_Text>" Specifies the reason for opening the database in read-write
mode (default mode).
-d <Database_Name> Specifies the name of the database, to which the dbedit utility
should connect (for example, mdsdb).
-listen The dbedit utility "listens" for changes (use this mode for
advanced troubleshooting with the assistance of Check Point
Support).
The dbedit utility prints its internal messages when a change
occurs in the management database.
-readonly Specifies to open the management database in read-only
mode.
-session Session Connectivity.
fw
Description
• Performs various operations on Security or Audit log files.
• Kills the specified Check Point processes.
• Manages the Suspicious Activity Monitoring (SAM) rules.
• Manages the Suspicious Activity Policy editor.
Syntax
fw [-d]
fetchlogs <options>
hastat <options>
kill <options>
log <options>
logswitch <options>
lslogs <options>
mergefiles <options>
repairlog <options>
sam <options>
sam_policy <options>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
fetchlogs <options> Fetches the specified Security log files ($FWDIR/log/*.log*) or
(on page 422) Audit log files ($FWDIR/log/*.adtlog*) from the specified Check
Point computer.
hastat <options> (on Shows information about Check Point computers in High Availability
page 424) configuration and their states.
kill <options> (on page Kills the specified Check Point processes.
426)
log <options> (on page Shows the content of Check Point log files - Security
427) ($FWDIR/log/*.log) or Audit ($FWDIR/log/*.adtlog).
logswitch <options> Switches the current active log file - Security ($FWDIR/log/fw.log)
(on page 435) or Audit ($FWDIR/log/fw.adtlog)
lslogs <options> (on Shows a list of Security log files ($FWDIR/log/*.log*) or Audit log
page 439) files ($FWDIR/log/*.adtlog*) residing on the local computer or a
remote computer.
mergefiles <options> Merges several input log files - Security ($FWDIR/log/*.log) or
(on page 442) Audit ($FWDIR/log/*.adtlog) - into a single log file.
repairlog <options> Rebuilds pointer files for Security ($FWDIR/log/*.log) or Audit
(on page 444) ($FWDIR/log/*.adtlog) log files.
Item Description
sam <options> (on page Manages the Suspicious Activity Monitoring (SAM) rules.
445)
sam_policy <options> Manages the Suspicious Activity Policy editor that lets you work with
(on page 452) these type of rules:
or • Suspicious Activity Monitoring (SAM) rules.
samp <options> (on page • Rate Limiting rules.
452)
fw fetchlogs
Description
Fetches the specified Security log files ($FWDIR/log/*.log*) or Audit log files
($FWDIR/log/*.adtlog*) from the specified Check Point computer.
Syntax
fw [-d] fetchlogs [-f <Name of Log File 1>] [-f <Name of Log File 2>]... [-f <Name
of Log File N>] <Target>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-f <Name of Log File N> Specifies the name of the log file to fetch. Need to specify name only.
Notes:
• If you do not specify the log file name explicitly, the command
transfers all Security log files ($FWDIR/log/*.log*) and all
Audit log files ($FWDIR/log/*.adtlog*).
• The specified log file name can include wildcards * and ? (for
example, 2017-0?-*.log). If you enter a wild card, you must
enclose it in double quotes or single quotes.
• You can specify multiple log files in one command. You must use
the -f parameter for each log file name pattern.
• This command also transfers the applicable log pointer files.
<Target> Specifies the remote Check Point computer, with which this local
Check Point computer has established SIC trust.
• If you run this command on a Security Management Server or
Domain Management Server, then <Target> is the applicable
object's name or main IP address of the Check Point Computer as
configured in SmartConsole.
• If you run this command on a Security Gateway or Cluster
Member, then <Target> is the main IP address of the applicable
object as configured in SmartConsole.
Notes:
• This command moves the specified log files from the $FWDIR/log/ directory on the specified
Check Point computer. Meaning, it deletes the specified log files on the specified Check Point
computer after it copies them successfully.
• This command moves the specified log files to the $FWDIR/log/ directory on the local Check
Point computer, on which you run this command.
• This command cannot fetch the active log files $FWDIR/log/fw.log or
$FWDIR/log/fw.adtlog.
[Expert@HostName:0]# ls $FWDIR/log/MyGW*
/opt/CPsuite-R80.20/fw1/log/MyGW__2018-06-01_000000.log
/opt/CPsuite-R80.20/fw1/log/MyGW__2018-06-01_000000.logaccount_ptr
/opt/CPsuite-R80.20/fw1/log/MyGW__2018-06-01_000000.loginitial_ptr
/opt/CPsuite-R80.20/fw1/log/MyGW__2018-06-01_000000.logptr
[Expert@HostName:0]#
fw hastat
Description
Shows information about Check Point computers in High Availability configuration and their
states.
Note - The fw hastat command is outdated:
• On cluster members, run the Gaia Clish command show cluster state, or the Expert mode
command cphaprob state.
• On Management Servers, run the cpstat (on page 379) command.
Syntax
fw hastat [<Target1>] [<Target2>] ... [<TargetN>]
Parameters
Parameter Description
<Target1> Specifies the Check Point computers to query.
<Target2> ... If you run this command on the Management Server, you can enter the
<TargetN> applicable IP address, or the resolvable HostName of the managed Security
Gateway or Cluster Member.
If you do not specify the target, the command queries the local computer.
fw kill
Description
Kills the specified Check Point processes.
Important - Make sure the killed process is restarted, or restart it manually. See sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
Syntax
fw [-d] kill [-t <Signal Number>] <Name of Process>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-t <Signal Specifies which signal to send to the Check Point process.
Number> For the list of available signals and their numbers, run the kill -l
command. For information about the signals, see the manual pages for the
kill https://linux.die.net/man/1/kill and signal
https://linux.die.net/man/7/signal.
If you do not specify the signal explicitly, the command sends Signal 15
(SIGTERM).
Note - Processes can ignore some signals.
<Name of Process> Specifies the name of the Check Point process to kill.
Example
fw kill fwd
fw log
Description
Shows the content of Check Point log files - Security ($FWDIR/log/*.log) or Audit
($FWDIR/log/*.adtlog).
Syntax
fw log {-h | -help}
fw [-d] log [-a] [-b "<Start Timestamp>" "<End Timestamp>"] [-c <Action>] [{-f |
-t}] [-g] [-H] [-h <Origin>] [-i] [-k {<Alert Name> | all}] [-l] [-m {initial |
semi | raw}] [-n] [-o] [-p] [-q] [-S] [-s "<Start Timestamp>"] [-e "<End Timestamp>"]
[-u <Unification Scheme File>] [-w] [-x <Start Entry Number>] [-y <End Entry
Number>] [-z] [-#] [<Log File>]
Parameters
Parameter Description
-b "<Start Timestamp>" Shows only entries that were logged between the specified start and
"<End Timestamp>" end times.
• The <Start Timestamp> and <End Timestamp> may be a date, a
time, or both.
• If date is omitted, then the command assumes the current date.
• Enclose the "<Start Timestamp>" and "<End Timestamp> in
single or double quotes (-b 'XX' 'YY", or -b "XX" "YY).
• You cannot use the "-b" parameter together with the "-s" or "-e"
parameters.
• See the date and time format below.
Parameter Description
-c <Action> Shows only events with the specified action. One of these:
• accept
• drop
• reject
• encrypt
• decrypt
• vpnroute
• keyinst
• authorize
• deauthorize
• authcrypt
• ctl
Notes:
• The fw log command always shows the Control (ctl) actions.
• For login action, use the authcrypt
-e "<End Timestamp>" Shows only entries that were logged before the specified time.
Notes:
• The <End Timestamp> may be a date, a time, or both.
• Enclose the <End Timestamp> in single or double quotes (-e
'...', or -e "...").
• You cannot use the "-e" parameter together with the "-b"
parameter.
• See the date and time format below.
-f 1. Shows the saved entries that match the specified conditions.
2. After the command reaches the end of the currently opened log
file, it continues to monitor the log file indefinitely and shows the
new entries that match the specified conditions.
Note - Applies only to active log file $FWDIR/log/fw.log or
$FWDIR/log/fw.adtlog
-h <Origin> Shows only logs that were generated by the Security Gateway with the
specified IP address or object name (as configured in SmartConsole).
Parameter Description
-o Shows detailed log chains - shows all the log segments in the log
entry.
-p Does not perform resolution of the port numbers in the log file (this is
the default behavior).
This significantly speeds up the log processing.
Parameter Description
-s "<Start Timestamp>" Shows only entries that were logged after the specified time.
Notes:
• The <Start Timestamp> may be a date, a time, or both.
• If the date is omitted, then the command assumed the current
date.
• Enclose the <Start Timestamp> in single or double quotes (-s
'...', or -s "...").
• You cannot use the "-s" parameter together with the "-b"
parameter.
• See the date and time format below.
-t 1. Does not show the saved entries that match the specified
conditions.
2. After the command reaches the end of the currently opened log
file, it continues to monitor the log file indefinitely and shows the
new entries that match the specified conditions.
Note - Applies only to active log file $FWDIR/log/fw.log or
$FWDIR/log/fw.adtlog
-u <Unification Scheme Specifies the path and name of the log unification scheme file.
File> The default log unification scheme file is:
$FWDIR/conf/log_unification_scheme.C
-w Shows the flags of each log entry (different bits used to specify the
"nature" of the log - for example, control, audit, accounting,
complementary, and so on).
-x <Start Entry Number> Shows only entries from the specified log entry number and below,
counting from the beginning of the log file.
-y <End Entry Number> Shows only entries until the specified log entry number, counting
from the beginning of the log file.
-z In case of an error (for example, wrong field value), continues to show
log entries.
The default behavior is to stop.
Date and Time MMM DD, YYYY HH:MM:SS June 11, 2018 14:20:00
Output
Each output line consists of a single log entry, whose fields appear in this format:
Note - The fields that show depends on the connection type.
HeaderDateHour ContentVersion HighLevelLogKey Uuid SequenceNum Flags
Action Origin IfDir InterfaceName LogId ...
Example 1 - Show all log entries with both the date and the time for each log entry.
fw log -l
Example 2 - Show all log entries that start after the specified timestamp
[Expert@MyGW:0]# fw log -l -s "June 12, 2018 12:33:00"
12Jun2018 12:33:00 5 N/A 1 accept MyGW > N/A LogId: <max_null>; ContextNum:
<max_null>; OriginSicName: CN=MyGW,O=MyDomain_Server.checkpoint.com.s6t98x;
fg-1_client_in_rule_name: Default; fg-1_client_out_rule_name: Default;
fg-1_server_in_rule_name: Host Redirect; fg-1_server_out_rule_name: ;
ProductName: FG; ProductFamily: Network;
12Jun2018 12:33:39 5 N/A 1 drop MyGW < eth0 LogId: 0; ContextNum: <max_null>;
OriginSicName: CN=MyGW,O=MyDomain_Server.checkpoint.com.s6t98x; inzone: Local;
outzone: External; service_id: ftp; src: MyGW; dst: MyFTPServer; proto: tcp;
UP_match_table: TABLE_START; ROW_START: 0; match_id: 2; layer_uuid:
4e26fc30-b345-4c96-b8d7-9db6aa7cdd89; layer_name: MyPolicy Network; rule_uid:
802020d9-5cdc-4c74-8e92-47e1b0eb72e5; rule_name: ; ROW_END: 0; UP_match_table:
TABLE_END; UP_action_table: TABLE_START; ROW_START: 0; action: 0; ROW_END: 0;
UP_action_table: TABLE_END; ProductName: VPN-1 & FireWall-1; svc: ftp; sport_svc:
64933; ProductFamily: Network;
[Expert@MyGW:0]#
12Jun2018 12:33:39 5 N/A 1 drop MyGW < eth0 LogId: 0; ContextNum: <max_null>;
OriginSicName: CN=MyGW,O=MyDomain_Server.checkpoint.com.s6t98x; inzone: Local;
outzone: External; service_id: ftp; src: MyGW; dst: MyFTPServer; proto: tcp;
UP_match_table: TABLE_START; ROW_START: 0; match_id: 2; layer_uuid:
4e26fc30-b345-4c96-b8d7-9db6aa7cdd89; layer_name: MyPolicy Network; rule_uid:
802020d9-5cdc-4c74-8e92-47e1b0eb72e5; rule_name: ; ROW_END: 0; UP_match_table:
TABLE_END; UP_action_table: TABLE_START; ROW_START: 0; action: 0; ROW_END: 0;
UP_action_table: TABLE_END; ProductName: VPN-1 & FireWall-1; svc: ftp; sport_svc:
64933; ProductFamily: Network;
[Expert@MyGW:0]#
Example 5 - Show all log entries with action "drop", show all field headers, and show
log flags
[Expert@MyGW:0]# fw log -l -q -w -c drop
HeaderDateHour: 12Jun2018 12:33:39; ContentVersion: 5; HighLevelLogKey:
<max_null>; LogUid: ; SequenceNum: 1; Flags: 428292; Action: drop; Origin: MyGW;
IfDir: <; InterfaceName: eth0; Alert: ; LogId: 0; ContextNum: <max_null>;
OriginSicName: CN=MyGW,O=MyDomain_Server.checkpoint.com.s6t98x; inzone: Local;
outzone: External; service_id: ftp; src: MyGW; dst: MyFTPServer; proto: tcp;
UP_match_table: TABLE_START; ROW_START: 0; match_id: 2; layer_uuid:
4e26fc30-b345-4c96-b8d7-9db6aa7cdd89; layer_name: MyPolicy Network; rule_uid:
802020d9-5cdc-4c74-8e92-47e1b0eb72e5; rule_name: ; ROW_END: 0; UP_match_table:
TABLE_END; UP_action_table: TABLE_START; ROW_START: 0; action: 0; ROW_END: 0;
UP_action_table: TABLE_END; ProductName: VPN-1 & FireWall-1; svc: ftp; sport_svc:
64933; ProductFamily: Network;
[Expert@MyGW:0]#
Example 6 - Show only log entries from 0 to 10 (counting from the beginning of the log
file)
[Expert@MyGW:0]# fw log -l -x 0 -y 10
... ...
[Expert@MyGW:0]#
fw logswitch
Description
Switches the current active log file:
1. Closes the current active log file
2. Renames the current active log file
3. Creates a new active log file with the default name
Notes:
• By default, this command switches the active Security log file - $FWDIR/log/fw.log
• You can specify to switch the active Audit log file - $FWDIR/log/fw.adtlog
Syntax
fw [-d] logswitch
[-audit] [<Name of Switched Log>]
-h <Target> [[+ | -]<Name of Switched Log>]
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-audit Specifies to switch the active Audit log file ($FWDIR/log/fw.adtlog).
You can use this parameter only on a Management Server.
-h <Target> Specifies the remote computer, on which to switch the log.
Notes:
• The local and the remote computers must have established SIC trust.
• The remote computer can be a Security Gateway, a Log Server, or a Security
Management Server in High Availability deployment.
• You can specify the remote managed computer by its main IP address or
Object Name as configured in SmartConsole.
Parameter Description
Parameter Description
- Specifies to transfer the active log from the remote computer to the local
computer.
Notes:
• The command saves the copied active log file in the $FWDIR/log/ directory
on the local computer and then deletes the switched log file on the remote
computer.
• If you specify the name of the switched log file, you must write it immediately
after this - (minus) parameter.
• The default name of the saved log file is:
<Gateway_Object_Name>__<YYYY-MM-DD_HHMMSS>.log
For example, MyGW__2018-03-26_174455.log
• If you specify the name of the switched log file, then the name of the saved
log file is:
<Gateway_Object_Name>__<Specified_Log_Name>.log
• When this command transfers the log file from the remote computer, it
compresses the file.
• As an alternative, you can use the fw fetchlogs (on page 422) command.
Compression
When this command transfers the log files from the remote computer, it compresses the file with
the gzip command (see RFC 1950 to RFC 1952 for details). The algorithm is a variation of LZ77
method. The compression ratio varies with the content of the log file and is difficult to predict.
Binary data are not compressed. Text data, such as user names and URLs, are compressed.
Example 4 - Switching the active Security log on a managed Security Gateway and
copying the switched log
[Expert@MGMT:0]# fw logswitch -h MyGW +
Log file has been switched to: 2018-06-13_185451.log
[Expert@MGMT:0]#
Security Management Administration Guide R80.20 | 437
Command Line Reference
[Expert@MGMT:0]# ls $FWDIR/log/*.log
/opt/CPsuite-R80.20/fw1/log/fw.log
/opt/CPsuite-R80.20/fw1/log/MyGW__2018-06-13_185451.log
[Expert@MGMT:0]#
[Expert@MyGW:0]# ls $FWDIR/log/*.log
/opt/CPsuite-R80.20/fw1/log/fw.log
/opt/CPsuite-R80.20/fw1/log/2018-06-13_185451.log
[Expert@MyGW:0]#
fw lslogs
Description
Shows a list of Security log files ($FWDIR/log/*.log) and Audit log files
($FWDIR/log/*.adtlog) residing on the local computer or a remote computer.
Syntax
fw [-d] lslogs [-f <Name of Log File 1>] [-f <Name of Log File 2>] ... [-f <Name
of Log File N>] [-e] [-r] [-s {name | size | stime | etime}] [<Target>]
Parameter
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
Note - If you use this parameter, then redirect the output to a file, or use
the script command to save the entire CLI session.
-f <Name of Log File> Specifies the name of the log file to show. Need to specify name only.
Notes:
• If the log file name not specified explicitly, the command shows all
Security log files ($FWDIR/log/*.log).
• File names may include * and ? as wild cards (for example,
2017-0?-*). If you enter a wild card, you must enclose it in double
quotes or single quotes.
• You can specify multiple log files in one command. You must use the
-f parameter for each log file name pattern.
-e Shows an extended file list. It includes the following information for
each log file:
• Size - The total size of the log file and its related pointer files
• Creation Time - The time the log file was created
• Closing Time - The time the log file was closed
• Log File Name - The file name
-r Reverses the sort order (descending order).
-s {name | size | Specifies the sort order of the log files using one of the following sort
stime | etime} options:
• name - The file name
• size - The file size
• stime - The time the log file was created (this is the default option)
• etime - The time the log file was closed
Parameter Description
<Target> Specifies the remote Check Point computer, with which this local Check
Point computer has established SIC trust.
• If you run this command on a Security Management Server or
Domain Management Server, then <Target> is the applicable
object's name or main IP address of the Check Point Computer as
configured in SmartConsole.
• If you run this command on a Security Gateway or Cluster Member,
then <Target> is the main IP address of the applicable object as
configured in SmartConsole.
Example 4 - Showing only log files specified by the patterns and their extended
information
[Expert@MGMT:0]# fw lslogs -f "2018-06-14*" -f '2018-06-15*'
Size Log file name
9KB 2018-06-14_000000.adtlog
9KB 2018-06-14_000000.log
11KB 2018-06-15_000000.adtlog
11KB 2018-06-15_000000.log
[Expert@MGMT:0]#
Example 5 - Showing only log files specified by the patterns, sorting by name in reverse
order
[Expert@MGMT:0]# fw lslogs -f "2018-06-14*" -f '2018-06-15*' -e -s name -r
Example 6 - Showing only log files specified by the patterns, from a managed Security
Gateway
[Expert@MGMT:0]# fw lslogs -f "2018-06-14*" -f '2018-06-15*' 192.168.3.53
Size Log file name
11KB 2018-06-15_000000.adtlog
11KB 2018-06-15_000000.log
9KB 2018-06-14_000000.log
9KB 2018-06-14_000000.adtlog
[Expert@MGMT:0]#
fw mergefiles
Description
Merges several input log files into a single log file.
The command supports merging of the Security log files (*.log) and Audit log files (*.adtlog).
Notes:
• Do not merge the active Security file $FWDIR/log/fw.log with other Security switched log
files. Switch the active Security file $FWDIR/log/fw.log and only then merge it with other
Security switched log files. See fw logswitch (on page 435).
• Do not merge the active Audit file $FWDIR/log/fw.adtlog with other Audit switched log
files. Switch the active Audit file $FWDIR/log/fw.adtlog and only then merge it with other
Audit switched log files. See fw logswitch (on page 435).
• This command unifies logs entries with the same Unique-ID. If a log switch was performed
before all the segments of a specific log were received, this command merges the log entries
with the same Unique-ID from two different files, into one fully detailed record.
Syntax
fw [-d] mergefiles [-s] [-r] [-t <Time Conversion File>] <Name of Log File 1> <Name
of Log File 2> ... <Name of Log File N> <Name of Merged Log File>
The order of the parameters in the syntax is important. The name of the merged log file is always
the last parameter.
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-s Sorts the log entries in the merged log file by the time field.
-r Removes duplicate entries from the merged log file.
-t <Time Conversion Specifies the file with time conversion information.
File> This is required if you merge log files from Log Servers configured
with different time zones. This information is used to adjust the time
of log records from different time zones.
The file format is as follows:
<IP Address of Log Server 1> <Signed Date Time in
Seconds>
<IP Address of Log Server 2> <Signed Date Time in
Seconds>
... ...
Notes:
• You must specify the absolute path and the file name.
• The name of the time conversion file cannot exceed 230
characters.
Parameter Description
fw repairlog
Description
Check Point Security log and Audit log files are databases, with special pointer files. If these log
pointer files become corrupted (which causes the inability to read the log file), this command can
rebuild them:
Syntax
fw repairlog [-u] <Name of Log File>
Parameters
Parameter Description
-u Specifies to rebuild the unification chains in the log file.
<Name of Log File> The name of the log file to repair.
Example
fw repairlog -u 2018-06-17_000000.adtlog
fw sam
Description
Manages the Suspicious Activity Monitoring (SAM) rules. You can use the SAM rules to block
connections to and from IP addresses without the need to change or reinstall the Security Policy.
For more information, see sk112061
http://supportcontent.checkpoint.com/solutions?id=sk112061.
You can create the Suspicious Activity Rules in two ways:
• In SmartConsole from Monitoring Results
• In CLI with the fw sam command
Notes:
• VSX Gateway does not support Suspicious Activity Monitoring (SAM) Rules. See sk79700
http://supportcontent.checkpoint.com/solutions?id=sk79700.
• See the fw sam_policy (on page 452) and sam_alert (on page 502).
• SAM rules consume some CPU resources on Security Gateway. We recommend to set an
expiration that gives you time to investigate, but does not affect performance. The best practice
is to keep only the SAM rules that you need. If you confirm that an activity is risky, edit the
Security Policy, educate users, or otherwise handle the risk.
• Logs for enforced SAM rules (configured with the fw sam command) are stored in the
$FWDIR/log/sam.dat file.
By design, the file is purged when the number of stored entries reaches 100,000.
This data log file contains the records of one of these formats:
<type>,<actions>,<expire>,<ipaddr>
<type>,<actions>,<expire>,<src>,<dst>,<dport>,<ip_p>
• SAM Requests are stored in the kernel table sam_requests on the Security Gateway.
• IP Addresses that are blocked by SAM rules, are stored in the kernel table sam_blocked_ips
on the Security Gateway.
• To configure SAM Server settings for a Security Gateway or Cluster:
a) Connect with SmartConsole to the applicable Security Management Server or Domain
Management Server
b) Open the Security Gateway or Cluster object
c) Go to the Other > SAM page.
d) Configure the settings.
e) Click OK.
f) Install the Access Control Policy in this Security Gateway or Cluster object.
Syntax
• To add or cancel a SAM rule according to criteria:
[Expert@HostName:0]# fw [-d] sam [-v] [-s <SAM Server>] [-S <SIC Name of SAM Server>]
[-f <Security Gateway>] [-t <Timeout>] [-l <Log Type>] [-C] [-e <key=val>]+ [-r]
-{n|i|I|j|J} <Criteria>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-v Enables verbose mode.
In this mode, the command writes one message to stderr for each Security
Gateway, on which the command is enforced. These messages show
whether the command was successful or not.
-s <SAM Server> Specifies the IP address (in the X.X.X.X format) or resolvable HostName of
the Security Gateway that enforces the command.
The default is localhost.
-S <SIC Name of Specifies the SIC name for the SAM server to be contacted. It is expected
SAM Server> that the SAM server has this SIC name, otherwise the connection fails.
Notes:
• If you do not explicitly specify the SIC name, the connection continues
without SIC names comparison.
• For more information about enabling SIC, refer to the OPSEC API
Specification.
• On VSX Gateway, run the fw vsx showncs -vs <VSID> command to show
the SIC name for the relevant Virtual System.
Parameter Description
-f <Security Specifies the Security Gateway, on which to enforce the action.
Gateway> <Security Gateway> can be one of these:
• All - Default. Specifies to enforce the action on all managed Security
Gateways, where SAM Server runs.
You can use this syntax only on Security Management Server or Domain
Management Server.
• localhost - Specifies to enforce the action on this local Check Point
computer (on which the fw sam command is executed).
You can use this syntax only on Security Gateway or StandAlone.
• Gateways - Specifies to enforce the action on all objects defined as
Security Gateways, on which SAM Server runs.
You can use this syntax only on Security Management Server or Domain
Management Server.
• Name of Security Gateway object - Specifies to enforce the action on
this specific Security Gateway object.
You can use this syntax only on Security Management Server or Domain
Management Server.
• Name of Group object - Specifies to enforce the action on all specific
Security Gateways in this Group object.
Notes:
• You can use this syntax only on Security Management Server or Domain
Management Server.
• VSX Gateway does not support Suspicious Activity Monitoring (SAM)
Rules.
-D Cancels all inhibit (-i, -j, -I, -J) and notify (-n) commands.
Notes:
• To "uninhibit" the inhibited connections, run the fw sam command with
the -C or -D parameters.
• It is also possible to use this command for active SAM requests.
-C Cancels the fw sam command to inhibit connections with the specified
parameters.
Notes:
• These connections are no longer inhibited (no longer rejected or
dropped).
• The command parameters must match the parameters in the original
fw sam command, except for the -t <Timeout> parameter.
-t <Timeout> Specifies the time period (in seconds), during which the action is enforced.
The default is forever, or until the fw sam command is canceled.
Parameter Description
-l <Log Type> Specifies the type of the log for enforced action:
• nolog - Does not generate Log / Alert at all
• short_noalert - Generates a Log
• short_alert - Generates an Alert
• long_noalert - Generates a Log
• long_alert - Generates an Alert (this is the default)
-e <key=val>+ Specifies rule information based on the keys and the provided values.
Multiple keys are separated by the plus sign (+).
Available keys are (each is limited to 100 characters):
• name - Security rule name
• comment - Security rule comment
• originator - Security rule originator's username
-r Specifies not to resolve IP addresses.
-n Specifies to generate a "Notify" long-format log entry.
Notes:
• This parameter generates an alert when connections that match the
specified services or IP addresses pass through the Security Gateway.
• This action does not inhibit / close connections.
-i Inhibits (drops or rejects) new connections with the specified parameters.
Notes:
• Each inhibited connection is logged according to the log type.
• Matching connections are rejected.
-I Inhibits (drops or rejects) new connections with the specified parameters,
and closes all existing connections with the specified parameters.
Notes:
• Matching connections are rejected.
• Each inhibited connection is logged according to the log type.
-j Inhibits (drops or rejects) new connections with the specified parameters.
Notes:
• Matching connections are dropped.
• Each inhibited connection is logged according to the log type.
-J Inhibits new connections with the specified parameters, and closes all
existing connections with the specified parameters.
Notes:
• Matching connections are dropped.
• Each inhibited connection is logged according to the log type.
-b Bypasses new connections with the specified parameters.
-q Quarantines new connections with the specified parameters.
Security Management Administration Guide R80.20 | 448
Command Line Reference
Parameter Description
-M Monitors the active SAM requests with the specified actions and criteria.
all Gets all active SAM requests. This is used for monitoring purposes only.
<Criteria> Criteria are used to match connections. The criteria and are composed of
various combinations of the following parameters:
• Source IP Address
• Source Netmask
• Destination IP Address
• Destination Netmask
• Port (see IANA Service Name and Port Number Registry
https://www.iana.org/assignments/service-names-port-numbers/servi
ce-names-port-numbers.xhtml)
• Protocol Number (see IANA Protocol Numbers
https://www.iana.org/assignments/protocol-numbers/protocol-number
s.xhtml)
Possible combinations are:
• src <IP>
• dst <IP>
• any <IP>
• subsrc <IP> <Netmask>
• subdst <IP> <Netmask>
• subany <IP> <Netmask>
• srv <Src IP> <Dest IP> <Port> <Protocol>
• subsrv <Src ip> <Src Netmask> <Dest IP> <Dest Netmask> <Port>
<Protocol>
• subsrvs <Src IP> <Src Netmask> <Dest IP> <Port> <Protocol>
• subsrvd <Src IP> <Dest IP> <Dest Netmask> <Port> <Protocol>
• dstsrv <Dest IP> <Port> <Protocol>
• subdstsrv <Dest IP> <Dest Netmask> <Port> <Protocol>
• srcpr <IP> <Protocol>
• dstpr <IP> <Protocol>
• subsrcpr <IP> <Netmask> <Protocol>
• subdstpr <IP> <Netmask> <Protocol>
• generic <key=val>
Explanation for the <Criteria> syntax:
Parameter Description
src <IP> Matches the Source IP address of the connection.
subsrv <Src IP> <Netmask> <Dest Matches the specific Source IP address, Destination IP
IP> <Netmask> <Port> <Protocol> address, Service (port number) and Protocol.
Source and Destination IP addresses are assigned
according to the netmask.
subsrvs <Src IP> <Src Netmask> Matches the specific Source IP address, source netmask,
<Dest IP> <Port> <Protocol> destination netmask, Service (port number) and Protocol.
subsrvd <Src IP> <Dest IP> <Dest Matches specific Source IP address, Destination IP,
Netmask> <Port> <Protocol> destination netmask, Service (port number) and Protocol.
dstsrv <Dest IP> <Service> Matches specific Destination IP address, Service (port
<Protocol> number) and Protocol.
subdstsrv <Dest IP> <Netmask> Matches specific Destination IP address, Service (port
<Port> <Protocol> number) and Protocol.
Destination IP address is assigned according to the
netmask.
srcpr <IP> <Protocol> Matches the Source IP address and protocol.
dstpr <IP> <Protocol> Matches the Destination IP address and protocol.
subsrcpr <IP> <Netmask> Matches the Source IP address and protocol of
<Protocol> connections.
Source IP address is assigned according to the netmask.
subdstpr <IP> <Netmask> Matches the Destination IP address and protocol of
<Protocol> connections.
Destination IP address is assigned according to the
netmask.
generic <key=val>+ Matches the GTP connections based on the specified keys
and provided values.
Multiple keys are separated by the plus sign (+).
Available keys are:
• service=gtp
• imsi
• msisdn
• apn
• tunl_dst
• tunl_dport
• tunl_proto
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
add <options> Adds one Rate Limiting rule one at a time.
batch Adds or deletes many Rate Limiting rules at a time.
del <options> Deletes one configured Rate Limiting rule one at a time.
get <options> Shows all the configured Rate Limiting rules.
fwm
Description
Performs various management operations and shows various management information.
Notes:
• For debug instructions, see the description of the fwm process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
• On Multi-Domain Server, you must run these commands in the context of the applicable
Domain Management Server.
Syntax
fwm [-d]
dbload <options>
exportcert <options>
fetchfile <options>
fingerprint <options>
getpcap <options>
ikecrypt <options>
load [<options>]
logexport <options>
mds <options>
printcert <options>
sic_reset
snmp_trap <options>
unload [<options>]
ver [<options>]
verify <options>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
dbload <options> (on Downloads the user database and network objects information to the
page 456) specified targets
exportcert <options> Export a SIC certificate of the specified object to file.
(on page 457)
fetchfile <options> Fetches a specified OPSEC configuration file from the specified
(on page 458) source computer.
fingerprint <options> Shows the Check Point fingerprint.
(on page 459)
getpcap <options> (on Fetches the IPS packet capture data from the specified Security
page 460) Gateway.
ikecrypt <options> (on Encrypts a secret with a key.
page 461)
Item Description
load <options> (on page This command is obsolete for R80 and above.
462) Use the mgmt_cli command to load a policy to a managed Security
Gateway.
logexport <options> Exports a Security log file ($FWDIR/log/*.log) or Audit log file
(on page 463) ($FWDIR/log/*.adtlog) to ASCII file.
mds <options> (on page Shows information and performs various operations on Multi-Domain
467) Server.
printcert <options> Shows a SIC certificate's details.
(on page 468)
sic_reset (on page 472) Resets SIC on the Management Server.
snmp_trap <options> Sends an SNMP Trap to the specified host.
(on page 473)
unload <options> (on Unloads the policy from the specified managed Security Gateways.
page 475)
ver <options> (on page Shows the Check Point version of the Management Server.
478)
verify <options> (on Verifies the specified policy package without installing it.
page 479)
fwm dbload
Description
Downloads the user database and network objects information to the specified Security Gateways.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] dbload
-a
-c <Configuration File>
<GW1> <GW2> ... <GWN>
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm
process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
-a Executes commands on all targets specified in the default
system configuration file - $FWDIR/conf/sys.conf.
Note - You must manually create this file.
-c <Configuration File> Specifies the OPSEC configuration file to use.
Note - You must manually create this file.
<GW1> <GW2> ... <GWN> Executes commands on the specified Security Gateways.
Notes:
• Enter the main IP address or Name of the Security Gateway
object as configured in SmartConsole.
• If you do not explicitly specify the Security Gateway, the
database is downloaded to localhost.
fwm exportcert
Description
Export a SIC certificate of the specified managed object to a file.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] exportcert -obj <Name of Object> -cert <Name of CA> -file <Output File>
[-withroot] [-pem]
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in
sk97638 http://supportcontent.checkpoint.com/solutions?id=sk97638.
<Name of Object> Specifies the name of the managed object, whose certificate you wish to
export.
<Name of CA> Specifies the name of Certificate Authority, whose certificate you wish to
export.
<Output File> Specifies the name of the output file.
-withroot Exports the certificate's root in addition to the certificate's content.
-pem Save the exported information in a text file.
Default is to save in a binary file.
fwm fetchfile
Description
Fetches a specified OPSEC configuration file from the specified source computer.
This command supports only the fwopsec.conf or fwopsec.v4x files.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] fetchfile -r <File> [-d <Local Path>] <Source>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in
sk97638 http://supportcontent.checkpoint.com/solutions?id=sk97638.
-r <File> Specifies the relative fw1 directory.
This command supports only these:
• conf/fwopsec.conf
• conf/fwopsec.v4x
-d <Local Path> Specifies the local directory to save the fetched file.
<Source> Specifies the managed remote source computer, from which to fetch the
file.
Note - The local and the remote source computers must have established
SIC trust.
Example
[Expert@MGMT:0]# fwm fetchfile -r "conf/fwopsec.conf" -d /tmp 192.168.3.52
Fetching conf/fwopsec.conf from 192.168.3.52...
Done
[Expert@MGMT:0]#
fwm fingerprint
Description
Shows the Check Point fingerprint.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] fingerprint [-d]
<IP address of Target> <SSL Port>
localhost <SSL Port>
Parameters
Item Description
-d Runs the command in debug mode:
• fwm -d
Runs the complete debug of all fwm actions.
For complete debug instructions, see the description of the fwm
process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
• fingerprint -d
Runs the debug only for the fingerprint actions.
<IP address of Target> Specifies the IP address of a remote managed computer.
<SSL Port> Specifies the SSL port number.
The default is 443.
fwm getpcap
Description
Fetches the IPS packet capture data from the specified Security Gateway.
Notes:
• On Multi-Domain Server, you must run this command in the context of the applicable Domain
Management Server (mdsenv <IP Address or Name of Domain Management Server>).
• This command only works with IPS packet captures stored on the Security Gateway in the
$FWDIR/log/captures_repository/ directory. It does not work with other Software
Blades, such as Anti-Bot and Anti-Virus that store packet captures in the $FWDIR/log/blob/
directory on the Security Gateway.
Syntax
fwm [-d] getpcap -g <Security Gateway> -u '{<Capture UID>}' -p <Local Path>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm
process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
-g <Security Gateway> Specifies the main IP address or Name of Security Gateway object as
configured in SmartConsole.
-u '{<Capture UID>}' Specifies the Unique ID of the packet capture file.
To see the Unique ID of the packet capture file, open the applicable
log file in SmartConsole > Logs & Monitor > Logs.
-p <Local Path> Specifies the local path to save the specified packet capture file.
If you do not specify the local directory explicitly, the command saves
the packet capture file in the current working directory.
Example
[Expert@MGMT:0]# fwm getpcap -g 192.168.162.1 -u
'{0x4d79dc02,0x10000,0x220da8c0,0x1ffff}' /var/log/
[Expert@MGMT:0]#
fwm ikecrypt
Description
Encrypts the password of an Endpoint VPN Client user using IKE. The resulting string must then
be stored in the LDAP database.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] ikecrypt <Key> <Password>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in
sk97638 http://supportcontent.checkpoint.com/solutions?id=sk97638.
<Key> Specifies the IKE Key as defined in the Encryption tab of the LDAP Account
Unit properties window.
<Password> Specifies the password for the Endpoint VPN Client user.
Example
[Expert@MGMT:0]# fwm ikecrypt MySecretKey MyPassword
OUQJHiNHCj6HJGH8ntnKQ7tg
[Expert@MGMT:0]#
fwm load
Description
This command is obsolete for R80 and above. Use the mgmt_cli (on page 496) command to load a
policy on a managed Security Gateway.
fwm logexport
Description
Exports a Security log file ($FWDIR/log/*.log) or Audit log file ($FWDIR/log/*.adtlog) to
ASCII file.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm logexport -h
fwm [-d] logexport [{-d <Delimiter> | -s}] [-t <Table Delimiter>] [-i <Input File>]
[-o <Output File>] [{-f | -e}] [-x <Start Entry Number>] [-y <End Entry Number>]
[-z] [-n] [-p] [-a] [-u <Unification Scheme File>] [-m {initial | semi | raw}]
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm
process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
-d <Delimiter> | -s Specifies the output delimiter between fields of log entries:
• -d <Delimiter> - Uses the specified delimiter.
• -s - Uses the ASCII character #255 (non-breaking space) as
delimiter.
Note - If you do not specify the delimiter explicitly, the default is a
semicolon (;).
-t <Table Delimiter> Specifies the output delimiter inside table field.
Table field would look like:
ROWx:COL0,ROWx:COL1,ROWx:COL2 and so on
Note - If you do not specify the table delimiter explicitly, the default is
a comma (,).
-i <Input File> Specifies the name of the input log file.
Notes:
• This command supports only Security log file
($FWDIR/log/*.log) and Audit log file
($FWDIR/log/*.adtlog)
• If you do not specify the input log file explicitly, the command
processes the active Security log file $FWDIR/log/fw.log
-o <Output File> Specifies the name of the output file.
Note - If you do not specify the output log file explicitly, the command
prints its output on the screen.
Item Description
-f After reaching the end of the currently opened log file, continue to
monitor the log file indefinitely and export the new entries as well.
Note - Applies only to active log file $FWDIR/log/fw.log or
$FWDIR/log/fw.adtlog
-e After reaching the end of the currently opened log file, continue to
monitor the log file indefinitely and export the new entries as well.
Note - Applies only to active log file $FWDIR/log/fw.log or
$FWDIR/log/fw.adtlog
-x <Start Entry Number> Starts exporting the log entries from the specified log entry number
and below, counting from the beginning of the log file.
-y <End Entry Number> Starts exporting the log entries until the specified log entry number,
counting from the beginning of the log file.
-z In case of an error (for example, wrong field value), continue to export
log entries.
The default behavior is to stop.
-n Do not perform DNS resolution of the IP addresses in the log file (this
is the default behavior).
This significantly speeds up the log processing.
-p Do not perform resolution of the port numbers in the log file (this is
the default behavior).
This significantly speeds up the log processing.
-a Exports only Account log entries.
-u <Unification Scheme Specifies the path and name of the log unification scheme file.
File>
The default log unification scheme file is:
$FWDIR/conf/log_unification_scheme.C
-m {initial | semi | Specify the log unification mode:
raw}
• initial - Complete unification of log entries. The command
exports one unified log entry for each ID. This is the default.
If you also specify the -f parameter, then the output does not
export any updates, but exports only entries that relate to the
start of new connections. To export updates as well, use the semi
parameter.
• semi - Step-by-step unification of log entries. For each log entry,
exports entry that unifies this entry with all previously
encountered entries with the same ID.
• raw - No log unification. Exports all log entries.
The fwm logexport output appears in tabular format. The first row lists the names of all log
fields included in the log entries. Each of the next rows consists of a single log entry, whose fields
are sorted in the same order as the first row. If a log entry has no information in a specific field,
this field remains empty (as indicated by two successive semi-colons ";;"). You can control which
Security Management Administration Guide R80.20 | 464
Command Line Reference
Step Description
1 Create the $FWDIR/conf/logexport.ini file:
[Expert@MGMT:0]# touch $FWDIR/conf/logexport.ini
2 Edit the $FWDIR/conf/logexport.ini file:
[Expert@MGMT:0]# vi $FWDIR/conf/logexport.ini
3 To include or exclude the log fields from the output, add these lines in the configuration
file:
[Fields_Info]
included_fields = field1,field2,field3,<REST_OF_FIELDS>,field100
excluded_fields = field10,field11
Where:
The num field always appears first. You cannot manipulate this field.
The <REST_OF_FIELDS> is an optional reserved token that refers to a list of fields.
• If you specify the -f parameter, then the <REST_OF_FIELDS> is based on a list of
fields from the $FWDIR/conf/logexport_default.C file.
• If you do not specify the -f parameter, then the <REST_OF_FIELDS> is based on the
input log file.
You can specify only the included_fields parameter, only the excluded_fields
parameter, or both.
4 Save the changes in the file and exit the Vi editor.
5 Run the fwm logexport command.
... ...
[Expert@MGMT:0]#
fwm mds
Description
• Shows the Check Point version of the Multi-Domain Server.
• Rebuilds status tree for Global VPN Communities.
Note - On Multi-Domain Server, you can run this command in the context of the MDS or a Domain
Management Server.
Syntax
fwm [-d] mds
ver
rebuild_global_communities_status {all | missing}
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in
sk97638 http://supportcontent.checkpoint.com/solutions?id=sk97638.
ver Shows the Check Point version of the Multi-Domain Server.
rebuild_global_ Rebuilds status tree for Global VPN Communities:
communities_sta
tus • all - Rebuilds status tree for all Global VPN Communities.
• missing - Rebuild status tree only for Global VPN Communities that
do not have status trees.
Example
[Expert@MDS:0]# fwm mds ver
This is Check Point Multi-Domain Security Management R80.20 - Build 084
[Expert@MDS:0]#
fwm printcert
Description
Shows a SIC certificate's details.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] printcert
-obj <Name of Object> [-cert <Certificate Nick Name>] [-verbose]
-ca <CA Name> [-x509 <Name of File> [-p]] [-verbose]
-f <Name of Binary Certificate File> [-verbose]
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the
fwm process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
-obj <Name of Object> Specifies the name of the managed object, for which to show
the SIC certificate information.
-cert <Certificate Nick Name> Specifies the certificate nick name.
-ca <CA Name> Specifies the name of the Certificate Authority.
Note - Check Point CA Name is internal_ca.
-x509 <Name of File> Specifies the name of the X.509 file.
-p Specifies to show the SIC certificate as a text file.
-f <Name of Binary Certificate Specifies the binary SIC certificate file to show.
File>
-verbose Shows the information in verbose mode.
7B:F9:7B:4C:BD:40:B9:1C:AB:2C:AE:CF:66:2E:E7:06
SHA-1 Fingerprints:
1. A6:43:3A:2B:1A:04:7F:A6:36:A6:2C:78:BF:22:D9:BC:F7:7E:4D:73
2. KEYS HEM GERM PIT ABUT ROVE RAW PA IQ FAWN NUT SLAM
[Expert@MGMT:0]#
[Expert@MGMT:0]#
defaultCert:
Host Certificate (level 0):
Subject: CN=CXL_192.168.3.244 VPN Certificate,O=MGMT.checkpoint.com.s6t98x
Issuer: O=MGMT.checkpoint.com.s6t98x
Not Valid Before: Sun Jun 3 19:58:19 2018 Local Time
Not Valid After: Sat Jun 3 19:58:19 2023 Local Time
Serial No.: 85021
Public Key: RSA (2048 bits)
Signature: RSA with SHA256
Subject Alternate Names:
IP Address: 192.168.3.244
CRL distribution points:
http://192.168.3.240:18264/ICA_CRL2.crl
CN=ICA_CRL2,O=MGMT.checkpoint.com.s6t98x
Key Usage:
digitalSignature
keyEncipherment
Basic Constraint:
not CA
MD5 Fingerprint:
B1:15:C7:A8:2A:EE:D1:75:92:9F:C7:B4:B9:BE:42:1B
SHA-1 Fingerprints:
1. BC:7A:D9:E2:CD:29:D1:9E:F0:39:5A:CD:7E:A9:0B:F9:6A:A7:2B:85
2. MIRE SANK DUSK HOOD HURD RIDE TROY QUAD LOVE WOOD GRIT WITH
*****
[Expert@MGMT:0]#
defaultCert:
fwm sic_reset
Description
Resets SIC on the Management Server. For detailed procedure, see sk65764: How to reset SIC
http://supportcontent.checkpoint.com/solutions?id=sk65764.
Important:
• Before running this command, take a Gaia Snapshot and a full backup of the Management
Server. This command resets SIC between the Management Server and all its managed
objects.
• This operation breaks trust in all Internal CA certificates and SIC trust across the managed
environment. Therefore, we do not recommend it at all, except for real disaster recovery.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] sic_reset
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
fwm snmp_trap
Description
Sends an SNMPv1 Trap to the specified host.
Notes:
• On Multi-Domain Server, you must run this command in the context of the applicable Domain
Management Server (mdsenv <IP Address or Name of Domain Management Server>).
• On Multi-Domain Server, the SNMP Trap packet is sent from the IP address of the Leading
Interface.
Syntax
fwm [-d] snmp_trap [-v <SNMP OID>] [-g <Generic Trap Number>] [-s <Specific Trap
Number>] [-p <Source Port>] [-c <SNMP Community>] <Target> ["<Message>"]
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm
process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
-v <SNMP OID> Specifies an optional SNMP OID to bind with the message.
-g <Generic Trap Specifies the generic trap number.
Number> One of these values:
• 0 - For coldStart trap
• 1 - For warmStart trap
• 2 - For linkDown trap
• 3 - For linkUp trap
• 4 - For authenticationFailure trap
• 5 - For egpNeighborLoss trap
• 6 - For enterpriseSpecific trap (this is the default value)
-s <Specific Trap Specifies the unique trap type.
Number> Valid only of generic trap value is 6 (for enterpriseSpecific).
Default value is 0.
-p <Source Port> Specifies the source port, from which to send the SNMP Trap
packets.
-c <SNMP Community> Specifies the SNMP community.
<Target> Specifies the managed target host, to which to send the SNMP Trap
packets.
Enter an IP address of a resolvable hostname.
Item Description
"<Message>" Specifies the SNMP Trap text message.
Example - Sending an SNMP Trap from a Management Server and capturing the traffic
on the Security Gateway
[Expert@MGMT:0]# fwm snmp_trap -g 2 -c public 192.168.3.52 "My Trap Message"
[Expert@MGMT:0]#
fwm unload
Description
Unloads the policy from the specified managed Security Gateways or Cluster Members.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Warning
1. The fwm unload command prevents all traffic from passing through the Security Gateway
(Cluster Member), because it disables the IP Forwarding in the Linux kernel on the Security
Gateway (Cluster Member).
2. The fwm unload command removes all policies from the Security Gateway (Cluster
Member). This means that the Security Gateway (Cluster Member) accepts all incoming
connections destined to all active interfaces without any filtering or protection enabled.
Notes
• If you need to remove the current policy, but keep the Security Gateway (Cluster Member)
protected, then run the comp_init_policy command on the Security Gateway (Cluster
Member).
• To load the policies on the Security Gateway (Cluster Member), run one of these commands on
the Security Gateway (Cluster Member), or reboot:
• fw fetch
• cpstart
• In addition, see the fw unloadlocal command.
Syntax
fwm [-d] unload <GW1> <GW2> ... <GWN>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm
process in sk97638
http://supportcontent.checkpoint.com/solutions?id=sk97638.
<GW1> <GW2> ... <GWN> Specifies the managed Security Gateways by their main IP address or
Object Name as configured in SmartConsole.
Example
[Expert@MyGW:0]# cpstat -f policy fw
[Expert@MGMT:0]#
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 0
net.ipv4.conf.eth2.mc_forwarding = 0
net.ipv4.conf.eth2.forwarding = 0
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 0
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 0
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 0
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.all.forwarding = 0
[Expert@MyGW:0]#
fwm ver
Description
Shows the Check Point version of the Security Management Server.
Note - On Multi-Domain Server, you can run this command in the context of the MDS or a Domain
Management Server.
Syntax
fwm [-d] ver [-f <Output File>]
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in
sk97638 http://supportcontent.checkpoint.com/solutions?id=sk97638.
-f <Output File> Specifies the name of the output file, in which to save this information.
Example
[Expert@MGMT:0]# fwm ver
This is Check Point Security Management Server R80.20 - Build 252
[Expert@MGMT:0]#
fwm verify
Description
Verifies the specified policy package without installing it.
Note - On Multi-Domain Server, you must run this command in the context of the applicable
Domain Management Server (mdsenv <IP Address or Name of Domain Management Server>).
Syntax
fwm [-d] verify <Policy Name>
Parameters
Item Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
For complete debug instructions, see the description of the fwm process in
sk97638 http://supportcontent.checkpoint.com/solutions?id=sk97638.
<Policy Name> Specifies the name of the policy package as configured in SmartConsole.
Example
[Expert@MGMT:0]# fwm verify Standard
Verifier messages:
Error: Rule 1 Hides rule 2 for Services & Applications: any .
[Expert@MGMT:0]#
inet_alert
Description
Notifies an Internet Service Provider (ISP) when a company's corporate network is under attack.
This command forwards log messages generated by the alert daemon on your Check Point
Security Gateway to an external Management Station. This external Management Station is usually
located at the ISP site. The ISP can then analyze the alert and react accordingly.
This command uses the Event Logging API (ELA) protocol to send the alerts. The Management
Station receiving the alert must be running the ELA Proxy.
If communication with the ELA Proxy is to be authenticated or encrypted, a key exchange must be
performed between the external Management Station running the ELA Proxy at the ISP site and
the Check Point Security Gateway generating the alert.
Procedure
Step Description
1 Connect with SmartConsole to the applicable Security Management Server or Domain
Management Server, which manages the applicable Security Gateway that should
forward log messages to an external Management Station.
2 From the top left Menu, click Global properties.
3 Click on the [+] near the Log and Alert and click Alerts.
4 Clear the Send user defined alert no. 1 to SmartView Monitor.
5 Select the next option Run UserDefined script under the above.
6 Enter the applicable inet_alert syntax (see the Syntax section below).
7 Click OK.
8 Install the Access Policy on the applicable Security Gateway.
Syntax
inet_alert -s <IP Address> [-o] [-a <Auth Type>] [-p <Port>] [-f <Token> <Value>]
[-m <Alert Type>]
Parameters
Parameter Description
-s <IP Address> The IPv4 address of the ELA Proxy (usually located at the ISP site).
-o Prints the alert log received to stdout.
Use this option when inet_alert is part of a pipe syntax (<some
command> | inet_alert ...).
Parameter Description
-a <Auth Type> Specifies the type of connection to the ELA Proxy.
One of these values:
• ssl_opsec - The connection is authenticated and encrypted (this is
the default).
• auth_opsec - The connection is authenticated.
• clear - The connection is neither authenticated, nor encrypted.
-p <Port> Specifies the port number on the ELA proxy. Default port is 18187.
-f <Token> <Value> A field to be added to the log, represented by a <Token> <Value> pair as
follows:
• <Token> - The name of the field to be added to the log. Cannot
contain spaces.
• <Value> - The field's value. Cannot contain spaces.
This option can be used multiple times to add multiple <Token> <Value>
pairs to the log.
-m <Alert Type> The alert to be triggered at the ISP site.
This alert overrides the alert specified in the log message generated by
the alert daemon.
The response to the alert is handled according to the actions specified in
the ISP Security Policy:
These alerts execute the OS commands:
• alert - Popup alert command
• mail - Mail alert command
• snmptrap - SNMP trap alert command
• spoofalert - Anti-Spoof alert command
These NetQuota and ServerQuota alerts execute the OS commands
specified in the $FWDIR/conf/objects.C: file:
value=clientquotaalert. Parameter=clientquotaalertcmd
Exist Status
Exit Status Description
0 Execution was successful.
102 Undetermined error.
103 Unable to allocate memory.
104 Unable to obtain log information from stdin
106 Invalid command line arguments.
107 Failed to invoke the OPSEC API.
Example
inet_alert -s 10.0.2.4 -a clear -f product cads -m alert
ldapcmd
Description
This is an LDAP utility that controls these features:
Feature Description
Cache LDAP cache operations, such as emptying the cache, as well as providing debug
information.
Statistics LDAP search statistics, such as:
• All user searches
• Pending lookups (when two or more lookups are identical)
• Total lookup time (the total search time for a specific lookup)
• Cache statistics such as hits and misses
These statistics are saved in the $FWDIR/log/ldap_pid_<Process PID>.stats
file.
Logging View the alert and warning logs.
Syntax
[Expert@MGMT:0]# ldapcmd [-d <Debug Level>] -p {<Process Name> | all} <Command>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-d <Debug Level> Runs the command in debug mode with the specified TDERROR
debug level.
Valid values are from 0 (disabled) to 5 (maximal level,
recommended).
-p {<Process Name> | all} Runs on a specified Check Point process, or all supported Check
Point processes.
<Command> One of these commands:
Parameter Description
ldapcompare
Description
This is an LDAP utility that performs compare queries and prints a message whether the result
returned a match or not. This utility opens a connection to an LDAP directory server, binds, and
performs the comparison specified on the command line or from a specified file.
Syntax
[Expert@MGMT:0]# ldapcompare [-d <Debug Level>] [<Options>] <DN> {<Attribute>
<Value> | <Attribute> <Base64 Value>}
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-d <Debug Level> Runs the command in debug mode with the specified TDERROR debug
level.
Valid values are from 0 (disabled) to 5 (maximal level, recommended).
<Options> See the tables below.
<DN> Specifies the Distinguished Name.
<Attribute> Specifies the assertion attribute.
<Value> Specifies the assertion value.
Compare options:
Option Description
-E [!]<Extension>[=<Extension Specifies the compare extensions.
Parameter>] Note - The exclamation sign "!" indicates criticality.
For example: !dontUseCopy = Do not use Copy
-M Enables the Manage DSA IT control.
Use the -MM to make critical.
-P <LDAP Protocol Version> Specifies the LDAP protocol version. Default version
is 3.
-z Enables the quiet mode.
The command does not print anything. You can use
the command return values.
Common options:
Option Description
-D <Bind DN> Specifies the LDAP Server administrator
Distinguished Name.
Security Management Administration Guide R80.20 | 485
Command Line Reference
• [!]assert=<Filter>
RFC 4528; an RFC 4515 filter string
• [!]authzid=<Authorization ID>
RFC 4370; either "dn:<DN>", or "u:<User>"
• [!]chaining[=<Resolve
Behavior>[/<Continuation Behavior>]]
One of these:
• "chainingPreferred"
• "chainingRequired"
• "referralsPreferred"
• "referralsRequired"
• [!]manageDSAit
RFC 3296
• [!]noop
• ppolicy
• [!]postread[=<Attributes>]
RFC 4527; a comma-separated list of attributes
• [!]preread[=<Attributes>]
RFC 4527; a comma-separated list of attributes
• [!]relax
• abandon
SIGINT sends the abandon signal; if critical, does
not wait for SIGINT. Not really controls.
• cancel
SIGINT sends the cancel signal; if critical, does
not wait for SIGINT. Not really controls.
• ignore
SIGINT ignores the response; if critical, does not
wait for SIGINT. Not really controls.
Note - The exclamation sign "!" indicates criticality.
-h <LDAP Server> Specifies the LDAP Server computer by its IP address
or resolvable hostname.
-H <LDAP URI> Specifies the LDAP Server Uniform Resource
Identifier(s).
-I Specifies to use the SASL Interactive mode.
-n Dry run - shows what would be done, but does not
actually do it.
Security Management Administration Guide R80.20 | 486
Command Line Reference
ldapmemberconvert
Description
This is an LDAP utility that ports from Member attribute values in LDAP group entries to
MemberOf attribute values in LDAP member (User or Template) entries.
This utility converts the LDAP server data to work in MemberOf mode or Both mode. This means
finding all specified group or template entries that hold one or more Member attribute values. The
utility searches and modifies each value. The utility searches all specified group/template entries
and fetches their Member attribute values.
Each value is the DN of a member entry. The entry identified by this DN is added to the MemberOf
attribute value of the group/template DN at hand. In addition, those Member attribute values are
deleted from the group/template unless you run the command in the Both mode.
When your run the command, it creates a log file, ldapmemberconvert.log in the current
working directory. It logs all modifications done and errors encountered.
Important - Back up the LDAP server database before running this conversion utility.
Syntax
[Expert@MGMT:0]# ldapmemberconvert [-d <Debug Level>] -h <LDAP Server> -p <LDAP
Server Port> -D <LDAP Admin DN> -w <LDAP Admin Password> -m <Member Attribute Name>
-o <MemberOf Attribute Name> -c <Member ObjectClass Value> [-B] [-f <File> | -g
<Group DN>] [-L <LDAP Server Timeout>] [-M <Number of Updates>] [-S <Size>] [-T
<LDAP Client Timeout>] [-Z]
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-d <Debug Level> Runs the command in debug mode with the specified TDERROR
debug level.
Valid values are from 0 (disabled) to 5 (maximal level,
recommended).
-h <LDAP Server> Specifies the LDAP Server computer by its IP address or
resolvable hostname.
If you do not specify the LDAP Server explicitly, the command
connects to localhost.
-p <LDAP Server Port> Specifies the LDAP Server port. Default is 389.
-D <LDAP Admin DN> Specifies the LDAP Server administrator Distinguished Name.
-w <LDAP Admin Password> Specifies the LDAP Server administrator password.
-m <Member Attribute Name> Specifies the LDAP attribute name when fetching and (possibly)
deleting a group Member attribute value.
-o <MemberOf Attribute Specifies the LDAP attribute name for adding an LDAP
Name> MemberOf attribute value.
Parameter Description
-c <Member ObjectClass Specifies the LDAP ObjectClass attribute value that defines,
Value> which type of member to modify.
You can specify multiple attribute values with this syntax:
-c <Member Object Class 1> -c <Member Object Class
2> ... -c <Member Object Class X>
-B Specifies to run in Both mode.
-f <File> Specifies the file that contains a list of Group DNs separated by
a new line:
<Group DN 1>
<Group DN 2>
...
<Group DN X>
Length of each line is limited to 256 characters.
-g <Group DN> Specifies the Group or Template Distinguished Name, on which
to perform the conversion.
You can specify multiple Group DNs with this syntax:
-g <Group DN 1> -g <Group DN 2> ... -g <Group DN
X>
-L <LDAP Server Timeout> Specifies the Server side time limit for LDAP operations, in
seconds.
Default is never.
-M <Number of Updates> Specifies the maximal number of simultaneous member LDAP
updates.
Default is 20.
-S <Size> Specifies the Server side size limit for LDAP operations, in
number of entries.
Default is none.
-T <LDAP Client Timeout> Specifies the Client side timeout for LDAP operations, in
milliseconds.
Default is never.
-Z Specifies to use SSL connection.
Notes
There are two GroupMembership modes. You must keep these modes consistent:
• template-to-groups
• user-to-groups
For example, if you apply conversion on LDAP users to include MemberOf attributes for their
groups, then this conversion has to be applied on LDAP defined templates for their groups.
Troubleshooting
Symptom:
A command fails with an error message stating the connection stopped unexpectedly when you
run it with the parameter –M <Number of Updates>.
Root Cause:
The LDAP server could not handle that many LDAP requests simultaneously and closed the
connection.
Solution:
Run the command again with a lower value for the –M parameter. The default value should be
adequate, but can also cause a connection failure in extreme situations. Continue to reduce the
value until the command runs normally. Each time you run the command with the same set of
groups, the command continues from where it left off.
Example 1
A group is defined with the DN "cn=cpGroup,ou=groups,ou=cp,c=us" and these attributes:
...
cn=cpGroup
uniquemember="cn=member1,ou=people,ou=cp,c=us"
uniquemember="cn=member2,ou=people,ou=cp,c=us"
...
and:
...
cn=member2
objectclass=fw1Person
...
Run:
and:
...
cn=member2
objectclass=fw1Person
memberof="cn=cpGroup,ou=groups,ou=cp,c=us"
...
If you run the same command with the –B parameter, it produces the same result, but the group
entry is not modified.
Example 2
If there is another member attribute value for the same group entry:
uniquemember="cn=template1,ou=people, ou=cp,c=us"
Then after running the same command, the template entry stays intact, because of the parameter
"-c fw1Person", but the object class of template1 is fw1Template.
ldapmodify
Description
This is an LDAP utility that imports users to an LDAP server. The input file must be in the LDIF
format.
Syntax
[Expert@MGMT:0]# ldapmodify [-d <Debug Level>] [-h <LDAP Server>] [-p <LDAP Server
Port>] [-D <LDAP Admin DN>] [-w <LDAP Admin Password>] [-a] [-b] [-c] [-F] [-k]
[-n] [-r] [-v] [-T <LDAP Client Timeout>] [-Z] [ -f <Input File>.ldif | < <Entry>]
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-d <Debug Level> Runs the command in debug mode with the specified TDERROR
debug level.
Valid values are from 0 (disabled) to 5 (maximal level,
recommended).
-h <LDAP Server> Specifies the LDAP Server computer by its IP address or
resolvable hostname.
If you do not specify the LDAP Server explicitly, the command
connects to localhost.
-p <LDAP Server Port> Specifies the LDAP Server port. Default is 389.
-D <LDAP Admin DN> Specifies the LDAP Server administrator Distinguished Name.
-w <LDAP Admin Password> Specifies the LDAP Server administrator password.
-a Specifies that this is the LDAP add operation.
-b Specifies to read values from files (for binary attributes).
-c Specifies to ignore errors during continuous operation.
-F Specifies to force changes on all records.
-k Specifies the Kerberos bind.
-K Specifies the Kerberos bind, part 1 only.
-n Specifies to print the LDAP add operations, but do not actually
perform them.
-r Specifies to replace values, instead of adding values.
-v Specifies to run in verbose mode.
-T <LDAP Client Timeout> Specifies the Client side timeout for LDAP operations, in
milliseconds.
Default is never.
-Z Specifies to use SSL connection.
Parameter Description
ldapsearch
Description
This is an LDAP utility that queries an LDAP directory and returns the results.
Syntax
[Expert@MGMT:0]# ldapsearch [-d <Debug Level>] [-h <LDAP Server>] [-p <LDAP Port>]
[-D <LDAP Admin DN>] [-w <LDAP Admin Password>] [-A] [-B] [-b <Base DN>] [-F
<Separator>] [-l <LDAP Server Timeout>] [-s <Scope>] [-S <Sort Attribute>] [-t]
[-T <LDAP Client Timeout>] [-u] [-z <Number of Search Entries>] [-Z] <Filter>
[<Attributes>]
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-d <Debug Level> Runs the command in debug mode with the specified TDERROR
debug level.
Valid values are from 0 (disabled) to 5 (maximal level,
recommended).
-h <LDAP Server> Specifies the LDAP Server computer by its IP address or
resolvable hostname.
If you do not specify the LDAP Server explicitly, the command
connects to localhost.
-p <LDAP Port> Specifies the LDAP Server port. Default is 389.
-D <LDAP Admin DN> Specifies the LDAP Server administrator Distinguished Name.
-w <LDAP Admin Password> Specifies the LDAP Server administrator password.
-A Specifies to retrieve attribute names only, without values.
-B Specifies not to suppress the printing of non-ASCII values.
-b <Base DN> Specifies the Base Distinguished Name (DN) for search.
-F <Separator> Specifies the print separator character between attribute names
and their values.
The default separator is the equal sign "=".
-l <LDAP Server Timeout> Specifies the Server side time limit for LDAP operations, in
seconds.
Default is never.
-s <Scope> Specifies the search scope. One of these:
• base
• one
• sub
-S <Sort Attribute> Specifies to sort the results by the values of this attribute.
Parameter Description
-t Specifies to write values to files in the /tmp/ directory.
Writes each <attribute>-<value> pair to a separate file named:
/tmp/ldapsearch-<Attribute>-<Value>
For example, for the fw1color attribute with the value
a00188, the command writes to the file named:
/tmp/ldapsearch-fw1color-a00188
-T <LDAP Client Timeout> Specifies the Client side timeout for LDAP operations, in
milliseconds.
Default is never.
-u Specifies to show user-friendly entry names in the output.
For example:
shows cn=Babs Jensen, users, omi
instead of cn=Babs Jensen, cn=users,cn=omi
-z <Number of Search Specifies the maximal number of entries to search on the LDAP
Entries> Server.
-Z Specifies to use SSL connection.
<Filter> LDAP search filter compliant with RFC-1558.
For example:
objectclass=fw1host
<Attributes> Specifies the list of attributes to retrieve.
If you do not specify attributes explicitly, then the command
retrieves all attributes.
Example
[Expert@MGMT:0]# ldapsearch -p 18185 -b cn=omi objectclass=fw1host objectclass
mgmt_cli
Description
The mgmt_cli tool lets you work directly with the management database on your Management
Server.
Notes
• For a complete list of the mgmt_cli options, type the mgmt_cli (mgmt_cli.exe) command
and press Enter.
• For more information, see the Management API Reference
https://sc1.checkpoint.com/documents/latest/APIs/index.html.
migrate
Description
Exports the management database and applicable Check Point configuration.
Imports the exported management database and applicable Check Point configuration.
Notes:
• You must run this command from the Expert mode.
• If you need to back up the current management database, and you do not plan to import it on a
Management Server that runs a higher software version, then you can use the built-in
command in the $FWDIR/bin/upgrade_tools/ directory.
• If you plan to import the management database on a Management Server that runs a higher
software version, then you must use the migrate utility from the upgrade tools package
created specifically for that higher software version. See the Installation and Upgrade Guide
for that higher software version.
• If this command completes successfully, it creates this log file:
/var/log/opt/CPshrd-R80.20/migrate-<YYYY.MM.DD_HH.MM.SS>.log
For example: /var/log/opt/CPshrd-R80.20/migrate-2018.06.14_11.03.46.log
• If this command fails, it creates this log file:
$CPDIR/log/migrate-<YYYY.MM.DD_HH.MM.SS>.log
For example: /opt/CPshrd-R80.20/log/migrate-2018.06.14_11.21.39.log
Important notes about backing up and restoring in Management High Availability environment:
• To back up and restore a consistent environment, make sure to collect and restore the
backups and snapshots from all servers in the High Availability environment at the same time.
• Make sure other administrators do not make changes in SmartConsole until the backup
operation is completed.
For more information:
• About Gaia Backup and Gaia Snapshot, see the R80.20 Gaia Administration Guide
https://sc1.checkpoint.com/documents/R80.20_GA/WebAdminGuides/EN/CP_R80.20_Gaia_Ad
minGuide/html_frameset.htm.
• About Virtual Machine Snapshots, see the vendor documentation.
Syntax
• To see the built-in help:
[Expert@MGMT:0]# ./migrate -h
Parameters
Parameter Description
-h Shows the built-in help.
yes | nohup ./migrate ... & "yes | nohup ... &" are mandatory parts of the syntax.
Sends the yes input to the interactive migrate command
through the pipeline.
Forces the migrate command to ignore the hangup signals
from the shell. As a result, when the CLI session closes, the
command continues to run in the background.
See:
• sk133312
http://supportcontent.checkpoint.com/solutions?id=sk133
312
• https://linux.die.net/man/1/bash
https://linux.die.net/man/1/bash
• https://linux.die.net/man/1/nohup
https://linux.die.net/man/1/nohup
export Exports the management database and applicable Check
Point configuration.
import Imports the management database and applicable Check
Point configuration that were exported from another
Management Server.
-l Exports and imports the Check Point logs without log indexes
in the $FWDIR/log/ directory.
Note - The command can export only closed logs (to which
the information is not currently written).
-x Exports and imports the Check Point logs with their log
indexes in the $FWDIR/log/ directory.
Important:
• This parameter only supports Management Servers and
Log Servers R80.10 and higher.
• The command can export only closed logs (to which the
information is not currently written).
-n Runs silently (non-interactive) using the default options for
each setting.
Important:
• If you export a management database in this mode and
the specified name of the exported file matches the name
of an existing file, the command overwrites the existing
file without prompting.
• If you import a management database in this mode, the
command runs cpstop automatically.
Security Management Administration Guide R80.20 | 498
Command Line Reference
Parameter Description
--exclude-uepm-postgres-d Does not back up the PostgreSQL database during the export
b operation.
Does not restore the PostgreSQL database during the import
operation.
--include-uepm-msi-files Backs up the MSI files from the Endpoint Security
Management Server during the export operation.
Restores the MSI files from the Endpoint Security
Management Server during the import operation.
/<Full Path>/ Absolute path to the exported database file.
<Name of Exported File> During the export operation, specifies the name of the output
file. The command automatically adds the *.tgz extension.
During the import operation, specifies the name of the
exported file. You must also add the *.tgz extension in the
end.
[Expert@MGMT:0]#
[Expert@MGMT:0]# find / -name migrate-\* -type f
/var/log/opt/CPshrd-R80.20/migrate-2018.06.14_11.03.46.log
[Expert@MGMT:0]#
queryDB_util
Description
Searches in the management database for objects or policy rules.
Important - This command is obsolete for R80 and higher. Use the mgmt_cli (on page 496)
command to search in the management database for objects or policy rules according to search
parameters.
rs_db_tool
Description
Manages DAIP gateways in a DAIP database.
Syntax
• To add an entry to the DAIP database:
[Expert@MGMT:0]# rs_db_tool [-d] -operation add -name <Object Name> -ip <IPv4
Address> -ip6 <Pv6 Address> -TTL <Time-To-Live>
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-d Runs the command in debug mode.
Use only if you troubleshoot the command itself.
-name <Object Name> Specifies the name of the DAIP object.
-ip <IPv4 Address> Specifies the IPv4 address of the DAIP object
-ip6 <IPv6 Address> Specifies the IPv6 address of the DAIP object.
-TTL <Time-To-Live> Specifies the relative time interval (in seconds), during which the
entry is valid.
sam_alert
Description
For SAM v1, this utility executes Suspicious Activity Monitoring (SAM) actions according to the
information received from the standard input.
For SAM v2, this utility executes Suspicious Activity Monitoring (SAM) actions with User Defined
Alerts mechanism.
Notes:
• VSX Gateway does not support Suspicious Activity Monitoring (SAM) Rules. See sk79700
http://supportcontent.checkpoint.com/solutions?id=sk79700.
• You must run this command in Expert mode on the Management server.
• See fw sam (on page 445) and fw sam_policy (on page 452).
-o Specifies to print the input of this tool to the standard output (to
use with pipes in a CLI syntax).
-s <SAM Server> Specifies the SAM Server to be contacted. Default is localhost.
-t <Time> Specifies the time (in seconds), during which to enforce the
action. The default is forever.
-f <Security Gateway> Specifies the Security Gateway, on which to run the operation.
Important - If you do not specify the target Security Gateway
explicitly, this command applies to all managed Security
Gateways.
-C Cancels the specified operation.
-n Specifies to notify every time a connection, which matches the
specified criteria, passes through the Security Gateway.
-i Inhibits (drops or rejects) connections that match the specified
criteria.
-I Inhibits (drops or rejects) connections that match the specified
criteria and closes all existing connections that match the
specified criteria.
-src Matches the source address of connections.
-dst Matches the destination address of connections.
Parameter Description
-any Matches either the source or destination address of
connections.
-srv Matches specific source, destination, protocol and port.
Parameter Description
-a {d | r| n | b | q | i} Specifies the action to apply on connections that match the
specified criteria:
• d - Drop
• r - Reject
• n - Notify
• b - Bypass
• q - Quarantine
• i - Inspect
-C Specifies to close all existing connections that match the
criteria.
-ip Specifies to use IP addresses as criteria parameters.
-eth Specifies to use MAC addresses as criteria parameters.
-src Matches the source address of connections.
-dst Matches the destination address of connections.
-any Matches either the source or destination address of
connections.
-srv Matches specific source, destination, protocol and port.
Example
See sk110873: How to configure Security Gateway to detect and prevent port scan
http://supportcontent.checkpoint.com/solutions?id=sk110873.
threshold_config
Description
You can configure a variety of different SNMP thresholds that generate SNMP traps, or alerts. You
can use these thresholds to monitor many system components automatically without requesting
information from each object or device.
You configure these SNMP Monitoring Thresholds only on the Security Management Server,
Multi-Domain Server, or Domain Management Server and install the Access Policy. During policy
installation, the managed a Security Gateway and Clusters receive and apply these thresholds as
part of their policy.
For more information, see sk90860: How to configure SNMP on Gaia OS
http://supportcontent.checkpoint.com/solutions?id=sk90860.
Procedure
Step Description
1 Connect to the command line on the Management Server.
5 Select the applicable options and configure the applicable settings (see the next table).
Threshold Engine Configuration Options:
---------------------------------------
Step Description
8 Start the CPD daemon:
[Expert@HostName:0]# cpwd_admin start -name CPD -path
"$CPDIR/bin/cpd" -command "cpd"
Thresholds Categories
Category Sub-Categories
(1) Hardware Hardware Thresholds:
--------------------
(1) RAID volume state
(2) RAID disk state
(3) RAID disk flags
(4) Temperature sensor reading
(5) Fan speed sensor reading
(6) Voltage sensor reading
(2) High Availability High Availability Thresholds:
-----------------------------
(1) Cluster member state changed
(2) Cluster block state
(3) Cluster state
(4) Cluster problem status
(5) Cluster interface status
(3) Local Logging Mode Local Logging Mode Status Thresholds:
Status -------------------------------------
(1) Local Logging Mode
(4) Log Server Log Server Connectivity Thresholds:
Connectivity -----------------------------------
(1) Connection with log server
(2) Connection with all log servers
Category Sub-Categories
(5) Networking Networking Thresholds:
----------------------
(1) Interface Admin Status
(2) Interface removed
(3) Interface Operational Link Status
(4) New connections rate
(5) Concurrent connections rate
(6) Bytes Throughput
(7) Accepted Packet Rate
(8) Drop caused by excessive traffic
(6) Resources Resources Thresholds:
---------------------
(1) Swap Memory Utilization
(2) Real Memory Utilization
(3) Partition free space
(4) Core Utilization
(5) Core interrupts rate
Notes
• If you run the threshold_config command locally on a Security Gateway or Cluster
Members to configure the SNMP Monitoring Thresholds, then each policy installation erases
these local SNMP threshold settings and reverts them to the global SNMP threshold settings
configured on the Management Server that manages this Security Gateway or Cluster.
• On Security Gateway and Cluster Members, you can save the local Threshold Engine
Configuration settings to a file and load it locally later.
• The Threshold Engine Configuration is stored in the $FWDIR/conf/thresholds.conf file.
• In a Multi-Domain Security Management environment:
• You can configure the SNMP thresholds in the context of Multi-Domain Server (MDS) and in
the context of each individual Domain Management Server.
• Thresholds that you configure in the context of the Multi-Domain Server are for the
Multi-Domain Server only.
• Thresholds that you configure in the context of a Domain Management Server are for that
Domain Management Server and its managed Security Gateway and Clusters.
• If an SNMP threshold applies both to the Multi-Domain Server and a Domain Management
Server, then configure the SNMP threshold both in the context of the Multi-Domain Server
and in the context of the Domain Management Server.
However, in this scenario you can only get alerts from the Multi-Domain Server, if the
monitored object exceeds the threshold.
Example: If you configure the CPU threshold, then when the monitored value exceeds the
configured threshold, it applies to both the Multi-Domain Server and the Domain
Management Server. However, only the Multi-Domain Server generates SNMP alerts.