附件02-CP R80.40 SmartProvisioning AdminGuide
附件02-CP R80.40 SmartProvisioning AdminGuide
SECURITY
MANAGEMENT
R80.40
Administration Guide
[Classification: Protected]
Check Point Copyright Notice
© 2020 Check Point Software Technologies Ltd.
All rights reserved. This product and related documentation are protected by copyright and
distributed under licensing restricting their use, copying, distribution, and decompilation. No part
of this product or related documentation may be reproduced in any form or by any means
without prior written authorization of Check Point. While every precaution has been taken in the
preparation of this book, Check Point assumes no responsibility for errors or omissions. This
publication and features described herein are subject to change without notice.
TRADEMARKS:
Refer to the Third Party copyright notices for a list of relevant copyrights and third-party licenses.
Security Management R80.40 Administration Guide
Important Information
Latest Software
We recommend that you install the most recent software release to stay up-to-date
with the latest functional improvements, stability fixes, security enhancements and
protection against new and evolving attacks.
Certifications
For third party independent certification of Check Point products, see the Check
Point Certifications page.
Feedback
Check Point is engaged in a continuous effort to improve its documentation.
Please help us by sending your comments.
Revision History
Date Description
Table of Contents
Glossary 23
Welcome 35
Getting Started 36
Understanding SmartConsole 36
SmartConsole Window 36
SmartConsole Toolbars 37
Search Engine 40
IP Search 40
General IP Search 41
Packet Search 41
Shared Policies 43
API 48
API Tools 49
Configuring-TACACS+-Authentication 62
User Database 63
Configuring Authentication 64
Delete a User 67
Schema Checking 70
Profile Attributes 81
Delegating Control 93
User Directory 96
Account Units 98
Prerequisites 148
Limitations 149
Networks 155
IPv6 163
Domains 163
Services and Applications on R77.30 and Lower Security Gateways, and after
Upgrade 186
Actions 188
On Windows 280
On Linux 280
SmartTasks 337
Introduction 356
Prerequisites 357
CRL 372
CA Procedures 373
CA Cleanup 373
contract_util 382
cp_conf 393
cp_conf ca 399
cp_log_export 408
cpca_client 414
cpca_create 438
cpconfig 439
cpinfo 442
cplic 443
cppkg 468
cpprod_util 477
cprid 482
cprinstall 483
cpstart 504
cpstat 505
cpstop 512
cpview 513
cpwd_admin 515
dbedit 537
fw 549
fw fetchlogs 551
fw hastat 554
fw kill 555
fw log 556
fw logswitch 565
fw lslogs 569
fw mergefiles 572
fw repairlog 575
fw sam 576
fw sam_policy 585
fwm 610
inet_alert 646
ldapcmd 649
ldapcompare 651
ldapmemberconvert 655
ldapmodify 661
ldapsearch 663
mgmt_cli 666
migrate 667
migrate_server 671
queryDB_util 675
rs_db_tool 676
sam_alert 678
stattest 681
threshold_config 684
Glossary
A
Administ rat or
A user with permissions to manage Check Point security products and the
network environment.
API
In computer programming, an application programming interface (API) is a set of
subroutine definitions, protocols, and tools for building application software. In
general terms, it is a set of clearly defined methods of communication between
various software components.
Appliance
A physical computer manufactured and distributed by Check Point.
Bond
A virtual interface that contains (enslaves) two or more physical interfaces for
redundancy and load sharing. The physical interfaces share one IP address and
one MAC address. See "Link Aggregation".
Bonding
See "Link Aggregation".
Bridge Mode
A Security Gateway or Virtual System that works as a Layer 2 bridge device for
easy deployment in an existing topology.
CA
Certificate Authority. Issues certificates to gateways, users, or computers, to
identify itself to connecting entities with Distinguished Name, public key, and
sometimes IP address. After certificate validation, entities can send encrypted
data using the public keys in the certificates.
Cert ificat e
An electronic document that uses a digital signature to bind a cryptographic
public key to a specific identity. The identity can be an individual, organization, or
software entity. The certificate is used to authenticate one identity to another.
Clust er
Two or more Security Gateways that work together in a redundant configuration -
High Availability, or Load Sharing.
Clust er Member
A Security Gateway that is part of a cluster.
CoreXL
A performance-enhancing technology for Security Gateways on multi-core
processing platforms. Multiple Check Point Firewall instances are running in
parallel on multiple CPU cores.
CoreXL SND
Secure Network Distributer. Part of CoreXL that is responsible for: Processing
incoming traffic from the network interfaces; Securely accelerating authorized
packets (if SecureXL is enabled); Distributing non-accelerated packets between
Firewall kernel instances (SND maintains global dispatching table, which maps
connections that were assigned to CoreXL Firewall instances). Traffic distribution
between CoreXL Firewall instances is statically based on Source IP addresses,
Destination IP addresses, and the IP 'Protocol' type. The CoreXL SND does not
really "touch" packets. The decision to stick to a particular FWK daemon is done at
the first packet of connection on a very high level, before anything else.
Depending on the SecureXL settings, and in most of the cases, the SecureXL can
be offloading decryption calculations. However, in some other cases, such as with
Route-Based VPN, it is done by FWK daemon.
CPUSE
Check Point Upgrade Service Engine for Gaia Operating System. With CPUSE, you
can automatically update Check Point products for the Gaia OS, and the Gaia OS
itself. For details, see sk92449.
Dat a Type
A classification of data. The Firewall classifies incoming and outgoing traffic
according to Data Types, and enforces the Policy accordingly.
Dat abase
The Check Point database includes all objects, including network objects, users,
services, servers, and protection profiles.
Domain
A network or a collection of networks related to an entity, such as a company,
business unit or geographical location.
Expert Mode
The name of the full command line shell that gives full system root permissions in
the Check Point Gaia operating system.
Firewall
The software and hardware that protects a computer network by analyzing the
incoming and outgoing network traffic (packets).
Gaia
Check Point security operating system that combines the strengths of both
SecurePlatform and IPSO operating systems.
Gaia Clish
The name of the default command line shell in Check Point Gaia operating system.
This is a restrictive shell (role-based administration controls the number of
commands available in the shell).
Gaia Port al
Web interface for Check Point Gaia operating system.
Hot fix
A piece of software installed on top of the current software in order to fix some
wrong or undesired behavior.
ICA
Internal Certificate Authority. A component on Check Point Management Server
that issues certificates for authentication.
Inline Layer
Set of rules used in another rule in Security Policy.
IPv4
Internet Protocol Version 4 (see RFC 791). A 32-bit number - 4 sets of numbers,
each set can be from 0 - 255. For example, 192.168.2.1.
IPv6
Internet Protocol Version 6 (see RFC 2460 and RFC 3513). 128-bit number - 8 sets
of hexadecimal numbers, each set can be from 0 - ffff. For example,
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210.
Log
A record of an action that is done by a Software Blade.
Log Server
A dedicated Check Point computer that runs Check Point software to store and
process logs in Security Management Server or Multi-Domain Security
Management environment.
Management Server
A Check Point Security Management Server or a Multi-Domain Server.
Open Server
A physical computer manufactured and distributed by a company, other than
Check Point.
Permission Profile
A predefined group of SmartConsole access permissions assigned to Domains
and administrators. With this feature you can configure complex permissions for
many administrators with one definition.
Policy Layer
A layer (set of rules) in a Security Policy.
Policy Package
A collection of different types of Security Policies, such as Access Control, Threat
Prevention, QoS, and Desktop Security. After installation, Security Gateways
enforce all Policies in the Policy Package.
Rule
A set of traffic parameters and other conditions in a Rule Base that cause
specified actions to be taken for a communication session.
Rule Base
Also Rulebase. All rules configured in a given Security Policy.
SecureXL
Check Point product that accelerates IPv4 and IPv6 traffic. Installed on Security
Gateways for significant performance improvements.
Securit y Policy
A collection of rules that control network traffic and enforce organization
guidelines for data protection and access to resources with packet inspection.
SIC
Secure Internal Communication. The Check Point proprietary mechanism with
which Check Point computers that run Check Point software authenticate each
other over SSL, for secure communication. This authentication is based on the
certificates issued by the ICA on a Check Point Management Server.
Single Sign-On
A property of access control of multiple related, yet independent, software
systems. With this property, a user logs in with a single ID and password to gain
access to a connected system or systems without using different usernames or
passwords, or in some configurations seamlessly sign on at each system. This is
typically accomplished using the Lightweight Directory Access Protocol (LDAP)
and stored LDAP databases on (directory) servers. Acronym: SSO.
Smart Console
A Check Point GUI application used to manage Security Policies, monitor products
and events, install updates, provision new devices and appliances, and manage a
multi-domain environment and each domain.
Smart Dashboard
A legacy Check Point GUI client used to create and manage the security settings in
R77.30 and lower versions.
SSO
See "Single Sign-On".
St andalone
A Check Point computer, on which both the Security Gateway and Security
Management Server products are installed and configured.
Traffic
Flow of data between network devices.
User Groups
Named groups of users with related responsibilities.
User Templat e
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.
VLAN
Virtual Local Area Network. Open servers or appliances connected to a virtual
network, which are not physically connected to the same network.
VLAN Trunk
A connection between two switches that contains multiple VLANs.
VSX
Virtual System Extension. Check Point virtual networking solution, hosted on a
computer or cluster with virtual abstractions of Check Point Security Gateways
and other network devices. These Virtual Devices provide the same functionality
as their physical counterparts.
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.40
Multi-Domain Security Management Administration Guide.
Item Description
3 Security Gateway - Placed at the perimeter of the network topology, to protect your
environment through enforcement of the security policies.
Getting Started
Before you begin deploying a Check Point security solution, familiarize yourself with:
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 Window
SmartConsole Toolbars
Global Toolbar (top of SmartConsole)
Description
The main SmartConsole Menu. When SmartConsole is connected to a Security Management Server, this includes:
Description
Enter session details and see the number of changes made in the session.
Publish the SmartConsole session, to make the changes visible to other administrators,
and ready to install on gateways.
Note - When the policy is installed, published changes are installed on the gateways and
enforced.
Keyboard
Description
Shortcut
Keyboard
Description
Shortcut
Ctrl+4 Manage & Settings view - review and configure the Security
Management Server settings:
n Administrators
n Permissions profiles
n Trusted clients
n Administrator sessions, and session settings
n Blades
n Revisions
n Preferences
n Sync with User Center
Description
Description
Description
Task List See management tasks in progress and expand to see recent tasks
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.
Description
Search Engine
In each view you can search the Security Management Server database for information relevant to
the view. For example:
n NAT rule
n Object tags
You can search for an object in the Security Management Server database in two ways:
n Enter the prefix of the object's name. For example, to find USGlobalHost, you can enter USG
in the search box.
n Enter any sequence of characters in the object's name and add an asterisk (*) before such
sequence.
For example, to find USGlobalHost, you can enter *oba, *host, *SG and so on in the search
box.
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.
n IP address: xxx.xxx.xxx.xxx
n Port: svc:<xxx>
n General - (Default). Returns direct matched results and indirect results in IP ranges,
networks, groups, groups with exclusion, and rules that contain these objects.
n Packet - Matches rules as if a packet with your IP address arrives at the gateway.
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:
n Objects that have the IP address as a text value for example, in a comment
n Groups, networks, and address ranges that contain objects with the text value or address
value
Packet Search
A Packet Search matches rules as if a packet with your IP address arrives at the gateway. It
matches rules that have:
n "Any"
Know n Limitation:
Tool Description
Updates Update the Application & URL Filtering database, schedule updates, and
configure updates.
UserCheck Configure UserCheck interaction objects for Access Control policy actions.
Client Create and distribute client certificates that allow users to authenticate to the
Certificates Gateway from handheld devices.
Application Browse to the Check Point AppWiki. Search and filter the Web 2.0 Applications
Wiki Database, to use Check Point security research in your policy rules for actions
on applications, apps, and widgets.
Installation See the Policy installation history for each Gateway, and who made the
History changes. See the revisions that were made during each installation, and who
made them. Install a specific version of the Policy.
Tool Description
Tool Description
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 See the Policy installation history for each Gateway, and who made the changes.
History 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.
Software
Description
Blade
Mobile Launch Mobile Access policy in a SmartConsole. Configure how your remote
Access users access internal resources, such as their email accounts, when they are
mobile.
DLP Launch Data Loss Prevention policy in a SmartConsole. Configure advanced tools
to automatically identify data that must not go outside the network, to block the
leak, and to educate users.
Geo Policy Create a policy for traffic to or from specific geographical or political locations.
HTTPS The HTTPS Policy allows the Security Gateway to inspect HTTPS traffic to prevent
Inspection security risks related to the SSL protocol. The HTTPS Policy shows if HTTPS
Inspection is enabled on one or more Gateways.
Software
Description
Blade
Click to open the API reference (in the command line interface).
Use the Command Line Reference to learn about Session management commands, Host
commands, Netw ork 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 (see "API Command Line
Interface" above).
Space or + Open drop-down menu for the current cell in the Rule Base
Ctrl+G Switch to grid view (in the Logs and Audit Logs views)
Ctrl+L Switch to table view (in the Logs and Audit Logs views)
F5 Refresh query
F6 Enable auto-refresh
4. Click Login .
The SmartConsole authenticates the Security Management Server. The first time you
connect, SmartConsole shows the fingerprint.
The fingerprint and the IP address of the Security Management Server are saved to the user
settings in Windows.
1. In the Gatew ays & Servers view, find the Security Management Server object.
You can search for it by name or IP address in the Search box at the top of the view.
When you select the Security Management Server object, the Summary tab at the
bottom of the pane shows the Software Blades that are enabled on it.
2. Open the object properties window, and enable the Management Software Blades, as
necessary:
符合防火牆規 n Logging & Status - Monitor security events and status of gateways, VPNs, users,
則3.2.1(十六) and more, with advanced visuals and data management features.
n Identity Logging - Add user identities, and data of their computers and devices,
from Active Directory domains, to log entries.
n User Directory - Populate your security scope with user accounts from the LDAP servers
in your environment.
n Compliance - Optimize your security settings and comply with regulatory requirements
3. In the Check Point Security Gatew ay Creation window that opens, select a
configuration mode:
If you are the only administrator, we recommend that you create a second administrator account
with Read Only permissions, which is useful for troubleshooting, consultation, or auditing.
API
You can configure and control the Management Server through API Requests you send to the API
Server that runs on the Management Server.
The API Server runs scripts that automate daily tasks and integrate the Check Point solutions with
third party systems such as virtualization servers, ticketing systems, and change management
systems.
API Tools
You can use these tools to run API scripts on the Management Server:
n Standalone management tool, included with SmartConsole. You can copy this tool to
computers that run Windows or Gaia operating system.
n Web Services API that allow communication and data exchange between the clients and the
Management Server over the HTTP protocol.
These also let other Check Point processes communicate with the Management Server over
the HTTPS protocol.
To learn more about the management APIs, to see code samples, and to take advantage of user
forums, see:
Select Automatic start to automatically start the API server when you start or reboot the
Management Server.
Notes:
n If the Management Server has more than 4GB of RAM installed,
Select one of these options to configure which clients can connect to the API Server:
n 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.
n 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.
n All IP addresses - You can send API requests from all IP addresses. This includes
requests from SmartConsole, Web services and the mgmt_cli utility.
api restart
API key authentication provides an administrator the ability to use a token for authenticating to
the API interface instead of using a the usual username / password.
Note - The administrator can only use the API key for executing API commands
and cannot use it for SmartConsole authentication.
b. Save the key for a later use (provide it to the relevant administrator).
6. Click OK
Example
This example demonstrates how to use the API-key for login and creating a simple-gateway
using the API.
2. Use the previously generated key for the login, and save the standard output to a file
(redirect it to a file using the ">" sign):
Syntax:
Example:
Syntax:
Example:
For more details, see the Check Point Management API Reference.
Define users and user groups that your security environment protects
You can add users and groups to the database manually, through LDAP and User Directory, or
with the help of Active Directory.
Security Gateways authenticate individual users. The Security Management Server authenticates
administrators.
Users and Administrators authenticate using credentials. All the methods required a username
and password.
Users and administrators can be stored in the Check Point User Database or on an LDAP server.
See "User Database" on page 63.
OS Password is stored on the operating system of the computer on which the Security Gateway
(for users) or Security Management Server (for administrators) is installed. You can also use
passwords that are stored in a Windows domain. No additional software is required.
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.
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.
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
Authentication Manager (AM) 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 AM.
Using SecurID, the Security Gateway forwards authentication requests by remote users to the
AM. For administrators, it is the Security Management Server that forwards the requests. The
AM manages the database of RSA users and their assigned hard or soft tokens. The Security
Gateway or the Security Management Server act as an AM agent and direct all access requests
to the RSA AM for authentication. For additional information on agent configuration, refer to
RSA Authentication Manager documentation.
There are no specific parameters required for the SecurID authentication method.
Authentication requests can be sent over SDK-supported API or through REST API.
There are no specific parameters required for the SecurID authentication method.
For background information about the authentication methods, see "Configuring Authentication
Methods for Users" on the previous page.
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.
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 w hich the RADIUS users belong>) to which the users belong.
n For other operating systems, including Gaia, Windows, and IPSO-attribute "Vendor-Specific"
(26)
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
Authentication Manager (AM) 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 AM.
Using SecurID, the Security Gateway forwards authentication requests by remote users to the AM.
For administrators, it is the Security Management Server that forwards the requests. The AM
manages the database of RSA users and their assigned hard or soft tokens. The gateway or the
Security Management Server act as an AM agent and direct all access requests to the AM for
authentication. For additional information on agent configuration, refer to RSA Authentication
Manager documentation. There are no specific parameters required for the SecurID
authentication method. Authentication requests can be sent over SDK-supported API or through
REST API.
There are no specific parameters required for the SecurID authentication method.
e. Click OK .
n SDK-supported API
b. Open the SecurID object in SmartConsole, click Brow se and import the
sdconf.rec file into the SecurID object.
c. Install policy.
n REST API
d. Click OK .
The procedure for doing this is different for Internal Users (that are defined in the
internal User Database on the Security Management Server) and for External Users.
Internal users are users that are defined in the internal User Database on the Security
Management Server.
c. Choose a template.
d. Click OK .
g. Click OK .
External users are users that are not defined in the internal Users Database on the
Security Management Server.
n If you support only one external authentication scheme, select New >
External User Profile > Match all users.
n If you support more than one external authentication scheme, select New
> External User Profile > Match by domain .
iii. Click OK .
f. From the top toolbar, click Update (or press the CTRL S keys).
a. Make sure that connections between the gateway and the Authentication Manager
are not NATed in the Address Translation Rule Base.
When a Security Gateway has multiple interfaces, the SecurID agent on the Security
Gateway sometimes uses the wrong interface IP to decrypt the reply from the
Authentication Manager, and authentication fails.
To overcome this problem, place a new text file, named sdopts.rec in the same
directory as sdconf.rec.
CLIENT_IP=<IP Address>
Where <IP Address> is the primary IP address of the Security Gateway, as defined on
the Authentication Manager. This is the IP address of the interface, to which the server is
routed.
Example:
CLIENT_IP=192.168.20.30
Note - On a VSX Gateway and VSX Cluster Members, you must create
the same sdopts.rec file in the context VSID 0 and in the context of
each applicable Virtual System.
Configuring-TACACS+-Authentication
To configure a Security Gateway to use TACACS+ authentication, you must set up the server and
enable its use on the Security Gateway.
1. Define a TACACS Host object: Object Explorer > New > Host
3. Define a TACACS server: Object Explorer > New > Server > More > TACACS.
4. Enter a name.
7. In Service , select the TACACSplus service (or TACACS UDP service if you selected
TACACS type).
8. Enter a Secret key . (If you selected TACACS type, this is not available. If you selected
TACACS+, it is required.)
9. Click OK .
4. Click OK .
4. When TACACS server shows, select the TACACS server you defined.
5. Click OK .
When you create a new user account, TACACS is the default selected authentication.
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:
n 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.
1. In the Object Bar (F11)tree, click New > More > User > User .
2. Choose a template.
3. Click OK .
4. Configure required and optional settings in General Properties. (see "User > General
Properties" on the next page).
5. Select and configure Authentication (see "Configuring Authentication" on the next page).
6. In Location , select objects from which this user can access or send data and traffic. See
"User > Location" on the next page.
7. If the user has specified working days or hours, configure when the user can be
authenticated for access. See "User > Time" on the next page.
8. Click OK .
2. Double-click a user.
4. Click OK .
Required settings:
If you generate a user certificate with a non-Check Point Certificate Authority, enter the
Common Name (CN) component of the Distinguished Name (DN). For example, if the DN is:
[CN = James, O = My Organization, C = My Country],
enter James as the user name. If you use Common Names as user names, they must
contain exactly one string with no spaces.
n 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
shows as the expiration date. See "Configuring Default Expiration Settings for Users" on
page 66.
Optional settings:
n Comment
n Email Address
Configuring Authentication
n SecurID
n Check Point Passw ord - Enter the password string (between 4 and 8 characters) and
confirm it
n OS Passw ord
Source - Click Add, to add selected objects to this user's permitted resources. The user can get
data and traffic from these objects.
Destination - Click Add, to add selected objects to this user's permitted destinations. The user
can send data and traffic to these objects.
From and To - Enter start time and end time of an expected workday. This user will not be
authenticated if a login attempt is made on a time outside the given range.
Days in w eek or Daily - Select the days that the user can authenticate and access resources.
This user will not be authenticated if a login attempt is made on an unselected day.
Generate and register SIC certificates for user accounts. This authenticates the user in the Check
Point system. Use certificates with required authentication for added access control.
2. Click New .
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.
If the user will access resources from a remote location, traffic between the remote user and
internal resources will be encrypted. Configure encryption settings for remote access users.
To configure encryption
3. Click Edit .
The next steps are for IKE Phase 2. The options can be different for different methods.
a. Passw ord - 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 .
If a user account is about to expire, notifications show when you open the properties of the user
in SmartConsole.
n Expire after - Enter the number of days (from the day the account is made) before
user accounts expire.
4. Select Show accounts expiration indication , and enter the number of days.
Expiration warnings in the SmartConsole User object show this number of days before an
account expires. During this time, if the user account is to be active for longer, you can
edit the user account expiration configuration. This will avoid loss of working time.
Delete a User
To delete a user:
3. Click Yes.
You can also edit user groups, and delete user groups that are not used in the Rule Base.
1. In the Object Bar (F11), click New > More > User > User Group.
3. For each user or a group of users, click the [+] sign and select the object from the list.
n Comment
n Tag
n Color
5. Click OK .
1. In the Object Bar (F11), select Object Categories > User > User Groups
3. Click +
5. Click OK .
n The Security Management Server can use the LDAP data to authenticate users.
n User data from other applications gathered in the LDAP user database can be shared by
different applications.
You can choose to manage Domains on the Check Point users' database, or to implement an
external LDAP server.
Note - User Directory requires a special license. If you have the Mobile Access
Software Blade, you have the User Directory license.
n High Availability, to duplicate user data across multiple servers for backup. See "LDAP and
User Directory" above.
n Define LDAP Account Units, for encrypted User Directory connections. See "LDAP and User
Directory" above.
n Profiles, to support multiple LDAP vendors. See "User Directory Profiles" on page 79.
Identity Awareness lets you enforce network access and audit data, based on network location,
the identity of the user, and the identity of the computer. You can use Identity Awareness in the
Access Control, Threat Prevention and DLP Rule Bases.
n Decide whether you will use the User Directory servers for user management, CRL retrieval,
user authentication, or all of those. See "LDAP and User Directory" on the previous page.
n Decide how many Account Units you will need. You can have one for each User Directory
server, or you can divide branches of one User Directory server among different Account
Units. See "LDAP and User Directory" on the previous page.
n Decide whether you will use High Availability setup. See "LDAP and User Directory" on the
previous page.
n Determine the order of priority among the User Directory servers for High Availability and
querying purposes. See "LDAP and User Directory" on the previous page.
n Assign users to different Account Units, branches, and sub-branches, so that users with
common attributes (such as their role in the organization, permissions, etc.) are grouped
together. See "LDAP and User Directory" on the previous page.
You can use the default User Directory schema, if all users have the same authentication method
and are defined according to a default template. But if users in the database have different
definitions, it is better to apply a Check Point schema to the LDAP server. See "Check Point Schema
for LDAP" below .
For example, an Object Class entitled fw 1Person is part of the Check Point schema. This Object
Class has mandatory and optional attributes to add to the definition of the Person attribute.
Another example is fw 1Template .This is a standalone attribute that defines a template of user
information.
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.
Each of the proprietary object classes and attributes (all of which begin with "fw1") has a
proprietary Object Identifier (OID), listed below.
fw1template 1.3.114.7.4.2.0.1
fw1person 1.3.114.7.4.2.0.2
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 for the value of "X" (see "User Directory
Schema Attributes" below ).
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
default
"no value"
default
"no value"
member
n 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.
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
fw 1authmethod
One of these:
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
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
2 y
fw1pwdLastMod
fw 1pw dLastMod
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.
"X" in
fw1person fw1template default
OID
fw1expiration-date
fw 1expiration-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".
8 y y "no value"
fw1hour-range-from
fw 1hour-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).
9 y y "00:00"
fw1hour-range-to
fw 1hour-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).
10 y y "23:59"
fw1day
fw 1day
The days on which the user can login to a Security Gateway. Can have the values "SUN","MON",
and so on.
fw1allowed-src
fw 1allow ed-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.
12 y y "no value"
fw1allowed-dst
fw 1allow ed-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.
13 y y "no value"
fw1allowed-vlan
fw 1allow ed-vlan
14 y y "no value"
fw1SR-k eym
fw 1SR-keym
The algorithm used to encrypt the session key in SecuRemote. Can be "CLEAR", "FWZ1", "DES"
or "Any".
15 y y "Any"
fw1SR-datam
fw 1SR-datam
The algorithm used to encrypt the data in SecuRemote. Can be "CLEAR", "FWZ1", "DES" or
"Any".
16 y y "Any"
fw1SR-mdm
fw 1SR-mdm
The algorithm used to sign the data in SecuRemote. Can be "none" or "MD5".
17 y y "none"
fw1enc-fwz-expiration
fw 1enc-fw z-expiration
The number of minutes after which a SecuRemote user must re-authenticate himself or herself
to the Security Gateway.
18 y y
fw1sr-auth-track
fw 1sr-auth-track
19 y y "none"
fw1groupTemplate
fw 1groupTemplate
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.
20 y y "False"
fw1ISAKMP-EncMethod
fw 1ISAKMP-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.
21 y y "DES", "3DES"
fw1ISAKMP-AuthMethods
fw 1ISAKMP-AuthMethods
The allowed authentication methods for SecuRemote users using IKE, (formerly known as
ISAMP). This can be one or more of: "preshared", "signatures".
22 y y "signatures"
fw1ISAKMP-HashMethods
fw 1ISAKMP-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.
23 y y "MD5", "SHA1"
fw1ISAKMP-Transform
fw 1ISAKMP-Transform
The IPSec Transform method for SecuRemote users using IKE, (formerly known as ISAMP). This
can be one of: "AH", "ESP".
24 y y "ESP"
fw1ISAKMP-DataIntegrityMethod
fw 1ISAKMP-DataIntegrityMethod
The data integrity method for SecuRemote users using IKE, (formerly known as ISAMP). This can
be one of: "MD5", "SHA1".
25 y y "SHA1"
fw1ISAKMP-SharedSecret
fw 1ISAKMP-SharedSecret
The pre-shared secret for SecuRemote users using IKE, (formerly known as ISAMP).
26 y y
fw1ISAKMP-DataEncMethod
fw 1ISAKMP-DataEncMethod
The data encryption method for SecuRemote users using IKE, (formerly known as ISAMP).
27 y y "DES"
fw1enc-Methods
fw 1enc-Methods
The encryption method allowed for SecuRemote users. This can be one or more of: "FWZ",
"ISAKMP" (meaning IKE).
28 y y "FWZ"
fw1userPwdPolicy
fw 1userPw dPolicy
Defines when and by whom the password should and can be changed.
29 y
fw1badPwdCount
fw 1badPw dCount
30 y
fw1lastLoginFailure
fw 1lastLoginFailure
31 4
memberof template
memberof template
33 4
To add the propriety schema to your Netscape directory server, use the file schema.ldif in
the $FWDIR/lib/ldap directory.
Important - This deletes the object class 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.
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.
The User Directory profile is a configurable LDAP policy that lets you define more exact User
Directory requests and enhances communication with the server. Profiles control most of the
LDAP server-specific knowledge. You can manage diverse technical solutions, to integrate LDAP
servers from different vendors.
Use User Directory profiles to make sure that the user management attributes of a Security
Management Server are correct for its associated LDAP server. For example, if you have a
certified OPSEC User Directory server, apply the OPSEC_DS profile to get enhanced OPSEC-
specific attributes.
LDAP servers have difference object repositories, schemas, and object relations.
n The organization's user database may have unconventional object types and relations
because of a specific application.
n Some applications use the cn attribute in the User object's Relatively Distinguished
Name (RDN) while others use uid.
n In Microsoft Active Directory, the user attribute memberOf describes which group the
user belongs to, while standard LDAP methods define the member attribute in the group
object itself.
n Some servers are considered v3 but do not implement all v3 specifications. These servers
cannot extend the schema.
n Some LDAP servers already have built in support for certain user data, while others
require a Check Point schema extended attribute. For example, Microsoft Active Directory
has the accountExpiresuser attribute, but other servers require the Check Point
attribute fw1expirationdate, which is part of the Check Point defined fw1person
objectclass.
n Some servers allow queries with non-defined types, while others do not.
n OPSEC_DS - the default profile for a standard OPSEC certified User Directory.
n Common - Profile settings for reading and writing to the User Directory.
n Read - Profile settings only for reading from the User Directory.
Some of these categories list the same entry with different values, to let the server behave
according to type of operation. You can change certain parameters of the default profiles for
finer granularity and performance tuning.
To apply a profile
To change a profile
2. Copy the settings of a User Directory profile into the new profile.
User Directory servers organize groups and members through different means and relations.
User Directory operations are performed by Check Point on users, groups of users, and user
templates where the template is defined as a group entry and users are its members. The mode
in which groups/templates and users are defined has a profound effect on the performance of
some of the Check Point functionality when fetching user information. There are three different
modes:
The most effective mode is the "MemberOf" and "Both" modes where users' group membership
information is available on the user itself and no additional User Directory queries are necessary.
Set the user-to-group membership mode in the profile objects for each User Directory server in
objects_5_0.C.
After successfully converting the database, set the User Directory server profile in objects_5_
0.C to the proper membership setting and start the Security Management server. Make sure to
install policy/user database on all gateways to enable the new configuration.
Profile Attributes
UserLoginAttr
UserLoginAttr
The unique username User Directory attribute (uid). In addition, when fetching users by the
username, this attribute is used for query.
default Other
UserPasswordAttr
UserPassw ordAttr
default Other
TemplateObjectClass
TemplateObjectClass
The object class for Check Point User Directory templates. If you change the default value with
another objectclass, make sure to extend that objectclass schema definition with relevant
attributes from fw1template.
default Other
ExpirationDateAttr
ExpirationDateAttr
The account expiration date is User Directory attribute. This could be a Check Point extended
attribute or an existing attribute.
default Other
ExpirationDateFormat
ExpirationDateFormat
Expiration date format. This format will be applied to the value defined at
ExpirationDateAttr.
default Other
PsswdDateFormat
Pssw dDateFormat
The format of the password modified date is User Directory attribute. This formation will be
applied to the value defined at PsswdDateAttr.
default Other
PsswdDateAttr
Pssw dDateAttr
default Other
BadPwdCountAttr
BadPw dCountAttr
User Directory attribute to store and read bad password authentication count.
default Other
ClientSideCrypt
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
DefaultCryptAlgorith
DefaultCryptAlgorith
The algorithm used to encrypt a password before updating the User Directory server with a
new password.
default Other
CryptedPasswordPrefix
CryptedPassw ordPrefix
The text to prefix to the encrypted password when updating the User Directory server with a
modified password.
default Other
PhoneNumberAttr
PhoneNumberAttr
User Directory attribute to store and read the user phone number.
default Other
AttributesTranslationMap
AttributesTranslationMap
default Other
ListOfAttrsToAvoid
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 Directory server was not Multiple
extended by the Check Point schema, the best thing to do is to list here all the values
new Check Point schema attributes. allowed
BranchObjectClass
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
BranchOCOperator
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
OrganizationObjectClass
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
OrgUnitObjectClass
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
DomainObjectClass
DomainObjectClass
This attribute defines what objects should be displayed with a Domain object icon. A new
object type specified here should also be in BranchObjectClass.
Default Other
UserObjectClass
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.
Default Other
OrganizationalPerson
InertOrgPerson
FW1 Person (most servers)
UserOCOperator
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
GroupObjectClass
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
GroupOCOperator
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
Defines the relationship Mode between the group and its members (user or template objects)
when reading group membership.
Default Other
n Member mode defines the member DN in the Group object (most One value
servers) allowed
n MemberOf mode defines the group DN in the member object (in
Microsoft_AD)
n Modes define member DN in Group object and group DN in
Member object.
UserMembershipAttr
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
TemplateMembership
TemplateMembership
Defines the user to template membership mode when reading user template membership
information.
Default Other
n Member mode defines the member DN in the Group object (most One value
servers) allowed
n MemberOf mode defines the group DN in the member object (in
Microsoft_AD)
TemplateMembershipAttr
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
UserTemplateMembershipAttr
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
OrganizationRDN
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
OrgUnitRDN
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
UserRDN
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
GroupRDN
GroupRDN
This value is used as the attribute name for the RDN, when you create a new Group object in
SmartConsole.
Default Other
DomainRDN
DomainRDN
This value is used as the attribute name for the RDN, when you create a new Domain object in
SmartConsole.
Default Other
AutomaticAttrs
AutomaticAttrs
This field is relevant when you create objects in SmartConsole. The format of this field is
Objectclass:name:valuemeaning 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
For Microsoft_AD This means that when a user object is created an extra values
attribute is included automatically: userAccountControl with the value 66048 allowed
GroupObjectClass
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
OrgUnitObjectClass
OrgUnitObjectClass
Default Other
OrganizationObjectClass
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
UserObjectClass
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
DomainObjectClass
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
The Microsoft Windows 2000 advanced server (or later) includes a sophisticated User Directory
server that can be adjusted to work as a user database for the Security Management server.
By default, the Active Directory services are disabled. In order to enable the directory services:
n run the dcpromo command from the Start > Run menu, or
n run the Active Directory setup wizard using the System Configuration window.
DC=qa, DC=checkpoint,DC=com
CN=Configuration,DCROOT
CN=Schema,CN=Configuration,DCROOT
CN=System,DCROOT
CN=Users,DCROOT
CN=Builtin,DCROOT
CN=Computers,DCOOT
OU=Domain Controllers,DCROOT
...
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.
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 94).
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.
To modify the Active Directory schema, add a new registry DWORD key named Schema Update
Allowed with the value different from zero under
HKLM\System\CurrentControlSet\Services\NTDS\Parameters.
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.
2. Right-click on the domain name displayed in the left pane and choose Delegate control
from the right-click menu.
3. Add an Administrator or another user from the System Administrators group to the list of
users who can control the directory.
Modify the file with the Active Directory schema, to use SmartConsole to configure the Active
Directory users.
1. From the Security Gateway, go to the directory of the schema file: $FWDIR/lib/ldap.
3. From Active Directory server, with a text editor open the schema file.
4. Find the value DOMAINNAME, and replace it with the name of your domain in LDIF format.
5. Make sure that there is a dash character - at the end of the modifysection.
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
-
Below is the example in LDAP Data Interchange (LDIF) format that adds one attribute to the
Microsoft Active Directory:
dn:CN=fw1auth-method,CN=Schema,CN=Configuration,DCROOT
changetype: add
adminDisplayName: fw1auth-method
attributeID: 1.3.114.7.4.2.0.1
attributeSyntax: 2.5.5.4
cn: fw1auth-method
distinguishedName:
CN=fw1auth-method,CN=Schema,CN=Configuration,DCROOT
instanceType: 4
isSingleValued: FALSE
LDAPDisplayName: fw1auth-method
name: fw1auth-method
objectCategory:
CN=Attribute-Schema,CN=ConfigurationCN=Schema,CN=Configuration,DCROOT
ObjectClass: attributeSchema
oMSyntax: 20
rangeLower: 1
rangeUpper: 256
showInAdvancedViewOnly: TRUE
The definitions of all attributes in LDIF format are contained in the schema_microsoft_
ad.ldif file located in the $FWDIR/lib/ldap directory.
After modifying the file, run the ldapmodify command to load the file into the directory. For
example if you use the Administrator account of the dc=support,dc=checkpoint,dc=com
domain the command syntax will be as follows:
Note - A shell script is available for UNIX gateways. The script is at:
$FWDIR/lib/ldap/update_schema_microsoft_ad
ldapmodify -c -h support.checkpoint.com -D
cn=administrator,cn=users,dc=support,dc=checkpoint,dc=com" -w SeCrEt -
f $FWDIR/lib/ldap/schema_microsoft_ad.ldif
1. The gateway searches for the user in the internal users database.
2. If the specified user is not defined in the internal users database, the gateway queries the
LDAP server defined in the Account Unit with the highest priority.
3. If the query against an LDAP server with the highest priority fails (for example, the
connection is lost), the gateway queries the server with the next highest priority.
If there is more than one Account Unit, the Account Units are queried concurrently. The
results of the query are taken from the first Account Unit to meet the conditions, or from all
the Account Units which meet the conditions.
4. If the query against all LDAP servers fails, the gateway matches the user against the generic
external user profile..
Use queries to get User Directory user or group data. For best performance, query Account Units
when there are open connections. Some connections are kept open by the gateways, to make sure
the user belongs to a group that is permitted to do a specified operation.
SmartDashboard opens.
Click Advanced to select specified objects types, such as Users, groups, or templates.
7. To add more conditions, select or enter the values and click Add.
Query conditions:
n Attributes - Select a user attribute from the drop-down list, or enter an attribute.
n Value - Enter a value to compare to the entry's attribute. Use the same type and format
as the actual user attribute. For example, if Attribute is fw1expiration-date, then Value
must be in the yyyymmdd syntax.
n Free Form - Enter your own query expression. See RFC 1558 for information about the
syntax of User Directory (LDAP) query expressions.
n Add - Appends the condition to the query (in the text box to the right of Search
Method).
Example of a Query
n Attributes=mail
n Contains
n Value =Andy
filter:(&(|(objectclass=fw1person)(objectclass=person)
(objectclass=organizationalPerson)(objectclass=inetOrgPerson))
(|(cn=Brad)(mail=*Andy*)))
The Security Management server and the gateways can work with multiple LDAP servers
concurrently. For example, if a gateway needs to find user information, and it does not know
where the specified user is defined, it queries all the LDAP servers in the system. (Sometimes a
gateway can find the location of a user by looking at the user DN, when working with certificates.)
User Directory
Deploying User Directory
User Directory integrates the Security Management Server and an LDAP server and lets the
Security Gateways use the LDAP information.
Item Description
2 Internet
3 Security Gateway - Queries LDAP user information, retrieves CRLs, and does bind
operations for authentication
Note - You cannot use the SmartConsole User Database when the User
Directory LDAP server is enabled.
4. Click OK .
5. In the Gatew ays & Servers view (Ctrl+1), open the Security Management Server object
for editing
6. On General Properties page, Management tab, select Netw ork Policy Management
and User Directory .
7. Click OK .
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
Blade , 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.
1. n Create : In the Objects tab, click New > More > Server > LDAP Account unit .
n Edit : In SmartConsole, open the Object Explorer (press the CTRL+E keys) > Servers >
LDAP Account Units > Right-click the LDAP Account Unit and select Edit .
n General
Configure how the Security Management Server uses the Account Unit
l 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)
l Prefix - Prefix for non-Active Directory servers, when the same user name is
used in multiple Account Units
n Servers
Manage LDAP servers that are used by this Account Unit. You can add, edit, or
delete LDAP server objects.
a. To add a new server, click Add. To edit an existing one, select it from the table
and click Edit .
i. Click New .
ii. In the New Host window opens, enter the settings for the LDAP server.
iii. Click OK .
f. Click OK .
b. Click Remove .
If all the configured servers use the same login credentials, you can modify those
simultaneously.
c. Click OK .
n Objects Management
Configure the LDAP server for the Security Management Server to query and the
branches to use
a. From the Manage objects on drop-down menu, select the LDAP server
object.
The Security Management Server queries and shows the LDAP branches.
l To add a branch, click Add and in the LDAP Branch Definition window
that opens, enter a new Branch Path
l To edit a branch, click Edit and in the LDAP Branch Definition window
that opens, modify the Branch Path
d. Select Prompt for passw ord w hen opening this Account Unit , if
necessary (optional).
e. Configure the number of Return entries that are stored in the LDAP
database (the default is 500).
n Authentication
Configure the authentication scheme for the Account Unit. These are the
configuration fields in the Authentication tab:
l 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)
l Users' default values - The default settings for new LDAP users:
l IKE pre-shared secret encryption key - Pre-shared secret key for IKE users
in this Account Unit
3. Click OK .
1. From the Manage objects on drop-down menu, select the LDAP server object.
The Security Management Server queries and shows the LDAP branches.
n To add a branch, click Add and in the LDAP Branch Definition window that opens,
enter a new Branch Path
n To edit a branch, click Edit and in the LDAP Branch Definition window that opens,
modify the Branch Path
4. Select Prompt for passw ord w hen opening this Account Unit , if necessary (optional).
5. Configure the number of Return entries that are stored in the LDAP database (the default
is 500).
1. On the LDAP Account Unit Properties > Servers tab, double-click a server.
n Login DN
n Password
3. On the Encryption tab, you can change the encryption settings between Security
Management Server / Security Gateways and LDAP server.
If the connections are encrypted, enter the encryption port and strength settings.
Item Description
3 Security Gatew ay . Queries user data and retrieves CRLs from nearest User Directory
server replication (2).
4 Internet
5 Security Gatew ay . Queries user data and retrieves CRLs from nearest User Directory
server replication (6).
With multiple replications, define the priority of each LDAP server in the Account Unit. Then you
can define a server list on the Security Gateways.
Select one LDAP server for the Security Management Server to connect to. The Security
Management Server can work with one LDAP server replication. All other replications must be
synchronized for standby.
3. Add the LDAP servers of this Account Unit in the order of the priority that you want.
The Security Management Server and Security Gateways can use certificates to secure
communication with LDAP servers. If you do not configure certificates, the management server,
Security Gateways, and LDAP servers communicate without authentication.
1. On each Account Unit, to which you want to authenticate with a certificate, set the ldap_
use_cert_auth attribute to true:
b. In the left pane, browse to Table > Managed Objects > servers.
d. In the bottom pane, search for the ldap_use_cert_auth attribute, and set it to
true .
2. Log in to SmartConsole.
3. Add a CA object:
a. From the Objects Bar (F11), click New > More > Server > More > Trusted CA .
4. For all necessary network objects (such as Security Management Server, Security
Gateway, Policy Server) that require certificate-based User Directory connections:
a. On the IPSec VPN page of the network object properties, click Add in the
Repository of Certificates Available list.
5. Test connectivity between the Security Management Server and the LDAP Server. See
"Account Units" on page 98.
In SmartConsole, users and user groups in the Account Unit show in the same tree structure as
on the LDAP server.
n To see User Directory users, open Users and Administrators. The LDAP Groups folder
holds the structure and accounts of the server.
n You can change the User Directory templates. Users associated with this template get the
changes immediately. If you change user definitions manually in SmartConsole, the changes
are immediate on the server.
SmartDashboard opens.
The Security Management Server queries the LDAP server and SmartDashboard shows
the LDAP objects.
1. In SmartConsole, open Object Categories > New > More > Users > LDAP group.
2. In the New LDAP Group window that opens, select the Account Unit for the User
Directory group.
n Only Group in branch - Users in the branch with the specified DN prefix
5. Click OK .
Examples
n If the User objects for managers in your organization have the object class
"myOrgManager", define the Managers group with the filter:
objectclass=myOrgManagers
n If users in your organization have an e-mail address ending with us.org.com, you can
define the US group with the filter:mail=*us.org.com
Access Roles
Access role objects let you configure network access according to:
n Networks
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.
1. In the object tree, click New > More > Users > Access Role .
n Specific netw orks - For each network, click and select the network from the list
n Any user
n Specific users/groups - For each user or user group, click and select the user or
the group from the list
n Any machine
n Specific machines - For each machine, click and select the machine from the
list
8. In the Remote Access Clients pane, select the clients for remote access.
9. Click OK .
Identity Awareness engine automatically recognizes changes to LDAP group membership and
updates identity information, including access roles. For more, see the R80.40 Identity
Awareness Administration Guide.
Authentication Rules
2. Define an access role for networks, users and user groups, and computers and computer
groups. See "Access Roles" on page 107.
3. Make the authentication rules with the access roles in the Source.
For background information about the authentication methods, see Authentication Methods for
Users and Administrators.
Check Point password is a static password that is configured in SmartConsole. For administrators,
the password is stored in the local database on the Security Management Server. For users, it is
stored on the local database on the Security Gateway. No additional software is required.
2. Click New .
6. Click Set New Passw ord, type the Passw ord, and Confirm it.
8. Click OK .
OS Password is stored on the operating system of the computer on which the Security Gateway
(for users) or Security Management Server (for administrators) is installed. You can also use
passwords that are stored in a Windows domain. No additional software is required.
2. Click New .
7. Click OK .
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.
Click Objects > More Object Types > Server > More > New RADIUS.
b. Click New and create a New Host with the IP address of the RADIUS server.
c. Click OK .
d. Make sure that this host shows in the Host field of the Radius Server Properties
window.
e. In the Shared Secret field, type the secret key that you defined previously on the
RADIUS server.
f. Click OK .
b. Click New .
c. Give the administrator the name that is defined on the RADIUS server.
g. Click OK .
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
Authentication Manager (AM) 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 AM.
Using SecurID, the Security Gateway forwards authentication requests by remote users to the AM.
For administrators, it is the Security Management Server that forwards the requests. The AM
manages the database of RSA users and their assigned hard or soft tokens. The gateway or the
Security Management Server act as an AM agent and direct all access requests to the RSA RM for
authentication. For additional information on agent configuration, refer to RSA Authentication
Manager documentation.
There are no specific parameters required for the SecurID authentication method. Authentication
requests can be sent over SDK-supported API or through REST API.
To configure the Security Management Server for SecurID (this procedure is only relevant if you
are using an SDK-supported API)
If the /var/ace/ directory does not exist, create it with this command:
mkdir -v /var/ace/
1. In SmartConsole, click Objects > More Object Types > Server > More > New SecurID.
b. This step is relevant for SDK-supported API only: Click Brow se and select the
sdconf.rec file. This must be a copy of the file that is on the Security Management
Server.
c. Click OK .
b. Click New .
These instructions show how to configure a TACACS server for SmartConsole administrators. To
learn how to configure a TACACS server, refer to the vendor documentation.
1. In SmartConsole, click Objects > More Object Types > Server > More > New TACACS.
b. Click New and create a New Host with the IP address of the TACACS server.
c. Click OK .
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 .
b. Click New .
c. Give the administrator the name that is defined on the TACACS server.
g. Click OK .
Note - This administrator can only use the API for executing API commands and
cannot be used for SmartConsole authentication.
b. Save the key for a later use (provide it to the relevant administrator).
6. Click OK
Example
This example demonstrates how to use the API-key for login and creating a simple-gateway
using the API.
2. Use the previously generated key for the login, and save the standard output to a file
(redirect it to a file using the ">" sign):
Syntax:
Example:
Syntax:
Example:
For more details, see the Check Point Management API Reference.
We recommend that you create administrator accounts in SmartConsole, with the procedure
below or with the First Time Configuration Wizard.
If you create it through the SmartConsole, you can choose one of these authentication methods:
Authentication
Description
Method
Authentication
Description
Method
OS Passw ord OS Password is stored on the operating system of the computer on which
the Security Gateway (for users) or Security Management Server (for
administrators) is installed.
You can also use passwords that are stored in a Windows domain.
No additional software is required.
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 Authentication Manager (AM) 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 AM.
Using SecurID, the Security Gateway forwards authentication requests by
remote users to the AM. For administrators, it is the Security Management
Server that forwards the requests. The AM manages the database of the
RSA users and their assigned hard or soft tokens. The gateway or the
Security Management Server act as an AM Agent and direct all access
requests to the RSA AM for authentication. For additional information on
agent configuration, refer to the RSA Authentication Manager
documentation.
There are no specific parameters required for the SecurID authentication
method.
Authentication
Description
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.
Note - If you do not do this, the administrator will not be able to log in to
SmartConsole.
In the Authentication Method section, select a method and follow the instructions in
Configuring Authentication Methods for Administrators.
In the Certificate Information section, click Create , and follow the instructions in Creating
a Certificate for Logging in to SmartConsole.
5. Select a Permissions profile for this administrator, or create a new one (see "Creating,
Changing, and Deleting an Administrator Account" on page 116)
The default expiration date shows, as defined in the Default Expiration Settings. After the
expiration date, the account is no longer authorized to access network resources and
applications.
7. Optional: Configure Additional Info - Contact Details, Email and Phone Number of the
administrator.
8. Click OK .
We do not recommend creating an administrator with cpconfig, the Check Point Configuration
Tool. Use it only if there is no access to SmartConsole or the Gaia Portal. If you use cpconfig to
create an administrator:
The authentication credentials for the administrator can be one of the supported authentication
methods, or a certificate, or the two of them.
You can create a certificate file in SmartConsole. The administrator can use this file to log in to
SmartConsole using the Certificate File option. The administrator must provide the password for
the certificate file.
You can import the certificate file to the CryptoAPI (CAPI) certificate repository on the Microsoft
Windows SmartConsole computer. The administrator can use this stored certificate to log in to
SmartConsole using the CAPI Certificate option. The SmartConsole administrator does not need to
provide a password.
2. Enter a password.
3. Click OK .
The certificate file is in the PKCS #12 format, and has a .p12 extension.
Note - Give the certificate file and the password to the SmartConsole
administrators. The administrator must provide this password when logging
in to SmartConsole with the Certificate File option.
1. Click Manage & Settings > Permissions and Administrators > Advanced.
2. Click Advanced.
n Never expires
n Expire after - Enter the number of days, months, or years (from the day the
account is made) before administrator accounts expire
3. In the Idle Timeout area , select Perform logout after being idle .
To learn about permission profiles for Multi-Domain Security Management administrators, see
the R80.40 Multi-Domain Security Management Administration Guide.
These are the predefined, default permission profiles. You cannot change or delete the default
permission profiles. You can clone them, and change the clones:
n Super User - Full Read and Write Permissions, including managing administrators and
sessions.
3. In the Permissions section, select another Permission Profile from the list.
4. Click OK .
3. In the Profile configuration window that opens change the settings as needed.
4. Click Close .
n Auditor (Read Only All) - Administrators can see all information but cannot make
changes
5. Click OK .
Permissions:
Some features have Read and Write options. If the feature is selected:
n Read - The administrator has the feature but cannot make changes.
n Write - The administrator has the feature and can make changes.
1. In the Profile object, in the Overview > Permissions section, select Customized.
n Monitoring and Logging - configure permissions to generate and see logs and to
use monitoring features (see "Configuring Permissions for Monitoring, Logging,
Events, and Reports" on page 126).
4. Click OK .
To do this, assign a permission profile to the Layer. The permission Profile must have this
permission: Edit Layer by the selected profiles in a layer editor .
An administrator that has a permission profile with this permission can manage the Layer.
Work flow
1. In the Profile object, in the Access Control > Policy section, select Edit Layer by the
selected profiles in a layer editor .
2. Click OK .
3. Select a Layer.
4. Click Edit .
6. Click +
8. Click OK .
9. Click Close .
n Access Control
To edit a Layer, a user must have permissions for all Software Blades in the Layer.
l Actions
o Install Policy - Install the Access Control Policy on Security Gateways.
o Application & URL Filtering Update - Download and install new packages of
applications and websites, to use in access rules.
n Threat Prevention
l Actions
o Install Policy - Install the Threat Prevention Policy on Security Gateways.
o IPS Update -Download and install new packages for IPS protections.
n Monitoring
n Management Logs
n Track Logs
l SmartEvent
o Events - views in SmartConsole > Logs & Monitor
o Policy - SmartEvent Policy and Settings on SmartEvent GUI.
o Reports - in SmartConsole > Logs & Monitor
Trusted Client
Description
Definition
IPv4 Netmask Hosts with IPv4 addresses in the subnet defined by the specified IPv4
address and netmask
IPv6 Netmask Hosts with IPv6 addresses in the subnet defined by the specified IPv6
address and netmask
Wild cards (IP only) Hosts with IP addresses described by the specified regular expression
Administrators with Super User permissions can add, edit, or delete trusted clients in
SmartConsole.
2. Click New .
n IPv4 Address Range - Enter the first and the last address of an IPv4 address range
n IPv6 Address Range - Enter the first and the last address of an IPv6 address range
n Wild cards (IP only) - Enter a regular expression that describes a set of IP
addresses
5. Click OK .
3. In the Trusted Client configuration window that opens, change the settings as needed.
4. Click OK .
Note - Administrators can also configure the GUI Clients in the Check Point
Configuration Tool on the Security Management Server (see "cpconfig" on
page 439).
n The number of minutes before SmartConsole unlocks the administrator's account after it
was locked.
To unlock an administrator:
Or:
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.
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.
3. Enter a description.
4. Click OK .
To discard a session
To see session information, click Manage & Settings > Sessions > View Sessions.
Actions available to administrators on private sessions are determined by the Manage Sessions
permission on their profile.
n Publish and discard their own n Publish and discard their own sessions
sessions n See sessions opened by other administrators,
n See sessions opened by other the number the locks they have and number
administrators, the number the changes they have made
locks they have and number of n Publish & Disconnect the private sessions of
changes they have made other administrators
n Take over sessions created by n Disconnect & Discard the private sessions
applications, for example sessions of other administrators
created by the API command line n Disconnect another administrator's private
tool session
n Take over sessions created by applications,
for example sessions created by the API
command line tool
n 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.
n Publish & Disconnect the private sessions of
other administrators. The action applies to
both SmartConsole sessions and command
line API sessions.
n Disconnect the private session of other
administrators
n Discard & Disconnect the private session of
other administrators
Use Case
Suppose you are making changes in a private session and are asked to solve some immediate
problem. The task involves making a change and publishing it. You do not wish to publish or
discard your current private session.
You open a new private session, make the change required resolve the issue, publish the change,
then return to your previous private session.
To do this, you need to work with multiple sessions. To switch on multiple sessions, you need the
Manage Sessions permission selected on your administrator profile.
2. Make sure the Manage Sessions permission is selected on the Management page.
3. Open SmartConsole > Manage & Settings View > Sessions > Advanced.
4. Select Each administrator can manage multiple SmartConsole sessions at the same
time .
n Open and manage multiple sessions to the Security Management Server using the same
administrator account
After multiple sessions are enabled, the SmartConsole Session menu has these new options:
Option Description
Option Description
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.
n Sessions shown in this window are owned by the current user in the
current domain.
n The Open Session > Actions menu has options to open a saved session in
the current SmartConsole or open the session in a new SmartConsole.
When multiple sessions are enabled, you can perform these additional actions:
For sessions owned by other administrators that have made n Publish and Disconnect
private changes their changes
n Discard and
Disconnect
n Disconnect
n Take over their
changes
Notes:
If the session management settings switch from multiple SmartConsole sessions to allow only a
single SmartConsole session at a time:
n Administrators can still publish, discard and open sessions that they own.
n Cannot create new sessions until they have published or discarded all their unpublished
sessions with private sessions
n Cannot take over the sessions of other administrators or applications (for example sessions
created with API commands in the mgmt_cli utility) until they have published or discarded
all their previously saved private sessions.
Managing Gateways
This section describes how to create, update, and manage Security Gateways, and to use Secure
Internal Communication (SIC) methods for Check Point platforms and products to authenticate
each other.
To install security policies on the Security Gateway, configure the gateway objects in
SmartConsole.
The Check Point Gatew ay properties window opens and shows the General Properties
screen.
4. Enter the host Name and the IPv4 Address or IPv6 Address.
5. Click Communication .
6. Select a Platform.
7. In the Authentication section, enter and confirm the One-time passw ord.
If you selected Small Office Appliance platform, make sure Initiate trusted
communication automatically w hen the Gatew ay connects to the Security
Management Server for the first time is selected.
8. Click Initialize to establish trusted communication with the gateway (see "Creating a New
Security Gateway" above).
9. Click OK .
10. The Get Topology Results window that opens, shows interfaces successfully configured on
the gateway.
12. In the Platform section, select the Hardw are , the Version , and the OS.
If trust is established between the server and the gateway, click Get to automatically
retrieve the information from the gateway.
For some of the Software Blades a first-time setup wizard will open. You can run the wizard
now or later. For more on the setup wizards, see the relevant Administration Guide.
A warning window asks if you want to overwrite the existing Topology and Anti-Spoofing
settings.
5. Click Yes.
7. Click Accept .
8. Click OK .
5. Click OK .
This default update value is configured in SmartConsole > Preferences and set to one second.
The value set here applies to all internal interfaces for all gateways in the Domain.
3. Select Use custom update time (seconds) and set the applicable update time.
4. Click OK .
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 Netw ork 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.
n Certificates.
Gateways above R71 use AES128 for SIC. If one of the gateways is below R71, the gateways
use 3DES.
SIC creates trusted connections between gateways, management servers and other Check Point
components. Trust is required to install polices on gateways and to send logs between gateways
and management servers.
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
3. In the Communication window, enter the Activation Key that you created during
installation of the gateway.
4. Click Initialize .
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:
n Unknow n - There is no connection between the gateway and Security Management Server.
n 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.
2. Click Communication .
This deploys the updated CRL to all gateways. If you do not have a Rule Base (and therefore
cannot install a policy), you can reset Trust on the gateways.
Troubleshooting SIC
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
If you install a certificate on a gateway that has the Mobile Access Software Blade already
enabled, you must install the policy again. Otherwise, remote users will not be able to reach
network resources.
2. Enter: cpconfig
3. Enter the number for Secure Internal Communication and press Enter.
4. Enter y to confirm.
In SmartConsole:
2. In the Trusted Communication window, enter the one-time password (activation key)
that you entered on the gateway.
3. Click Initialize .
5. Click OK .
n VPN certificates for gatew ays - Authentication between members of the VPN community,
to create the VPN tunnel.
n Users - For strong methods to authenticate user access according to authorization and
permissions.
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:
n 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.
n SmartConsole - SIC certificates for Security Gateways and administrators, VPN certificates,
and user certificates.
n ICA Management tool - VPN certificates for users and advanced ICA operations.
See audit logs of the ICA in SmartConsole Logs & Monitor > New Tab > Open Audit Logs View .
validity 5 years
To learn more about key size values, see RSA key lengths.
Step Description
Step Description
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:
The possible values for the Software Blade License Status are:
Status Description
Available The Software Blade is not active, but the license is valid.
About to The Software Blade is active, but the license will expire in thirty days (default)
Expire or less (7 days or less for an evaluation license).
Quota The Software Blade is active, and the license is valid, but the quota of related
Exceeded objects (gateways, files, virtual systems, and so on, depending on the blade) is
exceeded.
Quota The Software Blade is active, and the license is valid, but the number of objects
Warning of this blade is 90% (default) or more of the licensed quota.
Notes:
To make sure that your environment is synchronized with the User Center, even when the
Security Management Server is not connected to the Internet, we recommend that you configure a
Check Point server with Internet connectivity as a proxy.
In SmartConsole, you can see this information for most Software Blade licenses:
n License status
n Alerts
See the R80.40 Release Notes for a list of supported Software Blades
Step Description
1 In SmartConsole, from the left navigation panel, click Gatew ays & Servers.
Column Description
Step Description
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:
The possible values for the Software Blade License Status are:
Status Description
Available The Software Blade is not active, but the license is valid.
About to The Software Blade is active, but the license will expire in thirty days (default) or
Expire less (7 days or less for an evaluation license).
Quota The Software Blade is active, and the license is valid, but the quota of related
Exceeded objects (gateways, files, virtual systems, and so on, depending on the blade) is
exceeded.
Quota The Software Blade is active, and the license is valid, but the number of objects of
Warning this blade is 90% (default) or more of the licensed quota.
Option Description
License To see and export license information for Software Blades on each specific
Status view Security Management Server, gateway, or Log Server object.
License To see, filter and export license status information for all configured Security
Status Management Server, gateway, or Log Server objects.
report
License To see, filter and export license information for Software Blades on all
Inventory configured Security Management Server, gateway, or Log Server objects.
report
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 Gatew ays & Servers view of SmartConsole
without enabling the SmartEvent blade on Security Management Server..
The Gateways & Servers view in SmartConsole lets you see and export the Lice n se In ve n tory
report.
Step Description
1 View the License Inventory report from the Gateways & Servers view:
1. In SmartConsole, from the left navigation panel, click Gatew ays & Servers.
2. From the top toolbar, click Actions > License Report .
3. Wait for the SmartView to load and show this report.
By default, this report contains:
n Inventory page: Blade Names, Devices Names, License Statuses
n License by Device page: Devices Names, License statuses, CK, SKU, Account
ID, Support Level, Next Expiration Date
2 Export the License Inventory report from the Gateways & Servers view:
The Logs & Monitor view in SmartConsole lets you see, filter and export the Lice n se Statu s
report.
Step Description
1 View License Status report from the Logs & Monitor view:
1. In SmartConsole, from the left navigation panel, click Logs & Monitor
2. At the top, open a new tab by clicking New Tab, or [+].
3. In the left section, click View s.
4. In the list of reports, double-click License Status.
5. Wait for the SmartView to load and show this report.
By default, this report contains:
n Names of the configured objects, License status for each object, CK, SKU,
Account ID, Support Level, Next Expiration Date
Step Description
2 Filter the License Status report in the Logs & Monitor view:
1. In the top right corner, click the Options button > View Filter .
The Edit View Filter window opens.
2. Select a Field to filter results. For example, Device Name , License Status,
Account ID.
3. Select the logical operator - Equals, Not Equals, or Contains.
4. Select or enter a filter value.
Note - Click the X icon to delete a filter.
5. Optional: Click the + icon to configure additional filters.
6. Click OK to apply the configured filters.
The report is filtered based on the configured filters.
3 Export the License Status report in the Logs & Monitor view:
The Logs & Monitor view in SmartConsole lets you see, filter and export the Lice n se In ve n tory
report.
Step Description
1 View the License Inventory report from the Logs & Monitor view:
1. In SmartConsole, from the left navigation panel, click Logs & Monitor
2. At the top, open a new tab by clicking New Tab, or [+].
3. In the left section, click Reports.
4. In the list of reports, double-click License Inventory .
5. Wait for the SmartView to load and show this report.
By default, this report contains:
n Inventory page: Blade Names, Devices Names, License Statuses
n License by Device page: Devices Names, License statuses, CK, SKU, Account
ID, Support Level, Next Expiration Date
Step Description
2 Filter the License Inventory report in the Logs & Monitor view:
1. In the top right corner, click the Options button > Report Filter .
The Edit Report Filter window opens.
2. Select a Field to filter results. For example, Blade Name , Device Name , License
Overall Status, Account ID.
3. Select the logical operator - Equals, Not Equals, or Contains.
4. Select or enter a filter value.
Note - Click the X icon to delete a filter.
5. Optional: Click the + icon to configure additional filters.
6. Click OK to apply the configured filters.
The report is filtered based on the configured filters.
3 Export the License Inventory report in the Logs & Monitor view:
You can deploy a Recommended Jumbo Hotfix Accumulator or a specific Jumbo Hotfix
Accumulator take.
You can find the name of the specific Jumbo Hotfix Accumulator in the relevant SK article for the
applicable version.
Notes:
Prerequisites
This table shows the Jumbo Hotfix Accumulator takes which are required to install the
recommended Jumbo Hotfix Accumulator.
n The version of the installed Security Management Server must be R80.40 or higher.
n The Security Management Server and target Security Gateways must be able to connect to
the Check Point cloud.
Limitations
Only recommended and on-going Jumbo Hotfix Accumulators Takes made available in the Check
Point update servers are supported.
n VSX.
l A Standalone server.
3. Validate - This process makes sure that the package is available for download from
Check Point servers.
4. Verify - the process of verification is making sure that the selected Jumbo Hotfix
Accumulator Take can be installed on the target Security Gateways. The verification
process checks if other installed Hotfixes are not overridden and that enough free disk
space is available for the process to complete.
Alternatively, right-click the Gatew ays & Servers view > Actions ( ) > Install Hotfix.
The Install Hotfix window opens, and shows Information about the selected targets and
their corresponding recommended Jumbo Hotfix Accumulators.
Or
a. Copy the Jumbo Hotfix Accumulator file name from the applicable SK article
and paste it in the Install Specific Hotfix text box.
b. Click Validate
5. Click Verify - The Install Hotfix window is minimized and the verification process starts.
a. To see the progress of the verification process open the Tasks view at the bottom
left corner of SmartConsole and click Details:
6. Click Install.
Managing Objects
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:
n What are the physical components of your network: devices, hosts, gateways and their
active Software Blades?
n 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:
Data Types International Bank Account Number - IBAN, HIPAA - Medical Record
Number - MRN, Source Code.
Note - Do not create two objects with the same name. A validation error shows
when you try to publish the SmartConsole session. To resolve, change one of
the object names.
To work with objects, right-click the object in the object tree or in the Object Explorer, and select
the action.
You can delete objects that are not used, and you can find out where an object is used.
To clone an object
1. In the object tree or in the Object Explorer, right-click the object and select Clone .
3. Click OK .
In the object tree or in the Object Explorer, right-click the object and select Where Used.
1. In the object tree or in the Object Explorer, right-click the object and select Where Used.
4. Click Replace .
1. In the object tree or in the Object Explorer, right-click the object and select Where Used.
4. Click Replace .
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:
Each tag has a name and a value. The value can be static, or dynamically filled by detection
engines.
2. In the Add Tag field, enter the label to associate with this object.
3. Press Enter .
The new tag shows to the right of the Add Tag field.
4. Click OK .
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 can be used
to facilitate and simplify network management. When you have the same set of objects which you
want to use in different places in the Rule Base, you can create a group to include such set of
objects and reuse it. Modifications are applied to the group instead of to each member of the
group.
Groups are also used where SmartConsole lets you select only one object, but you need to work
with more than one. For example, in the gateway editor > Netw ork Management > VPN
Domain > Manually defined, you can only select on object from the drop-down menu. If you
want to select more than one object for your VPN Domain, you can create a group, add the
required objects to the group, and select the group from the drop-down menu.
n Object comment
n Color
4. For each network object you want to add, click the [+] sign and select it from the list that
shows.
5. Click OK .
From version R80.20.M2, you can also associate groups to a network object directly from the
object editor.
2. For each group you want to add, click the [+] sign and select it from the list that shows.
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.
Gateway Cluster
A gateway cluster is a group of Security Gateways defined as one logical object. 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 updatable objects in all three types of policies: Access Control,
Threat Prevention and HTTPS Inspection. You can use an updatable object in the Access Control,
Threat Prevention or the HTTPS Inspection policy as a source or a destination. In the Threat
Prevention policy, you can also use an updatable object as the protected scope.
These are the currently supported external services for updatable objects:
n 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 - For Access Control, this feature is supported for R80.20 and above gateways. For Threat
Prevention and HTTPS Inspection, this feature is supported for R80.40 and above gateways.
1. Make sure the Security Management Server and the Security Gateway have access to the
Check Point cloud.
4. In the Destination column, click the + sign and select Import > Updatable Objects.
5. Select the objects to add. For this use case, select the Exchange Services object.
6. Click OK .
7. Install policy.
Services &
No Name Source Destination VPN Action Track
Applications
You can monitor the updates in the Logs & Monitor Logs view.
Note - This feature is only supported for R80.20 and above gateways.
1. Open Object Explorer > New > More > Netw ork Object > Wildcard object .
2. Enter the Wildcard IP address and Wildcard Netmask in IPv4 or IPv6 Format.
3. Click OK .
The wildcard netmask is the mask of bits that indicate which parts of the IP address must match
and which do not have to match. For example:
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
Binary Decimal
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
n 194.29.0.1
n 194.29.1.1
n 192.29.2.1
n 194.29.3.1
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.
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
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
In binary:
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:
A wildcard object that represents all the European stores will look like this:
The administrator can now use these wildcard objects in the Access Control Policy:
Scenario Three
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
IP
Binary Comment
Address
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.
n 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.
n 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.comand 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.
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 Security Gateways R80.10 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.
For example, in the diagram, we have three Security Zones for a typical network: ExternalZone (1),
DMZZone (2) and InternalZone (3).
n 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).
n 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 (see "Predefined Security
Zones" on the next page ).
2. Assign Gateway interfaces to Security Zones (see "Creating and Assigning Security Zones "
below ).
3. Use the Security Zone objects in the Source and Destination of a rule. For example:
4. Install the Access Control Policy (see "Creating an Access Control Policy" on page 179).
Before you can use Security Zones in the Rule Base, you must assign Gateway interfaces to
Security Zones.
1. In the Objects bar (F11), click New > More > Netw ork Object > Security Zone .
4. Click OK .
1. In the Gatew ays & Servers view, right-click a Security Gateway object and select Edit .
2. In the Netw ork Management pane, right-click an interface and select Edit .
The Interface window opens. The Topology area of the General pane shows the Security
Zone to which the interface is already bound. By default, the Security Zone is calculated
according to where the interface Leads To.
3. Click Modify .
4. In the Security Zone area, click User Defined and select Specify Security Zone .
6. Click OK .
These are the predefined Security Zones, and their intended purposes:
n WirelessZone - Networks that can be accessed by users and applications with a wireless
connection.
n ExternalZone - Networks that are not secure, such as the Internet and other external
networks.
A DMZ lets external users and applications access specific internal servers, but prevents the
external users accessing secure company networks. Add rules to the firewall Rule Base that
allow traffic to the company DMZ. For example, a rule that allows HTTP and HTTPs traffic to
your web server in the DMZ.
n InternalZone - Company networks with sensitive data that must be protected and used
only by authenticated users.
Interoperable Devices
An Interoperable Device is a device that has no Check Point Software Blades Software Blades
installed. The Interoperable Device:
VoIP Domains
There are five types of VoIP Domain objects:
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, see the R80.40 VoIP Administration Guide.
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.
Balance Method
The load balancing algorithm stipulates how the traffic is balanced between the servers. There
are several types of balancing methods:
n Server Load - The Security Gateway determines which Security Management Server is best
equipped to handle the new connection.
n 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.
n Round Robin - the new connection is assigned to the first available server.
The Security Management Server generates Access Lists from the Security Policy and downloads
them to selected routers and open security device. Check Point supports these devices:
The Check Point Rule Base must not have these objects. If it does, the Security Management
Server will not generate Access Lists.
n Encrypt (Action)
n Alert (Action)
n RPC (Service)
n ACE (Service)
n Authentication Rules
n Negate Cell
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.
3. Enter the general properties (see "OSE Device Properties Window - General Tab" below ).
We recommend that you also add the OSE device to the host lists on other servers: hosts
(Linus) and lmhosts (Windows).
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 (see "Anti-
Spoofing Parameters and OSE Devices Setup (Cisco)" below ).
n Name - The name of the OSE device, as it appears in the system database on the server.
n Comment - Text to show on the bottom of the Netw ork Object window when this object is
selected.
n Color - Select a color from the drop-down list. The OSE device will be represented in the
selected color in SmartConsole, for easier tracking and management.
For Cisco (Version 10.x and higher) devices, you must specify the direction of the filter rules
generated from anti-spoofing parameters. The direction of enforcement is specified in the Setup
tab of each router.
For Cisco routers, the direction of enforcement is defined by the Spoof Rules Interface
Direction property.
Access List No - The number of Cisco access lists enforced. Cisco routers Version 12x and below
support an ACL number range from 101-200. Cisco routers Version 12x and above support an ACL
range number from 101-200 and also an ACL number range from 2000-2699. Inputting this ACL
number range enables the support of more interfaces.
Passw ord - The Administrator password (Read only) as defined on the router.
Version - The Cisco OSE device version (9.x, 10.x, 11.x, 12.x).
OSE Device Interface Direction - Installed rules are enforced on data packets traveling in this
direction on all interfaces.
Spoof Rules Interface Direction - The spoof tracking rules are enforced on data packets
traveling in this direction on all interfaces.
Managing Policies
SmartConsole offers a number of tools that address policy management tasks, both at the
definition stage and for maintenance.
n Policy Packages let you group different types of policies, to be installed together on the same
installation targets.
n 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.
n Search gives versatile search capabilities for network objects and the rules in the Rule Base.
n Database version control lets you track past changes to the database.
l Firewall
l NAT
l Content Awareness
n Desktop Security - the Firewall policy for endpoint computers that have the Endpoint
Security VPN remote access client installed as a standalone client.
l Anti-Virus - Includes heuristic analysis, stops viruses, worms, and other malware at
the gateway
n HTTPS Inspection - Consists of rules to inspect traffic encrypted by the Transport Layer
Security (TLS) protocol between internal browser clients and web servers.
n Runs a heuristic verification on rules to make sure they are consistent and that there are no
redundant rules.
If there are verification errors, the policy is not installed. If there are verification warnings
(for example, if anti-spoofing is not enabled for a Security Gateway with multiple interfaces),
the policy package is installed with a warning.
n Makes sure that each of the Security Gateways enforces at least one of the rules. If none of
the rules are enforced, the default drop rule is enforced.
n Distributes the user database and object database to the selected installation targets.
You can create different policy packages for different types of sites in an organization.
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:
5 Internet
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:
n 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.
n A policy package that includes the QoS policy type for the QoS blade on gateway that
manages bandwidth.
n A policy package that includes the Desktop Security Policy type for the gateway that
handles Mobile Access.
2. Click New .
4. In the General page > Policy types section, select one or more of these policy types:
n Threat Prevention
n Desktop Security
To see the QoS, and Desktop Security policy types, enable them on one or more
Gateways:
Go to gateway editor > General Properties > Netw ork Security tab:
n For Desktop Security, select IPSec VPN and Policy Server Pol
5. On the Installation targets page, select the gateways the policy will be installed on:
n Specific gatew ays - For each gateway, click the [+] sign and select it from the list.
To install Policy Packages correctly and eliminate errors, each Policy Package is associated
with a set of appropriate installation targets.
6. Click OK .
7. Click Close .
4. On the General > Policy types page, select the policy type to add:
n Threat Prevention
n Desktop Security
5. Click OK .
The Install Policy window opens and shows the installation targets (Security Gateways).
3. Select one or more policy types that are available in the package.
Note - If you select For Gatew ay clusters install on all the members, if fails do
not install at all, the Security Management Server makes sure that it can install
the policy on all cluster members before it begins the installation. If the policy
cannot be installed on one of the members, policy installation fails for all of them.
n Install on all selected gatew ays, if it fails do not install on gatew ays of the
same version - Install the policy on all the target gateways. If the policy fails to
install on one of the gateways, the policy is not installed on other target gateways.
5. Click Install.
When you make changes to user definitions through SmartConsole, they are saved to the user
database on the Security Management Server. User authentication methods and encryption
keys are also saved in this database. The user database does not contain information about
users defined externally to the Security Gateway (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 Security Management
Server.
You must choose to install the policy or the user database, based on the changes you made:
n Install the policy, if you modified additional components of the Policy Package (for
example, added new Security Policy rules) that are used by the installation targets
n Install the user database, if you only changed the user definitions or the administrator
definitions - from the Menu, select Install Database
n Check Point hosts with one or more Management Software Blades enabled - during
database installation
You can also install the user database on Security Gateways and on a remote server, such as a
Log Server, from the command line interface on the Security Management Server.
For more information, see the R80.40 CLI Reference Guide - Chapter Security Management Server
Commands - Section fwm - Sub-section fwm dbload.
Note - Check Point hosts that do not have active Management Software
Blades do not get the user database installed on them.
You can uninstall a policy package through a command line interface on the gateway.
3. Run:
fw unloadlocal
Warning
For more information, see the R80.40 CLI Reference Guide - Chapter Security Gateway
Commands - Section fw - Sub-section fw unloadlocal.
n Logs - By default, shows the logs for the Current Rule. You can filter them by Source ,
Destination , Blade , Action , Service , Port , Source Port , Rule (Current rule is the
default), Origin , User , or Other Fields.
n History (Access Control Policy only) - List of rule operations (Audit logs) related to the
rule in chronological order, with the information about the rule type and the
administrator that made the change.
4. In the Logs & Monitor > Logs tab, search for the logs in one of these ways:
n Paste the Rule UID into the query search bar and press Enter.
n For faster results, use this syntax in the query search bar:
layer_uuid_rule_uuid:*_<UID>
For example, paste this into the query search bar and press Enter:
layer_uuid_rule_uuid:*_46f0ee3b-026d-45b0-b7f0-5d71f6d8eb10
In the Installation History you can choose a Gateway, a date and time when the Policy was
installed, and:
n See the revisions that were installed on the Gateway and who installed the Policy.
n See the changes that were installed and who made the changes.
2. From the Access Tools or the Threat Prevention Tools, select Installation History .
Click View .
n Content Awareness - Restrict the Data Types that users can upload or download.
n IPsec VPN and Mobile Access - Configure secure communication with Site-to-Site and
Remote Access VPN.
There is no need to manage separate Rule Bases. For example, you can define one, intuitive rule
that: Allows users in specified networks, to use a specified application, but prevents downloading
files larger than a specified size. You can use all these objects in one rule:
n Security Zones
n Services
n Applications and URLs
n Data Types
n Access Roles
n Network
n Protocol
n Application
n User
n Accessed resources
n Data Types
Column Description
Hits Number of times that connections match a rule (see "The Columns of the Access
Control Rule Base" above).
Content The data asset to protect, for example, credit card numbers or medical records.
You can set the direction of the data to Download Traffic (into the
organization), Upload Traffic (out of the organization), or Any Direction.
(see "Content Column" on page 186)
Action Action that is done when traffic matches the rule. Options include: Accept,
Drop, Ask, Inform (UserCheck message), Inline Layer, and Reject.
(see "Actions" on page 188)
Track Tracking and logging action that is done when traffic matches the rule.
(see "Tracking Column" on page 190)
Column Description
Install On Network objects that will get the rule(s) of the policy.
(see "The Columns of the Access Control Rule Base" on the previous page)
n Network
n Host
n Dynamic Objects
n Domain Objects
n Access Roles
n Updatable Objects
You can add network objects to the Source and Destination columns of the Access Control
Policy. See "Managing Objects" on page 153.
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 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 Check Point VPN solution uses these secure VPN protocols to manage encryption keys, and
send encrypted packets. IKE (Internet Key Exchange) is a standard key management protocol that
is used to create the VPN tunnels. IPsec is protocol that supports secure IP communications that
are authenticated and encrypted on private or public networks.
Check PointMobile Access lets remote users easily and securely use the Internet to connect to
internal networks. Remote users start a standard HTTPS request to the Mobile AccessSecurity
Gateway, and authenticate with one or more secure authentication methods.
The Mobile Access Portal lets mobile and remote workers connect easily and securely to critical
resources over the internet. Check Point Mobile Apps enable secure encrypted communication
from unmanaged smartphones and tablets to your corporate resources. Access can include
internal apps, email, calendar, and contacts.
To include access to Mobile Access applications in the Rule Base, include the Mobile Application
in the Services & Applications column.
To give access to resources through specified remote access clients, create Access Roles for the
clients and include them in the Source column of a rule.
To learn more about Site-to-Site VPN and Remote Access VPN, see these guides:
n Services
n Applications
n Web sites
n Custom groups or categories that you create, that are not included in the Check Point
Application Database.
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. (see "The Columns of
the Access Control Rule Base" on page 180 ).
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
Brow sing 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 configure how a rule matches an application or category that is allowed in the policy.
You can configure the rule to match the application in one of these ways:
n On any service
n On a specified service
To do this, change the Match Settings of the application or category. The application or
category is changed everywhere that it is used in the policy.
1. In a rule which has applications or categories in the Services & Applications column,
double-click an application or category.
3. Select an option:
n The default is Recommended services. The defaults for Web services are the
Application Control Web Brow sing Services.
n To match the application on specified services, click Customize , and add or remove
services.
n To match the application with all services and exclude specified services, click
Customize , add the services to exclude, and select Negate .
4. Click OK .
You can configure the matching for blocked applications so that they are matched on the
recommended services. For Web applications, the recommended services are the Application
Control Web browsing services.
If the match settings of the application are configured to Customize , the blocked application is
matched on the customized services service. It is not matched on all ports.
1. In SmartConsole, go to Manage & Settings > Blades > Application & URL Filtering >
Advanced Settings > Application Port Match
n Selected - This is the default. If an application is blocked in the Rule Base, the
application is matched to Any port.
Note - Rules with applications or categories do not apply to connections from or to the
Security Gateway.
2. To add applications to a rule, select a Layer with Applications and URL Filtering
enabled.
3. Right-click the Services & Applications cell for the rule and select Add New Items.
You can create custom applications, categories or groups, which are not included in the Check
Point Application Database.
3. Right-click the Services & Applications cell for the rule and select Add New Items.
If you used a regular expression in the URL, click URLs are defined as Regular
Expressions.
7. Click OK .
3. Right-click the Services & Applications cell for the rule and select Add New Items.
7. Click OK .
Services and Applications on R77.30 and Lower Security Gateways, and after
Upgrade
n The Firewall matches TCP and UDP services by port number. The Firewall cannot match
services by protocol signature.
When you upgrade the Security Management Server and the Security Gateways to R80 and
higher, this change of behavior occurs:
n Applications that were defined in the Application & URL FilteringRule 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 Aw areness, 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 Dow nload 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).
n Executable file
n Database file
n Document file
n Presentation file
n Spreadsheet file
To learn more about the Data Types, open the Data Type object in SmartConsole and press the ?
button (or F1 key) 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.40 Data Loss Prevention Administration Guide.
Actions
Action Meaning
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.
To see these
actions, right-
click and
select More :
Action Meaning
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:
n Inform
n Ask
n Drop
When UserCheck is enabled, the user's Internet browser shows the UserCheck messages in a new
window.
l Application Control
l URL Filtering
l Content Awareness
l Anti-Virus
l Anti-Bot
l Threat Emulation
l Threat Extraction
UserCheck on a computer
n Sends messages for applications that are not based on Internet browsers, such as Skype
and iTunes, and Internet browser add-ons and plug-ins.
n Shows a message on the computer when it cannot be shown in the Internet browser.
To learn more about UserCheck, see the R80.40 Next Generation Security Gateway Guide.
Tracking Column
These are some of the Tracking options:
n Log -This is the default Track option. It shows all the information that the Security Gateway
used to match the connection.
n 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.
To learn more about Tracking options, see the R80.40 Logging and Monitoring Administration Guide.
These example Rule Bases show how the Firewall matches connections.
Note that these Rule Bases intentionally do not follow the best practices for Access Control
Rules (see "Rule Matching in the Access Control Policy" above). This is to make the explanations of
rule matching clearer.
Services &
No Source Destination Content Action
Applications
Part of
Firewall action Inspection result
connection
SYN Run the Rule Base: Final match (drop on rule 1).
Look for the first rule Shows in the log.
that matches: The Firewall does not turn on the inspection
engines for the other rules.
n Rule 1 - Match.
Services &
No. Source Destination Content Action
Applications
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:
Part of
Firewall action Inspection result
connection
Services &
No. Source Destination Content Action
Applications
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:
Part of
Firewall action Inspection result
connection
Part of
Firewall action Inspection result
connection
n The Firewall sometimes runs the Rule Base more than one time. Each time it runs, the
Firewall optimizes the matching, to find the first rule that applies to the connection.
n If the rule includes an application, or a site, or a service with a protocol signature (in
the Application and Services column), or a Data Type (in the Content column), the
Firewall:
l Postpones making the final match decision until it has inspected the body of the
connection.
n The Firewall searches for the first rule that applies to (matches) a connection. If the
Firewall does not have all the information it needs to identify the matching rule, it
continues to inspect the traffic.
Basic Rules
Best Practice - These are basic Access Control rules we recommend for all Rule Bases:
Services &
No Name Source Destination Action Track Install On
Applications
Rule Explanation
Rule Explanation
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.
Services &
N Destinatio Conten Trac
Name Source Application Action
o n t k
s
Services &
N Destinatio Conten Trac
Name Source Application Action
o n t k
s
Services &
N Destinatio Conten Trac
Name Source Application Action
o n t k
s
Rules Explanation
Rules Explanation
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.
To learn which applications and categories have a high risk, look through the Application Wiki in
the Access Tools part of the Security Policies view. Find ideas for applications and categories to
include in your Policy.
To see an overview of your Access Control Policy and traffic, see the Access Control view in Logs
& Monitor > New Tab > View s.
Monitoring Applications
Scenario: I want to monitor all Facebook traffic in my organization. How can I do this?
3. Click one of the Add rule toolbar buttons to add the rule in the position that you choose
in the Rule Base. The first rule matched is applied.
n Services & Applications - Click the plus sign to open the Application viewer. Add
the Facebook application to the rule:
l Start to type "face" in the Search field. In the Available list, see the Facebook
application.
n Install On - Keep it as Policy Targets for or all gateways, or choose specific Security
Gateways on which to install the rule
The rule allows all Facebook traffic but logs it. You can see the logs in the Logs & Monitor
view, in the Logs tab. To monitor how people use Facebook in your organization, see the
Access Control view (SmartEvent Server required).
Scenario: I want to block pornographic sites in my organization, and tell the user about the
violation. How can I do this?
To block an application or category of applications and tell the user about the policy
violation:
The message informs users that their actions are against company policy and can
n 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.
Scenario: I want to limit my employees' access to streaming media so that it does not impede
business tasks.
If you do not want to block an application or category, there are different ways to set limits for
employee access:
n Add a Limit object to a rule to limit the bandwidth that is permitted for the rule.
n Add one or more Time objects to a rule to make it active only during specified times.
n Limits the upload throughput for streaming media in the company to 1 Gbps.
To create a rule that allows streaming media with time and bandwidth limits:
3. Click one of the Add Rule toolbar buttons to add the rule in the position that you choose
in the Rule Base.
n Action - Click More and select Action : Accept, and a Limit object.
n 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 .
Services
Sourc Destinatio and Trac Insta Tim
Name Action
e n Applicatio k ll On e
ns
Scenario: I want to allow a Remote Access application for a specified group of users and block the
same application for other users. I also want to block other Remote Access applications for
everyone. How can I do this?
If you enable Identity Awareness on a Security Gateway, you can use it together with
Application Control 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:
n You have already created an Access Role Identified_Users that represents all identified
users in the organization. You can use this to allow access to applications only for users
who are identified on the Security Gateway.
n You want to allow access to the Radmin Remote Access tool for all identified users.
n You want to block all other Remote Access tools for everyone within your organization.
You also want to block any other application that can establish remote connections or
remote control.
n Destination - Internet
n Action - Accept
n Source - Any
n Destination - Internet
n Action - Block
n Because the rule that allows Radmin is above the rule that blocks other
Remote Administration tools, it is matched first.
n The Source of the first rule is the Identified_Users access role. If you
use an access role that represents the Technical Support department,
then only users from the technical support department are allowed to
use Radmin.
n Applications are matched on their Recommended services, where
each service runs on a specific port, such as the default Application
Control Web brow sing services: http, https, HTTP_proxy, and
HTTPS_proxy. To change this see Changing Services for Applications
and Categories.
For more about Access Roles and Identity Awareness, see the R80.40 Identity Awareness
Administration Guide.
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:
l An Access Role that represents all identified users in the organization (Identified_
Users).
n You want to block sites that can cause liability issues for everyone within your
organization.
n You will create a custom group that includes Application Database categories as well as
the previously defined custom site named FreeMovies.
1. In the Object Explorer, click New > More > Custom Application/Site >
Application/Site Group.
n Select Categories, and add the ones you want to block (for example Anonymizer,
Critical Risk, and Gambling)
n Click Close
4. Click OK .
You can now use the Liability_Sitesgroup in the Access ControlRule Base.
n Destination - Internet
n Action - Drop
Services &
Name Source Destination Action Track
Applications
You can do this by creating a rule that blocks all sites with pornographic material with the
Pornography category. 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:
n You have already created an Access Role (Identified_Users) that represents all identified
users in the organization.
The procedure is similar to "Creating Application Control and URL Filtering Rules" on page 199.
You can organize the Access Control rules in more manageable subsets of rules using Ordered
Layers and Inline Layers.
n Organize the Policy into a hierarchy, using Inline Layers, rather than having a flat Rule Base.
An Inline Layer is a sub-policy which is independent of the rest of the Rule Base.
n Reuse Ordered Layers in multiple Policy packages, and reuse Inline Layers in multiple
Layers.
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:
n If the packet matches a sub rule in the Inline Layer (Rule 2.1), no more rule matching is
done.
n 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 is applied (see
"Types of Rules in the Rule Base" on page 211). 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 .
If the Action of the matching rule is Drop, the gateway stops matching against later rules in the
Policy Rule Base and drops the packet. If the Action is Accept , the gateway continues to check
rules in the next Ordered Layer.
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 is applied (see "Types of Rules in the Rule
Base" on page 211).
Every Ordered Layer has its own implicit cleanup rule. You can configure the rule to Acceptor Drop
in the Layer settings. (see "Configuring the Implicit Cleanup Rule" on page 214).
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 .
1. Create a parent rule for the Inline Layer. Make a rule that has one or more properties that
are the same for all the rules in the Inline Layer. For example, rules that have the same
source, or service, or group of users.
2. Create sub-rules for the Inline Layer. These are rules that define in more detail what to do if
the Firewall matches a connection to the parent rule. For example, each sub-rule can apply
to specified hosts, or users, or services, or Data Types.
2. In the Source , Destination , VPN , and Services & Applications cells, define the match
conditions for the Inline Layer.
3. Click the Action cell of the rule. Instead of selecting a standard action, select Inline
Layer > New Layer .
a. Enable one or more of these Blades for the rules of Inline Layer:
n Firew all
n Content Aw areness
n Mobile Access
b. Optional: It is a best practice to share Layers with other Policy packages when
possible. To enable this select Multiple policies can use this layer .
c. Click Advanced.
d. Configure the Implicit Cleanup Rule to Drop or Accept (see "Types of Rules in the
Rule Base" on page 211).
e. Click OK .
The name of the Inline Layer shows in the Action cell of the rule.
7. Make sure there is an explicit cleanup rule as the last rule of the Inline Layer. (see "Types
of Rules in the Rule Base" on page 211).
You will see a list of the Layers. You can select Show only shared Layers.
5. Optional: It is a best practice to share Layers with other Policy packages when possible.
To enable this select Multiple policies can use this layer .
6. Click OK .
7. Click Close .
2. Right-click a Layer in the Access Control Policy section and select Edit Policy .
You will see a list of the Layers that you can add. These are Layers that have Multiple
policies can use this layer enabled.
5. Click OK .
Pre-R80.10 Gateways: To create a Layer for URL Filtering and Application Control
2. Right-click a Layer in the Access Control Policy section and select Edit Policy .
The Layer Editor window opens and shows the General view.
n Ordered Layers and Inline Layers of the Policy. Here you can enable:
l Firewall. This includes VPN (see "Ordered Layers and Inline Layers" on page 205).
l Applications & URL Filtering (see "Ordered Layers and Inline Layers" on page 205).
1. In SmartConsole, go to Gatew ays & Servers and double-click the gateway object.
3. In the Netw ork Security tab, select one or more of these Access Control features:
n IPsec VPN
n Mobile Access
n Application Control
n URL Filtering
n Content Aw areness
n Identity Aw areness
4. Click OK .
The Layer Editor window opens and shows the General view.
5. Enable the Blades that you will use in the Ordered Layer:
n Firew all.
n Content Aw areness
n Mobile Access
6. Click OK .
3. In the parent rule of the Inline Layer, right-click the Action column, and select Inline
Layer > Edit Layer .
4. Enable the Blades that you will use in the Inline Layer:
n Firew all.
n Content Aw areness
n Mobile Access
Note - Do not enable a Blade that is not enabled in the Ordered Layer.
5. Click OK .
Explicit rules
The rules that the administrator configures explicitly, to allow or to block traffic based on
specified criteria.
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:
n First - Applied first, before all other rules in the Rule Base - explicit or implied
n Last - Applied last, after all other rules in the Rule Base - explicit or implied, but before the
Implicit Cleanup Rule
n 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:
n Connecting to third party application servers, such as RADIUS and TACACS authentication
servers
The default "catch-all" rule for the Layer that deals with traffic that does not match any explicit or
implied rules in the Layer. It is made automatically when you create a Layer.
For Security Gateways R80.10 and higher, the default implicit cleanup rule action is Drop. This is
because most Policies have Whitelist rules (the Accept action). If the Layer has Blacklist rules (the
Drop action), you can change the action of the implicit cleanup rule to Accept in the Layer Editor.
For Security Gateways R77.30 and lower, the action of the implicit rule depends on the Ordered
Layer:
Note - If you change the default values, the policy installation will fail on R77.30
or earlier versions Security Gateways
3. Before Last Implied Rules - Applied before the last explicit rule.
4. Last Explicit Rule - We recommend that you use a Cleanup rule as the last explicit rule.
Note - If you use the Cleanup rule as the last explicit rule, the Last
Implied Rule and the Implicit Cleanup Rule are not enforced.
5. Last Implied Rule - Remember that although this rule is applied after all other explicit and
implied rules, the Implicit Cleanup Rule is still applied last.
6. Implicit Cleanup Rule - The default rule that is applied if none of the rules in the Layer
match.
Some of the implied rules are enabled by default. You can change the default configuration as
necessary.
2. From the toolbar above the policy, select Actions > Implied Rules.
5. For the enabled rules, select the position of the rules in the Rule Base: First , Last , or
Before Last (see "Types of Rules in the Rule Base" on page 211).
In SmartConsole , from the Security Policies View, select Actions > Implied Rules.
4. Click Advanced
6. Click OK .
7. Click Close .
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:
n To change a shared rule in all of the corporation's branches, you must only make the
change once.
6. In General, select Multiple policies and rules can use this layer .
7. Click OK .
8. Click Close .
2. Right-click the required policy and click Edit . The policy properties window opens.
5. Click OK .
7. Install Policy .
For examples of Inline Layers and Ordered Layer, see "Ordered Layers and Inline Layers" on
page 205.
You can export Layer rules to a .CSV file. You can open and change the .CSV file in a
spreadsheet application such as Microsoft Excel.
2. Click Layers.
3. Select a Layer, and then click Actions > Export selected Layer .
To see the Layer in the policy pack age and their attributes:
n Show only Shared Layers - A shared Layer has the Multiple policies and rules can use
this Layer option selected. (see "Sharing Layers" on page 214).
n Layer Details
l Mode :
o Ordered - An Ordered Layer. In a Multi-Domain Security Management
environment, it includes global rules and a placeholder for local, Domain rules.
1. Select a Layer.
This use case shows an example unified Access Control Policy. It controls applications and
Services &
N Destina Actio Tra
Name Source VPN Applicatio Content
o. tion n ck
ns
Services &
N Destina Actio Tra
Name Source VPN Applicatio Content
o. tion n ck
ns
Cleanup (6)
Rule Explanation
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.
This use case shows an example Access Control Policy that controls Web traffic. The Web
Services &
N Destinatio Trac
Name Source Application Content Action
o n k
s
Services &
N Destinatio Trac
Name Source Application Content Action
o n k
s
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
-4.4 rule 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.
This use case shows a Policy that controls the upload and download of data from and to the
organization.
Services &
N Destinatio Trac
Name Source Applicatio Content Action
o n k
ns
Regulatory compliance
Services &
N Destinatio Trac
Name Source Applicatio Content Action
o n k
ns
Human Resources
Intellectual Property
Services &
N Destinatio Trac
Name Source Applicatio Content Action
o n k
ns
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 Dow nload 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.
Rule Explanation
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 (see " Use Cases for the Unified Rule Base"
on page 216). 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
This use case shows some examples of URL Filtering and Application Control rules for a typical
policy that monitors and controls Internet browsing. (The Hits, VPN and Install On columns
are not shown.)
Services &
No. Name Source Destination Action Track Time
Applications
Services &
No. Name Source Destination Action Track Time
Applications
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. See " Use Cases for the Unified Rule Base" on page 216.
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:
1. In the Object Explorer, click New > More > Custom Application/Site >
Application/Site Group.
2. Give the group a name. For example, Liability_Sites.
3. Click + to add the group members:
n Search for and add the custom application FreeMovies.
n Select Categories, and add the ones you want to block (for example
4. Click OK .
You can now use the Liability_Sites group in the Access ControlRule Base.
Rule Explanation
Services &
Name Source Destination Action Track
Applications
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.
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.
n Cleanup rule that drops all traffic that is not allowed by the earlier rules in the policy.
2. Use Layers to add structure and hierarchy of rules in the Rule Base.
3. Add all rules that are based only on source and destination IP addresses and ports, in a
Firewall/Network Ordered Layer at the top of the Rule Base.
4. Create Firewall/Network rules to explicitly accept safe traffic, and add an explicit cleanup
rule at the bottom of the Ordered Layer to drop everything else.
5. Create an Application Control Ordered Layer after the Firewall/Network Ordered Layer. Add
rules to explicitly drop unwanted or unsafe traffic. Add an explicit cleanup rule at the
bottom of the Ordered Layer to accept everything else.
Alternatively, put Application Control rules in an Inline Layer as part of the Firewall/Network
rules. In the parent rule of the Inline Layer, define the Source and Destination.
7. For Security GatewaysR80.10 and higher: If you have one Ordered Layer for
Firewall/Network rules, and another Ordered Layer for Application Control - Add all rules
that examine applications, Data Type, or Mobile Access elements, to the Application Control
Ordered Layer, or to an Ordered Layer after it.
8. Turn off XFF inspection, unless the gateway is behind a proxy server. For more, see:
sk92839.
9. Disable a rule when working 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 .
1. Place rules that check the source, destination, and port (network rules) higher in the Rule
Base.
Reason: Network rules are matched sooner, and turn on fewer inspection engines.
2. Place rules that check applications and content (Data Types) below network rules.
3. Do not define a rule with Any in the Source and in the Destination, and with an Application
or a Data Type. For example these rules are not recommended:
Services &
Source Destination Content
Applications
Services &
Source Destination Content
Applications
Reason for 2 and 3: Application Control and Content Awareness rules require content
inspection. Therefore, they:
n Allow the connection until the Firewall has inspected connection header and body.
4. For rules with Data Types: Place rules that check File Types higher in the Rule Base than
rules that check for Content Types. See "Best Practices for Access Control Rules" on page 227.
To see examples of some of these best practices, see the "Best Practices for Access Control Rules"
on page 227 and "Best Practices for Access Control Rules" on page 227.
2. If there is more than one Policy package: From the Policy drop-down list, select a policy
package.
4. If there is more than one gateway: Select the gateways on which to install the Policy.
n Install on each selected gatew ay independently - Install the policy on each target
gateway independently of others, so that if the installation fails on one of them, it
doesn't affect the installation on the rest of the target gateways.
n Install on all selected gatew ays, if it fails do not install on gatew ays of the same
version - Install the policy on all the target gateways. If the policy fails to install on
one of the gateways, the policy is not installed on other target gateways.
6. Click Install.
n The pre-R80Firew all policy is converted into the Netw ork Policy Layer of the R80Access
Control Policy. The implicit cleanup rule for it is set to Drop all traffic that is not matched by
any rule in this Layer.
n The pre-R80Application & URL Filtering policy is converted into the Application Policy
Layer, which is the second Layer of the R80Access Control Policy. The implicit cleanup rule
for it is set to Accept all traffic that is not matched by any rule in this Layer.
Important - After upgrade, do not change the Action of the implicit cleanup
rules, or the order of the Policy Layers. If you do, the policy installation will fail.
1. The first Policy Layer is the Network Layer (with the Firew all blade enabled on it).
2. The second Policy Layer is the Application & URL Filtering Layer (with the Application & URL
Filtering blade enabled on it).
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.
符合防火牆規
則3.2.1(十七)
Analyzing the Rule Base Hit Count
Use the Hit Count feature to show the number of connections that each rule matches. Use the Hit
Count data to:
n Analyze a Rule Base - You can delete rules that have no matching connection
Note - If you see a rule with a zero hit count it only means that in the Security
Gateways enabled with Hit Count there were no matching connections. There
can be matching connections on other Security Gateways.
You can show Hit Count for the rules in these options:
These options are configured in the Access Control Policy Rule Base and also changes how Hit
Count is shown in other supported Software Blades.
When you enable Hit Count, the Security Management Server collects the data from supported
Security Gateways (from version R75.40 and up). Hit Count works independently from logging and
tracks the hits even if the Track option is None .
After you enable or disable Hit Count you must install the Policy for the Security Gateway to start
or stop collecting data.
n Enable Hit Count - Select to enable or clear to disable all Security Gateways to
monitor the number of connections each rule matches.
n Keep Hit Count data up to - Select one of the time range options. The default is 3
months. Data is kept in the Security Management Server database for this period
and is shown in the Hits column.
4. Click OK .
1. From the Gatew ay Properties for the Security Gateway, select Hit Count from the
navigation tree.
2. Select Enable Hit Count to enable the feature or clear it to disable Hit Count.
3. Click OK .
These are the options you can configure for how matched connection data is shown in the Hits
column:
n Value - Shows the number of matched hits for the rule from supported Security
Gateways. Connection hits are not accumulated in the total hit count for:
l K = 1,000
l M = 1,000,000
l G = 1,000,000,000
l T = 1,000,000,000,000
For example, 259K represents 259 thousand connections and 2M represents 2 million
connections.
n Percentage -Shows the percentage of the number of matched hits for the rule from the
total number of matched connections. The percentage is rounded to a tenth of a percent.
n Level -The hit count level is a label for the range of hits according to the table.
The hit count range = Maximum hit value - Minimum hit value (does not include zero
hits)
Zero 0 hits
Right-click the heading row of the Rule Base and select Hits.
2. Select Hit Count and one of these options (you can repeat this action to configure more
options):
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.
If an incoming packet to B has a source IP address in network 192.168.33.0, the packet is blocked,
because the source address is spoofed.
When you configure Anti-Spoofing protection on a Check Point Security Gateway interface, the
Anti-Spoofing is done based on the interface topology. The interface topology defines where the
interface Leads To (for example, External (Internet) or Internal), and the Security Zone of
interface.
Configuring Anti-Spoofing
Make sure to configure Anti-Spoofing protection on all the interfaces of the Security Gateway,
including internal interfaces.
1. In SmartConsole, go to Gatew ays & Servers and double-click the Gateway object.
4. Click Accept .
The gateway network topology shows. If SmartConsole fails to automatically retrieve the
topology, make sure that the details in the General Properties section are correct and
the Security Gateway, the Security Management Server, and the SmartConsole can
communicate with each other.
8. In the Leads To section, select the type of network, to which this interface leads:
l Not Defined - All IP addresses behind this interface are considered a part of
the internal network that connects to this interface
l Netw ork defined by the interface IP and Net Mask - Only the network
that directly connects to this internal interface
l Netw ork 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.
l Specific - A specific object (a Network, a Host, an Address Range, or a
Network Group) behind this internal interface
l 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 (see "Preventing IP Spoofing" on page 233). Make sure
that Perform Anti-Spoofing based on interface topology is selected.
12. Configure Anti-Spoofing exceptions (optional). For example, configure addresses, from
which packets are not inspected by Anti-Spoofing:
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:
For each interface, repeat the configuration steps. When finished, install the Access Control
policy.
Anti-Spoofing Options
n Perform Anti-Spoofing based on interface topology - Select this option to enable
spoofing protection on this external interface.
n 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.
n 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.
2. On the Netw ork Management page, select an interface and click Edit .
3. On Interface > Advanced, click Drop Multicast packets by the follow ing conditions.
n Drop all multicast packets except those w hose destination is in the list
When access is denied to a multicast group on an interface for outbound IGMP packets,
inbound packets are also denied.
If you do not define access restrictions for multicast packets, multicast datagrams to one
interface of the gateway are allowed out of all other interfaces.
5. Click Add.
The Add Object window opens, with the Multicast Address Ranges object selected.
Class D IP addresses are reserved for multicast traffic and are allocated dynamically. The
multicast address range 224.0.0.0 - 239.255.255.255 is used only for the
destination address of IP multicast traffic.
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.2is 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.
The source address for multicast datagrams is always the unicast source address.
9. Click OK .
13. In the Rule Base, add a rule that allows the multicast address range as the Destination .
OSPF (MOSPF).
n 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.
The Firewall can change both the source and destination IP addresses in a packet. For example,
when an internal computer sends a packet to an external computer, the Firewall translates the
source IP address to a new one. The packet comes back from the external computer; the Firewall
translates the new IP address back to the original IP address. The packet from the external
computer goes to the correct internal computer.
SmartConsole gives you the flexibility to make necessary configurations for your network:
n Easily enable the Firewall to translate all traffic that goes to the internal network.
n SmartConsole can automatically create Static and Hide NAT rules that translate the
applicable traffic.
n You can manually create NAT rules for different configurations and deployments.
n Static NAT - Each internal IP address is translated to a different public IP address. The
Firewall can allow external traffic to access internal resources.
The configuration of static NAT on a range results in the translation of the IP addresses in
the range into a range of the same size, starting with the IP address specified.
n Hide NAT - The Firewall uses port numbers to translate all specified internal IP addresses
to a single public IP address and hides the internal IP structure. Connections can only start
from 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.
n Hide NAT w ith 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 to use Port Translation.
Hide NAT uses dynamically assigned port numbers to identify the original IP addresses. There are
two pools of port numbers: 600 to 1023, and 10,000 to 60,000. Port numbers are usually assigned
from the second pool. The first pool is used for these services:
If the connection uses one of these services, and the source port number is below 1024, then a
port number is assigned from the first pool.
n Traffic that uses protocols where the port number cannot be changed
n An external server that uses IP addresses to identify different computers and clients
Firewalls that do Static NAT, translate each internal IP address to a different external IP address.
Item Description
Item Description
1 Internal computers
An external computer in the Internet sends a packet to 192.0.2.5. The Firewall translates the IP
address to 10.10.0.26 and sends the packet to internal computer A. Internal computer A sends
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.
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
Item Description
Internal computer A (10.10.0.26) sends a packet to an external computer. The Firewall intercepts
the packet and translates the source IP address to 192.0.2.1 port 11000. The external computer
sends back a packet to 192.0.2.1 port 11000. The Firewall translates the packet to 10.10.0.26 and
sends it to internal computer A.
Internet receives
Internal computer A (10.10.0.26) Firewall translates this address
packet from 192.0.2.1
sends packet to Internet to 192.0.2.1 port 11000
port 11000
NAT Rules
The NAT Rule Base has two sections that specify how the IP addresses are translated:
n Original Packet
n Translated Packet
Each section in the NAT Rule Base is divided into cells that define the Source , Destination , and
Service for the traffic.
n Rules that SmartConsole automatically creates and adds to the NAT Rule Base
n Rules that you manually create and then add to the NAT Rule Base
When you create manual NAT rules, it can be necessary to create the translated NAT objects for
the rule.
You can enable automatic NAT rules for these SmartConsole objects:
n Security Gateways
n Hosts
n Networks
n Address Ranges
SmartConsole creates two automatic rules for Static NAT, to translate the source and the
destination of the packets.
For Hide NAT, one rule is created to translate the source of the packets.
For network and address range objects, SmartConsole creates a different rule to NOT translate
intranet traffic. IP addresses for computers on the same object are not translated.
Intranet (for network and address Rule does not translate IP Rule does not translate IP
range objects) address address
The Firewall enforces the NAT Rule Base in a sequential manner. Automatic and manual rules are
enforced differently. Automatic rules can use bidirectional NAT to let two rules be enforced for a
connection.
n Manual rules - The first manual NAT rule that matches a connection is enforced. The
Firewall does not enforce a different NAT rule that can be more applicable.
n Automatic rules - Two automatic NAT rules that match a connection, one rule for the
Source and one for the Destination can be enforced. When a connection matches two
automatic rules, those rules are enforced.
1. Intranet connections in the HR network are not translated. The Firewall does not
translate a connection between two computers that are part of the HR object.
The Firewall does not apply rules 2 and 3 to traffic that matches rule 1.
2. Connections from IP addresses from the HR network to any IP address (usually external
computers) are translated to the Static NAT IP address.
3. Connections from any IP address (usually external computers) to the HR are translated to
the Static NAT IP address.
1. Intranet connections in the Sales address range are not translated. The Firewall does not
translate a connection between two computers that use IP addresses that are included in
the Sales object.
The Firewall does not apply rule 2 to traffic that matches rule 1.
2. Connections from IP addresses from the Sales address range to any IP address (usually
external computers) are translated to the Hide NAT IP address.
When you enable Static NAT, each object is translated to a different IP address. SmartConsole
can automatically create the NAT rules, or you can create them manually.
Hide NAT uses different port numbers to identify the internal IP addresses. When you enable
Hide NAT mode, the Firewall can translates the IP address to:
n Traffic that uses protocols where the port number cannot be changed
n An external server that uses IP addresses to identify different computers and
clients
SmartConsole can automatically create and configure the NAT rules for a network. Enable
automatic NAT for every object, for which you are translating the IP address. Then configure the
Access Control Rule Base to allow traffic to the applicable objects.
1. In SmartConsole, go to Gatew ays & Servers and double-click the gateway object.
3. Select Add automatic address translation rules to hide this Gatew ay behind
another Gatew ay .
6. Click Install on Gatew ay and select All or the Security Gateway that translates the IP
address.
7. Click OK .
After you enable and configure NAT on all applicable gateways, install the policy.
For large and complex networks, it can be impractical to configure the Hide NAT settings for all
the internal IP addresses. An easy alternative is to enable a Firewall to automatically Hide NAT for
all traffic with external networks. The Firewall translates all traffic that goes through an external
interface to the valid IP address of that interface.
In this sample configuration, computers in internal networks open connections to external servers
on the Internet. The source IP addresses of internal clients are translated to the IP address of an
external interface.
Item Description
1 Internal networks
Source IP addresses are translated to the applicable external interface IP address: 192.0.2.1 or
192.0.2.100.
1. In SmartConsole, go to Gatew ays & Servers and double-click the gateway object.
3. Select Hide internal netw orks behind the Gatew ay's external IP.
4. Click OK .
For some deployments, it is necessary to manually define the NAT rules. Create SmartConsole
objects that use the valid (NATed) IP addresses. Create NAT rules to translate the original IP
addresses of the objects to valid IP addresses. Then configure the Firewall Rule Base to allow
traffic to the applicable translated objects with these valid IP addresses.
Note - For manual NAT rules, it is necessary to configure Proxy ARP entries
to associate the translated IP address. See "Automatic and Proxy ARP" on
page 277.
These are some situations that must use manual NAT rules:
n Rules that are restricted to specified destination IP addresses and to specified source IP
addresses
This procedure explains how to configure manual Static NAT for a web server. You can also
configure manual Hide NAT for SmartConsole objects. See "Sample Deployment (Manual Rules
for Port Translation)" on page 248.
1. Create a clone from the network object, for example, the Web server.
2. Add a NAT rule that maps the original object to the NATed one.
3. Add Access Control rules that allow traffic to the new NATed objects.
2. Enter the Name . We recommend that you name the object <name>_valid_address.
4. Click OK .
These objects are the cloned objects that are called <name>_valid_address.
n Static NAT for the SMTP and the HTTP servers on the internal network. These servers can be
accessed from the Internet using public addresses.
n Hide NAT for the users on the internal network that gives them Internet access. This
network cannot be accessed from the Internet.
Item Description
Item Description
e. Click OK .
e. Click OK .
4. Click OK .
The goal for this sample configuration is to let external computers access a web and mail server
in a DMZ network from one IP address. Configure Hide NAT for the DMZ network object and
create manual NAT rules for the servers.
Item Description
e. Click OK .
2. Create a manual NAT rule that translates HTTP traffic from the Security
Gateway to the web server.
c. Right-click the cell and select Add new items to configure these settings:
3. Create a manual NAT rule that translates SMTP traffic from the Security
b. Right-click the cell and select Add new items to configure these settings:
4. Create a rule in the Firewall Rule Base that allows traffic to the servers.
c. Right-click the cell and select Add new items to configure these settings:
n Destination - Alaska_DMZ
n Action - Allow
NAT Rule Base for Manual Rules for Port Translation Sample Deployment
Background:
NAT64 translation (RFC 6146) lets IPv6-only client communicate with IPv4-only server using
unicast UDP, TCP, or ICMP.
n A host with a networking stack that implements both IPv4 and IPv6 protocols, but with only
IPv6 connectivity.
n A host with a networking stack that implements both IPv4 and IPv6 protocols, but with only
IPv4 connectivity.
The translation of IP addresses is done by translating the packet headers according to the IP/ICMP
Translation Algorithm defined in RFC 6145. The IPv4 addresses of IPv4 hosts are translated to and
from IPv6 addresses using the algorithm defined in RFC 6052, and an IPv6 prefix assigned to the
stateful NAT64 for this specific purpose.
n There are no requirements on the assignment of IPv6 addresses to IPv6 clients. Any mode of
IPv6 address assignment is legitimate (Manual, DHCP6, SLAAC).
n It is a scalable solution.
n [IPv6 Network] --- (Internet) --- [Security Gateway] --- [internal IPv4 Network]
n [internal IPv6 Network] --- [Security Gateway] --- (Internet) --- [IPv4 Network]
n RFC 6146 - Stateful NAT64: Network Address and Protocol Translation from IPv6 Clients to
IPv4 Servers
n RFC 6384 - An FTP Application Layer Gateway (ALG) for IPv6-to-IPv4 Translation
n VoIP traffic.
n HTTPS Inspection.
n SSL de-multiplexer.
Procedure
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.
n In Gaia Portal:
Click Netw ork Management > Netw ork Interfaces.
n 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.40 Gaia
Administration Guide - 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.
n In Gaia Portal:
Click Advanced Routing > Routing Monitor .
n In Gaia Clish:
Run:
show ipv6 route
If such route does not already exist, add it in Gaia Clish. For details, see R80.40 Gaia
Administration Guide.
Run these commands in Gaia Clish:
Step Instructions
3 Make sure that the number of IPv6 CoreXL FW instances is equal to the number of
IPv4 CoreXL FW instances.
Example output:
[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]#
[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]#
Define NAT64 rules as Manual NAT rules in the Access Policy. Make sure that you add access
rules that allow this NAT traffic.
This object represents the source IPv6 addresses, which you translate to source IPv4
addresses.
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.
This object represents the translated source IPv4 addresses, to which you translate the
original source IPv6 addresses.
To define a source IPv6 Network object that represents the source IPv6 address,
which you translate to source IPv4 addresses
a. In the Netw ork address field, enter the IPv6 address of your IPv6 network, which
you translate to source IPv4 addresses.
8. Click OK .
a. In the Netw ork address field, enter the destination IPv4-embedded IPv6 address
(also called IPv4-mapped IPv6 address), to which the IPv6 sources connect.
Such IPv6 address contains (from left to right) 80 "zero" bits, followed by 16 "one"
bits, and then the 32 bits of the IPv4 address - 0:0:0:0:0:FFFF:X.Y.Z.W, where X.Y.Z.W
are the four octets of the destination IPv4 address.
For example, for IPv4 network 192.168.3.0, the IPv4-embedded IPv6 address is
0:0:0:0:0:FFFF:192.168.3.0, or 0:0:0:0:0:FFFF:C0A8:0300. For more information, see
RFC 6052.
Note - You can define IPv4-embedded IPv6 addresses only for these object types:
Address Range, Network, and Host.
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
In the Netw ork address field, enter the destination static IPv6 address, to which the
IPv6 sources connect.
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 > Netw ork Object > Address Range > New
Address Range .
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:
n This IPv4 addresses range must not use private IPv4 addresses (see RFC 1918 and
Menu > Global properties > Non Unique IP Address Range ).
n This IPv4 addresses range must not be used on the IPv4 side of the network.
n We recommend that you define a large IPv4 addresses range for more concurrent
NAT64 connections.
8. Click OK .
3. Right-click on the Manual Low er Rules section title, and near the New Rule , click
Above or Below .
Important - Some combinations of object types are not supported in the Original Source
and Original Destination columns. See the summary table with the supported NAT rules
at the bottom of this section.
a. In the Original Source column, add the IPv6 object for your original source IPv6
addresses.
In this rule column, NAT64 rules support only these types of objects:
n *Any
b. In the Original Destination column, add a translated destination IPv6 object with
an IPv4-embedded IPv6 address.
In this rule column, NAT64 rules support only these types of objects:
c. In the Original Services column, you must leave the default Any .
d. In the Translated Source column, add the IPv4 Address Range object for your
translated source IPv4 addresses range.
In this rule column, NAT64 rules support only these types of objects:
n Host with a static IPv4 address, only if in the Original Source column you
selected a Host with a static IPv6 address
e. In the Translated Source column, right-click the IPv4 Address Range object >
click NAT Method > click Stateful NAT64:
In this rule column, NAT64 rule supports only these types of objects:
n Host with a static IPv4 address, only if in the Original Source column you
selected a Host with a static IPv6 address
f. In the Translated Services column, you must leave the default = Original.
To summarize, you must configure only these Manual NAT64 rules (rule numbers are for
convenience only):
You can configure the additional settings that control the NAT64 translation mechanism. These
settings are compliant with RFC 6145.
Best Practice - We recommend that you change the default settings only if you
are familiar with the technology.
Procedure
2. Connect with GuiDBedit Tool (see sk13009) to the applicable Security Management Server
or Domain Management Server.
3. In the top left section, click Table > Global Properties > properties.
n nat64_avoid_PMTUD_blackhole
n nat64_copy_type_of_service
n nat64_error_message_on_dropped_packets
nat64_copy_ This setting controls whether to copy the traffic Class Field to
type_of_ the Type Of Service field, and set the Type Of Service field in
service
the translated packet to zero.
Default: true
10. Connect with the SmartConsole to the applicable Security Management Server or Domain
Management Server.
In the Security Gateway log for NAT64 connection, the source and destination IPv6 addresses
show in their original IPv6 format. To identify a NAT64 entry, look in the More section of the Log
Details window.
X late (NAT) Shows the translated source IPv4 address, to which the Security Gateway
Source IP translated the original source IPv6 address
X late (NAT ) Shows the translated destination IPv4 address, to which the Security
Destination IP Gateway translated the original destination IPv6 address
Example topology
[IPv6 Client] --- (interface) [Security Gateway] (internal) --- [IPv4 Server]
Where:
Item Description
Item Description
IPv6 NATed IPv6 address of the network on the external Security Gateway side is
network 1111:2222::/96
These IPv6 addresses are used to translate the IPv4 address of the IPv4
Server to the IPv6 address
IPv4 NATed IPv4 address of the network on the internal Security Gateway side is
network 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:
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:01X
Where:
The "0064:FF9B::" part is a well-known prefix reserved for NAT64 (as defined by the
RFC)
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
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:01X
Where:
The "64:FF9B::" part is a well-known prefix reserved for NAT64 (as defined by the
RFC)
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
Summary
NAT46 rules are only supported on Security Gateways and Cluster Members R80.20 and higher.
Background:
NAT46 translation lets an IPv4 network communicate with an IPv6 network without maintaining
any session information on Security Gateway.
n The system generates the translated source IPv6 address as a combination of these two
parts:
1. A user-defined Network object with an IPv6 address defined with the 96-bit prefix.
n [IPv4 Network] --- (Internet) --- [Security Gateway] --- [IPv6 Network]
n [IPv4 Network] --- [Security Gateway] --- (Internet) --- [IPv6 Network]
n VoIP traffic.
n FTP traffic.
n Any protocols that require state information between Control and Data connections.
Procedure
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.
n In Gaia Portal:
Click Netw ork Management > Netw ork Interfaces.
n 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.40 Gaia
Administration Guide - 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.
n In Gaia Portal:
Click Advanced Routing > Routing Monitor .
n In Gaia Clish:
Run: show route
If such route does not already exist, add it in Gaia Clish. For details, see R80.40 Gaia
Administration Guide. 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.
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]#
Define NAT46 rules as Manual NAT rules in the Access Policy. Make sure that you add access
rules that allow this NAT traffic.
1. Define an applicable source IPv4 object (IPv4 Host, IPv4 Address Range, or IPv4
Network).
This object represents the destination IPv4 address, to which the IPv4 sources
connect.
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.
This object represents the translated destination IPv6 address, to which the translated
IPv4 sources connect.
9. Click OK .
a. In the Netw ork address field, enter the IPv4 address of your source IPv4
network.
b. In the Net mask field, enter the net mask of your source IPv4 network.
8. Click OK .
1. Click Objects menu > More object types > Netw ork Object > Address Range >
New Address Range .
a. In the First IP address field, enter the first IPv4 address of your IPv4 addresses
range.
b. In the Last IP address field, enter the last IPv4 address of your IPv4 addresses
range.
8. Click OK .
a. In the Netw ork address field, enter the IPv4 address of your destination IPv4
network.
b. In the Net mask field, enter the net mask of your destination IPv4 network.
8. Click OK .
To define a translated source IPv6 Network object with an IPv6 address defined
with the 96-bit prefix
a. In the Netw ork address field, enter the translated source IPv6 address.
8. Click OK .
In the Netw ork address field, enter the destination static IPv6 address.
9. Click OK .
3. Right-click on the Manual Low er Rules section title, and near the New Rule , click
Above or Below .
Do these steps:
In this rule column, NAT46 rules support only these types of objects:
n *Any
b. In the Original Destination column, add the IPv4 Host object that represents
the destination IPv4 address, to which the IPv4 sources connect.
In this rule column, NAT46 rules support only IPv4 Host objects.
c. In the Original Services column, you must leave the default Any .
d. In the Translated Source column, add the IPv6 Netw ork 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 Netw ork object with the
96-bit prefix > click NAT Method > click Stateless NAT46.
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):
In the Security Gateway log for NAT64 connection, the source and destination IPv6 addresses
show in their original IPv6 format. To identify a NAT46 entry, look in the More section of the
Log Details window.
X late (NAT) Shows the translated source IPv6 address, to which the Security Gateway
Source IP translated the original source IPv4 address
X late (NAT ) Shows the translated destination IPv6 address, to which the Security
Destination IP Gateway translated the original destination IPv4 address
[IPv4 Client] --- (internal) [Security Gateway] (external) --- [IPv6 Server]
Where:
Item Description
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
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 Serve
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
a. From the source IPv6 address 2001:DB8:5001::30 to the source IPv4 address
1.1.1.66
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:
Deployment Configurations
This section discusses how to configure NAT in some network deployments.
Giving a computer on the internal network an IP address from an external network using NAT
makes that computer appear on the external network. When NAT on the Security Gateway is
configured automatically, the Security Gateway replies on behalf of translated network objects to
ARP Requests that are sent from the external network for the IP address of the internal computer.
Item Description
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 sk91905 for more about configuring Proxy NDP for IPv6 Manual NAT.
NAT is performed after Anti-Spoofing checks, which are performed only on the source IP address
of the packet. This means that spoofing protection is configured on the interfaces of the Security
Gateway in the same way as NAT.
When communicating within a VPN, it is normally not necessary to perform NAT. You can disable
NAT in a VPN tunnel with a single click in the VPN community object. Disabling NAT in a VPN
tunnel by defining a NAT rule slows down the performance of the VPN.
The following sections describe how to allow connections in both directions between statically
translated objects (hosts, networks or address ranges) on different Security Gateway interfaces.
If NAT is defined through the network object (as opposed to using Manual NAT Rules), then you
must ensure that bidirectional NAT is enabled.
If two internal networks have overlapping (or partially overlapping) IP addresses, Security Gateway
enables:
n Communication between the overlapping internal networks and the outside world.
Network Configuration
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
Interface 4B
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
If user 1A, at IP address 192.168.1.10 in Network 2A, wants to connect to user 1B, at IP address
192.168.1.10 (the same IP address) in Network 2B, user 1A opens a connection to the IP address
192.168.30.10.
Source IP Destination
Step
address IP address
If user 1A, at IP address 192.168.1.10 in network 2A, connects to IP address 192.0.2.10 on the
Internet (3).
Source IP Destination
Step
address IP address
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
On Linux
To activate the overlapping NAT feature, use GuiDBedit Tool (see sk13009), or the dbedit
command (see skI3301). In the sample network configuration, the per interface values for
interface 4A and interface 4B are set in the following way:
Parameter Value
enable_ true
overlapping_
nat
Parameter Value
overlap_nat_ The net mask of the overlapping IP addresses. In the sample network
netmask configuration, 255.255.255.0.
The Security Management Server sometimes uses a private IP address (as listed in RFC 1918) or
some other non-routable IP address, because of the lack of public IP addresses.
NAT (Static or Hide) for the Security Management Server IP address can be configured in one click,
while still allowing connectivity with managed gateways. All gateways can be controlled from the
Security Management Server, and logs can be sent to the Security Management Server. NAT can
also be configured for a Management High Availability server and a Log Server.
Note - Security Management behind NAT is not supported for deployments where the Security
Management Server also acts as a gateway and must be addressed from outside the NATed
domain, for example, when it receives SAM commands.
In a typical Security Management Behind NAT scenario: the Security Management Server (1) is in
a network on which Network Address Translation is performed (the "NATed network"). The
Security Management Server can control Security Gateways inside the NATed network, on the
border between the NATed network and the outside world and outside the NATed network.
Item Description
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.
n From the NAT page of the Security Management Server object, define NAT and select Apply
for A Security Gatew ay control connections.
Sometimes the gateway contacts the Security Management Server with an address that does not
correspond to the deployment of the remote gateway. For example:
n When the automatic selection of the gateway does not conform with the routing of the
deployment of the gateway. In this case, define the masters and loggers manually, to allow
the remote gateway to contact the Security Management Server using the required address.
When an inbound connection from a managed gateway enters the Security Gateway, port
translation is used to translate the hide address to the real IP address of the Security
Management Server.
To define masters and loggers, select Use local definitions for Log Servers and Use local
definitions for Masters and specify the correct IP addresses on the gateway.
n The remote gateway addresses the NATed IP when you want it to address the real IP.
n The remote gateway addresses the real IP when you want it to address the NATed IP. In this
case, specify the SIC name of the Security Management Server in the masters file.
Notes:
n 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.
n 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.
1. From the NAT page on the Primary_Security_Management object, select either Static NAT
or Hide NAT. If using Hide NAT, select Hide behind IP Address, for example,
192.168.55.1. Do not select Hide behind Gatew ay (address 0.0.0.0).
2. Select Install on Gatew ay to protect the NATed objects or network. Do not select All.
3. In the General page of the Interface window, define the IP address and the Net Mask.
5. Select Override .
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:
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.
You can define a separate IP address pool on one or more of the gateway interfaces instead of
defining a single pool of IP addresses for the gateway.
Defining an IP pool per interface solves routing issues that occur when the gateway has more
than two interfaces. Sometimes it is necessary that reply packets return to the gateway through
the same gateway interface. This illustration shows one of the MEP Gateways in a Remote Access
Client to MEP (Multiple Entry Point) gateway deployment.
Item Description
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:
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). Contact Check Point Technical Support.
For non-encrypted connections, IP Pool NAT has the following advantages over Hide NAT:
n New back connections (for example, X11) can be opened to the NATed host.
n 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.
n 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.
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.
IP Pool addresses can be reused for different destinations, which makes more efficient use of the
addresses in the pool. If a pool contains N addresses, then any number of clients can be assigned
an IP from the pool as long as there are no more than N clients per server.
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
Item Description
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
2 Clients.
Source: Original
Destination:
Item Description
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.
2. In the Global Properties > NAT page, select Enable IP Pool NAT and the required
tracking options.
3. In the gateway General Properties page, ensure the gateway version is specified
correctly.
4. For each gateway or gateway interface, create a network object that represents its IP pool
NAT addresses. The IP pool can be a network, group, or address range. For example, for
an address range, do the following:
a. From the Objects Bar (F11) , In the network objects tree, select New > More >
Netw ork Object > Address Range > Address Range .
b. In the General tab, enter the first and last IP of the address range.
c. Click OK . The new address range appears in the Address Ranges branch of the
network objects tree.
5. Edit the gateway object, and select NAT > IP Pool NAT.
a. Allocate IP Addresses from and then select the address range you created to
configure IP Pool NAT for the whole gateway, or
c. Prefer IP Pool NAT over Hide NAT to 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.
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.
n In the gateway Cluster object NAT > IP Pool NAT page, select the connection scenario.
n In the Cluster member object IP Pool NAT page, define the IP Pool on the cluster member. A
separate IP pool must be configured for each cluster member. It is not possible to define a
separate IP Pool for each cluster member 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
Item Description
2 VPN tunnel
4 Host 4
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.
Firewalls
A&B
Host 4 sends packet Firewall A encrypts
create
to Host 5 data
VPN
tunnel
Firewall
Encrypted data is
Host 5 receives B
sent
unencrypted data decrypts
through VPN tunnel
data
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
This section explains how to configure a VPN star community. This deployment lets the satellite
Security Gateways connect to the internal network of the central Security Gateway. The internal
network object is named: Internal-netw ork .
6. Configure the VPN encryption methods and algorithms for the VPN community.
7. Click OK .
For each Security Gateway in the VPN community, follow these configuration steps.
1. In SmartConsole, go to the Gatew ays & Servers page and double-click the Security
Gateway object.
2. In the Netw ork Security section of the General Properties page, select IPsec VPN .
3. From the navigation tree, go to Netw ork Management > VPN Domain .
n For the central Security Gateway, click Manually defined and select the Internal-
netw ork object
a. In the This Security Gatew ay participates in the follow ing VPN Communities
section, click Add.
c. Click OK .
6. Click OK .
After you create a community and configure Security Gateways, add those Security Gateways to
the community as a center or as a satellite gateway.
n Center Gatew ays - Click Add and select center gateways. Select Mesh center
gatew ays, if necessary.
5. Click OK .
Item Description
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.
To allow VPN connections between Security Gateways in specific VPN communities, add Access
Control rules that accept such connections.
To allow all VPN traffic to hosts and clients on the internal networks of a specific VPN community,
select these options in the Encrypted Traffic section of the properties configuration window for
that VPN Community:
n For a Star Community: Accept all encrypted traffic on Both center and satellite
gatew ays, or Accept all encrypted traffic on Satellite gatew ays only .
This table shows sample VPN rules for an Access Control Rule Base. (The Action , Track and Time
columns are not shown. Action is set to Allow , Track is set to Log, and Time is set to Any .)
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.
To learn more about site-to-Site VPN, see the R80.40 Site to Site VPN Administration Guide.
When securely connecting remote clients with the internal resources, organizations face
connectivity challenges, such as these:
n The remote access client can be connected to a LAN with internal IP addresses (such as, at
hotels)
n 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:
n 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.
n 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.
n User Group object - for users configured in the SmartConsole user database
5. Create and configure the encryption settings for the VPN community object in Global
Properties > Remote Access > VPN - Authentication and Encryption .
6. Add Access Control rules to the Access Control Rule Base to allow VPN traffic to the internal
networks.
Install policy
Make sure that the VPN Software Blade is enabled before you configure the Remote Access
community.
1. In SmartConsole, click Gatew ays & Servers and double-click the Security Gateway.
The gateway window opens and shows the General Properties page.
The page shows the VPN communities that the Security Gateway is participating.
a. Click Add.
c. Click OK .
4. From the navigation tree, click Netw ork Management > VPN Domain .
1. From the navigation tree, click VPN Clients > Office Mode .
3. Click OK .
To learn more about Remote Access VPN, see the R80.40 Remote Access VPN Administration
Guide.
The Mobile Access Portal lets mobile and remote workers connect easily and securely to critical
resources over the internet. Check Point Mobile Apps enable secure encrypted communication
from unmanaged smartphones and tablets to your corporate resources. Access can include
internal apps, email, calendar, and contacts.
To include access to Mobile Access applications in the Rule Base, include the Mobile Application
in the Services & Applications column.
To give access to resources through specified remote access clients, create Access Roles for the
clients and include them in the Source column of a rule.
For more information about the newest versions of Mobile Access solutions and clients, go to
sk67820.
n Client-based - Client application installed on endpoint computers and devices. The client
supplies access to most types of corporate resources according to the access privileges of
the user.
n Clientless - Users connect through a web browser and use HTTPS connections. Clientless
solutions usually supply access to web-based corporate resources.
n On demand client - Users connect through a web browser and a client is installed when
necessary. The client supplies access to most types of corporate resources according to the
access privileges of the user.
n Capsule Connect - A full L3 tunnel app that gives users network access to all mobile
applications.
n Check Point Mobile for Windows - A Windows IPsec VPN client that supplies secure IPsec
VPN connectivity and authentication.
1. Use SmartConsole to enable the Mobile Access Software Blade on the gateway.
2. Follow the steps in the Mobile Access Configuration wizard to configure these settings:
n The default is to use the Legacy Policy, configured in the Mobile Access tab in
SmartConsole.
n To include Mobile Access in the Unified Access Control Policy , select this in
Gatew ay Properties > Mobile Access.
n For Legacy Policy: Add rules in SmartConsole. Select Security Policies > Shared
Policies> Mobile Access > Open Mobile Access Policy in SmartConsole
n For Unified Access Control Policy: Add rules in SmartConsole > Security Policies
Access Control Policy .
5. Configure the authentication settings in Gatew ay Properties > Mobile Access >
Authentication .
Users can access mobile applications through the configured Mobile Access portal with the
defined authentication method.
7. Optional: Give secure access to users through the Capsule Workspace app with certificate
authentication.
a. In the gateway Mobile Access > Authentication , click Settings, and select Require
client certificate .
b. Use the Certificate Creation and Distribution Wizard (in the Security Policies view >
Client Certificates > New ).
d. Users open the Capsule Workspace app and enter the Mobile Access Site Name and
necessary authentication, such as user name and password.
Item Description
1 Mobile devices
Item Description
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.
n Internet browsers can open a SSL Network Extender connection to the internal network
1. In SmartConsole, go to Gatew ays & Servers and double-click the gateway object.
2. In the General Properties > Netw ork Security section, select Mobile Access.
The Mobile Access page of the Mobile Access Configuration Wizard opens.
3. Configure the Security Gateway to allow connections from the Internet and mobile devices.
Select these options:
n Web
4. Click Next .
5. Enter the primary URL for the Mobile Access portal. The default is https://<gw_
IPv4>/sslvpn
6. Click Next .
b. In Mail/Calendar/Contacts, enter the domain for the Exchange server and select:
n ActiveSync Applications
The Mobile Access portal shows links to the Demo web and Outlook Web App
applications. The client on the mobile device shows links to the other applications.
8. Click Next .
9. Select the AD domain and enter the user name and password.
The Security Gateway makes sure that it can connect to the AD server.
13. Click OK .
Install
Name Source Destination VPN Service Action Track
On
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 Gateway in the MobileAccessGW group.
By default, SSO is enabled on new Mobile Access applications that use HTTP. Most Web
applications authenticate users with specified Web forms. You can configure SSO for an
application to use the authentication credentials from the Mobile Access portal. It is not
necessary for users to log in again to each application.
To configure SSO
3. In the Mobile Access tab, select Additional Settings > Single Sign-On .
The application properties window opens and shows the Single Sign On page.
1. In the Application Single Sign-On Method section, select Advanced and click Edit .
2. Select This application reuses the portal credentials. Users are not prompted.
3. Click OK .
4. Select This application uses a Web form to accept credentials from users.
5. Click OK .
The Mobile Access Software Blade integrates the Firewall Citrix clients and services. It is not
necessary to use STA (Secure Ticketing Authority) servers in a Mobile Access Security Gateways
deployment because Mobile Access uses its own STA engine. You can also use Mobile Access in a
deployment with STA and CSG (Citrix Secure Gateway) servers.
The Mobile Access server certificate must use a FQDN (Fully Qualified Domain Name) that is
issued to the FQDN of the Mobile Access Security Gateway.
Item Description
1 Mobile devices
4. Click New .
7. Create a new object for the Citrix web interface server, in Servers, click Manage > New >
Host .
9. Click OK .
10. In Services, select one or more of these services that the Citrix web interface server
supports:
n HTTP
n HTTPS
12. Configure the settings for the link to the Citrix services in the Mobile Access portal:
n Link text - The text that is shown for the Citrix link
n URL - The URL for the directory or subdirectory of the Citrix application
n Tooltip - Text that is shown when the user pauses the mouse pointer above the Citrix
link
13. From the navigation tree, select Additional Settings > Single Sign On .
14. Enable Single Sign On for Citrix services, select these options:
n Prompt users for their credentials, and store them for future use
15. Click OK .
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.
n Custom - Compliance rules for your organization, for example: applications, files, and
registry keys.
n OR group - A group of the above rules. An endpoint computer is compliant if it meets one of
the rules in the group.
1. In the Mobile Access tab, select Endpoint Security on Demand > Endpoint Compliance .
5. Click Add.
You can also create new rules - click New Rule , and configure the rule settings.
7. Click OK .
The Policies > New Policy window shows the rules for the policy.
When selected, the scan for endpoint computers that are compliant with the Anti-Virus or
Anti-Spyware settings is changed. These computers do not scan for spyware when they
connect to a Mobile Access Security Gateway.
9. Click OK .
10. Click OK .
This procedure shows how to configure the Laptop Computer policy for a Security Gateway (see
"Compliance Policy Rules" on page 305).
1. In the Mobile Access tab, select Endpoint Security on Demand > Endpoint Compliance .
The Endpoint Compliance page of the Security Gateway properties window opens.
4. Select Threshold policy and from the drop-down menu select Laptop Computer .
5. Click OK .
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 and Mobile Access VPN, see the R80.40 Mobile
Access Administration Guide.
3. In the Mobile Access tab, click Endpoint Security on Demand > Secure Workspace .
The Check Point Secure Workspace page of the Security Gateway properties window
opens.
5. Select This gatew ay supports access to applications from w ithin Check Point
Secure 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 and Mobile Access VPN, see the R80.40 Mobile
Access Administration Guide.
3. In the Mobile Access tab, click Endpoint Security on Demand > Secure Workspace .
The Check Point Secure Workspace page of the Security Gateway properties window
opens.
5. Select This gatew ay supports access to applications from w ithin Check Point Secure
Workspace .
HTTPS Inspection
HTTPS Internet traffic uses the TLS (Transport Layer Security) protocol and is encrypted to give
data privacy and integrity. However, HTTPS traffic has a possible security risk and can hide illegal
user activity and malicious traffic. Security Gateways cannot inspect HTTPS traffic because it is
encrypted. You can enable the HTTPS Inspection feature to let the Security Gateways create new
TLS connections with the external site or server. The Security Gateways are then able to decrypt
and inspect HTTPS traffic that uses the new TLS connections.
n Outbound HTTPS Inspection - To protect against malicious traffic that is sent from an
internal client to an external site or server.
n Inbound HTTPS Inspection - To protect internal servers from malicious requests that
arrive from the Internet or an external network.
The Security Gateway uses certificates and becomes an intermediary between the client
computer and the secure web site. All data is kept private in HTTPS Inspection logs. Only
administrators with HTTPS Inspection permissions can see all the fields in such a log.
If the request matches an HTTPS Inspection rule, the Security Gateway validates the certificate
from the server (on the Internet). The Security Gateway validates the certificate using the Online
Certificate Status Protocol (OCSP) standard. OCSP is faster and uses much less memory than CRL
Validation, which is used for certificate validation in releases lower than R80.10. For a new HTTPS
connection to the server, the Security Gateway creates and uses a new certificate. There are two
HTTPS connections, one to the internal client and one to the external server. It can then decrypt
and inspect the packets according to the Security Policy. The packets are encrypted again and
sent to the destination.
Connection is not
HTTPS inspected
No
Inbound Connections
Inbound connections are HTTPS connections that arrive from an external client and connect to a
server in the DMZ or the internal network. The Security Gateway compares the HTTPS request to
the rules in the HTTPS Inspection Rule Base. If the request does not match any rule, the packet is
not HTTPS inspected and not logged.
If the request matches an HTTPS Inspection rule, the Security Gateway uses the certificate for the
internal server to create an HTTPS connection with the external client. The Security Gateway
creates a new HTTPS connection with the internal server. Since the Security Gateway has a secure
connection with the external client, it can decrypt the HTTPS traffic. The decrypted traffic is
inspected according to the Security Policy.
Connection is not
HTTPS inspected
No
Step Description
Step Description
1 From the SmartConsole Gatew ays & Servers view, edit the Security Gateway object.
The first time you enable HTTPS Inspection on one of the Security Gateways, you must create an
outbound CA certificate for HTTPS Inspection or import a CA certificate already deployed in your
organization. This outbound certificate is used by all Security Gateways managed on the Security
Management Server.
After you create an outbound CA certificate, you must export it so it can be distributed to clients.
If you do not deploy the generated outbound CA certificate on clients, users will receive TLS error
messages in their browsers when connecting to HTTPS sites. You can configure a troubleshooting
option that logs such connections.
After you create the outbound CA certificate, a certificate object named Outbound Certificate is
created. Use this object in rules that inspect outbound HTTPS traffic in the HTTPS Inspection Rule
Base.
Step Description
1 In SmartConsole Gatew ays & Servers view, right-click the Security Gateway object
and select Edit .
The Gatew ay Properties window opens.
5 Click OK .
6 Export and deploy the CA certificate, (see "Exporting and Deploying the Generated CA"
on page 316).
For each Security Management Server that has Security Gateways enabled with HTTPS Inspection,
you must:
n Enter the password the Security Management Server uses to decrypt the CA certificate file
and sign the certificates for users. Use this password only when you import the certificate
to a new Security Management Server.
To import a CA certificate
Step Description
1 If the CA certificate was created on another Security Management Server, export the
certificate from the Security Management Server, on which it was created (see
"Exporting a Certificate from the Security Management Server" on the next page).
2 In the SmartConsole Gatew ays & Servers view, right-click the Security Gateway
object and select Edit .
The Gatew ay Properties window opens.
7 Click OK .
Command syntax
export_https_cert [-local] | [-s server] [-f certificate file name
under FWDIR/tmp][-help]
When users run standard updates, the generated CA will be in the CA list and they will not
receive browser certificate warnings.
Step Description
Step Description
Step Description
Step Description
1 From the SmartConsole Gatew ays & Servers view, edit the Security Gateway object.
4 Import server certificates for servers behind the organization Security Gateway.
n Create rules
n Add a sever certificate to the Certificate column of each rule.
The first time you enable HTTPS Inspection on one of the Security Gateways, you must create an
outbound CA certificate for HTTPS Inspection or import a CA certificate already deployed in your
organization. This outbound certificate is used by all Security Gateways managed on the Security
Management Server.
When a client from outside the organization initiates an HTTPS connection to an internal server,
the Security Gateway intercepts the traffic. The Security Gateway inspects the inbound traffic and
creates a new HTTPS connection from the gateway to the internal server. To allow HTTPS
Inspection, the Security Gateway must use the original server certificate and private key. The
Security Gateway uses this certificate and the private key for TLS connections to the internal
servers.
After you import a server certificate (with a CER file extension) to the Security Gateway, add the
object to the HTTPS Inspection Policy.
Do this procedure for all servers that receive connection requests from clients outside of the
organization.
Step Description
4 Click Add.
The Import Inbound Certificate window opens.
7 Enter the Private key passw ord. Enter the same password that was
used to protect the private key of the certificate on the server.
8 Click OK .
The Successful Import window opens the first time you import a server certificate. It shows you
where to add the object in the HTTPS Inspection Rule Base. Click Don't show this again if you do
not want to see the window each time you import a server certificate and Close .
The HTTPS Inspection rules are applied to all the Software Blades that have HTTPS Inspection
enabled. These are the Software Blades that support HTTPS Inspection:
l URL Filtering
l Content Awareness
n Threat Prevention
l IPS
l Anti-Virus
l Anti-Bot
l Threat Emulation
Starting from R80.40, the HTTPS Inspection policy is in SmartConsole > the Security Policies view
> HTTPS Inspection . Starting from R80.40 you can create different HTTPS Inspection layers per
different policy packages. When you create a new policy package, you can use the pre-defined
HTTPS Inspection layer, or customize the HTTPS Inspection layer to fit your security needs.
You can share an HTTPS Inspection layer across multiple policy packages.
Fields
These are the fields that manage the rules for the HTTPS Inspection Security Policy.
Field Description
Site Categories for applications or web sites that are inspected or bypassed.
Category
Action Action that is done when HTTPS traffic matches the rule. The traffic is
inspected or ignored (Bypass).
Track Tracking and logging action that is done when traffic matches the rule.
Install On Network objects that will enforce the HTTPS Inspection Policy. You can only
select Security Gateways that have HTTPS Inspection enabled (by default, the
gateways which appear in the Install On column have HTTPS inspection
enabled).
Field Description
n Inbound HTTPS Inspection - Select the certificate that the internal server
uses. You can create server certificates from the SmartDashboard >
HTTPS Inspection > Server Certificates > Add.
n Outbound HTTPS Inspection - Select the Outbound Certificate object
that you are using for the computers in the network. When there is a
match to a rule, the Security Gateway uses the selected server
certificate to communicate with the source client.
The outbound rules use the certificate that was generated for the Security Gateway.
The inbound rules use a different certificate for each internal server.
You can also create bypass rules for traffic that is sensitive and should not be inspected. Make
sure that the bypass rules are at the top of the HTTPS Inspection Rule Base.
This table shows a sample HTTPS Inspection Rule Base for a typical policy (The Track and
Install On columns are not shown. Track is set to Log and Install On is set to HTTPS policy
targets.)
Site
N Sour Destinatio Servic Actio Blad
Name Catego Certificate
o ce n es n e
ry
Site
N Sour Destinatio Servic Actio Blad
Name Catego Certificate
o ce n es n e
ry
1. Inbound traffic - Inspects HTTPS traffic to the network object WebCalendarServer. This
rule uses the WebCalendarServer certificate.
2. Financial sites - This is a bypass rule that does not inspect HTTPS traffic to websites that
are defined in the Financial Services category.
3. Outbound traffic - Inspects HTTPS traffic to the Internet. This rule uses the Outbound
CA certificate.
Step Description
1 In SmartConsole, go to Security Policies > HTTPS Inspection > HTTPS Tools >
Additional Settings > Open HTTPS Inspection Policy in
SmartDashboard.
In the CA Certificate section, in the lower part of the Gateways pane, you can Renew the
certificate validity date range if necessary and Export it for distribution to the organization client
machines.
If the Security Management Server which manages the selected Security Gateway does not have a
generated CA certificate installed on it, you can add it with Import certificate from file .
n You can import a CA certificate from another Security Management Server. Before you can
import it, you must first export it from the Security Management Server on which it was
created (see "Exporting and Deploying the Generated CA" on page 316).
When the Security Gateway establishes a secure connection (a TLS tunnel) to the designated
website, it must validate the site server certificate.
HTTPS Inspection comes with a preconfigured list of trusted CAs. This list is updated by Check
Point when necessary and is automatically downloaded to the Security Gateway. After you install
the update, make sure to install the policy. You can select to disable the automatic update option
and manually update the Trusted CA list.
If the Security Gateway receives a non-trusted server certificate from a site, by default the user
gets a self-signed certificate and not the generated certificate. A page notifies the user that there
is a problem with the website security certificate, but lets the user continue to the website.
You can change the default setting to block untrusted server certificates.
Saving a CA Certificate
You can save a selected certificate in the trusted CAs list to the local file system.
To export a CA certificate
Step Description
HTTPS Validation
In the HTTPS Validation page of SmartDashboard you can set options for
n Fail mode
n Server validation
n Certificate blacklisting
n Whitelisting
n Troubleshooting
To learn more about these options, see the Help. Click the ? symbol in the HTTPS Validation
page.
Step Description
1 In the SmartConsole Logs & Monitor view, go to the Logs tab, and
click Queries.
The Logs tab includes an HTTP Inspection Action field. The field value can be inspect or bypass.
If HTTPS Inspection was not done on the traffic, this field does not show in the log.
SNI is an extension to the TLS protocol, which indicates the hostname at the start of the TLS
handshaking process.
The categorization is performed by examining the SNI field in the client hello message at the
beginning of the TLS handshaking process. To make sure that you reached the right site, the SNI
is verified against the Subject Alternative Name of the host, which appears in the certificate.
After the identity of the host is known and verified, the site is categorized, and it is determined
whether the connection should be inspected or not.
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 (see "Giving Permissions for Client
Certificates" on page 330).
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.
Manage client certificates in Security Policies > Access Control > Access Tools > Client
Certificates..
l See all certificates, their status, expiration date and enrollment key. By default, only
the first 50 results show in the certificate list. Click Show more to see more results.
1. In SmartConsole, select Security Policies > Access Control > Access Tools > Client
Certificates.
3. In the Certificate Distribution page, select how to distribute the enrollment keys to
users. You can select one or both options.
a. Send an email containing the enrollment keys using the selected email
template -Each user gets an email, based on the template you choose, that
contains an enrollment key.
n Mail Server - Select the mail server that sends the emails.
b. Generate a file that contains all of the enrollment keys - Generate a file for
your records that contains a list of all users and their enrollment keys.
4. Optional: To change the expiration date of the enrollment key, edit the number of days
in Users must enroll w ithin x days.
5. Optional: Add a comment that will show next to the certificate in the certificate list on
the Client Certificates page.
6. Click Next .
8. When all included users or groups show in the list, click Generate to create the
certificates and send the emails.
9. If more than 10 certificates are being generated, click Yes to confirm that you want to
continue.
2. Click Revoke .
3. Click OK .
After you revoke a certificate, it does not show in the Client Certificate list.
1. In SmartConsole, select Security Policies > Access Control > Access Tools > Client
Certificates.
2. To create a new template: In the Email Templates for Certificate Distribution pane,
select New .
To edit a template: In the Email Templates for Certificate Distribution pane, double-
click a template.
4. Optional: Enter a Comment . Comments show in the Mail Template list on the Client
Certificates page.
6. Enter a Subject for the email. Click Insert Field to add a predefined field, such as a
Username.
7. In the message body add and format text. Click Insert Field to add a predefined field,
such as Username, Registration Key, or Expiration Date.
9. Click Insert Link and select the type of link to add (link or QR code).
When users scan the QR code or go to the link, it creates the site and registers
the certificate.
Select the client type that will connect to the site- Select one client type that
users will have installed:
l Capsule Connect/VPN - A full Layer 3 tunnel app that gives users network
access to all mobile applications.
n Download Application
Direct users to download a Check Point App for their mobile devices.
l iOS
l Android
Select the client type that will connect to the site- Select one client type that
users will have installed:
l Capsule Connect/VPN - A full Layer 3 tunnel app that gives users network
access to all mobile applications.
n Custom URL
For each link type, you can select which elements are added to the mail
template
n QR Code - When enabled, users scan the code with their mobile devices.
n HTML Link - When enabled, users tap the link on their mobile devices.
You can select both QR Code and HTML Link to include both in the email.
10. Click OK .
11. Optional: Click Preview in Brow ser to see a preview of how the email will look.
12. Click OK .
Cloning a Template
Clone an email template to create a template that is similar to one that already exists.
1. Select a template from the template list in the Client Certificates page.
2. Click Clone .
1. Define an administrator.
2. Create a customized profile for the administrator, with permission to handle client
certificates. Configure this in the Others page of the Administrator Profile. Restrict other
permissions.
n Safe recovery from a crisis, restore a Domain to a good known revision (see Notes below).
Best Practices:
1. Go to Manage & Settings > Sessions > Revisions, and select a revision.
The bottom pane shows the audit logs of the changes made in the revision.
1. Go to Manage & Settings > Sessions > Revisions, and select a revision.
To delete all versions of the database that are older than the selected version:
1. Go to Manage & Settings > Sessions > Revisions, and select a revision.
Important - Purge is irreversible. When you purge, that revision and older
revisions are deleted.
Solution
1. From Security Policies > Threat Prevention > Threat Tools > Updates, in the IPS section,
select an update that is known to be good.
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 .
2. Click Preferences.
5. If you want the message to have a warning icon, in Customize Layout , select Add
w arning sign .
6. If you want the Login window to show your organization's logo, in Customize Layout ,
select Add logo and then Brow se to an image file.
2. Click Preferences.
3. In the Check Point Lab area, select the feature you want to test:
Inspection Settings
You can configure inspection settings for the Firewall:
The Security Management Server comes with two preconfigured inspection profiles for the
Firewall:
n Default Inspection
n 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.
You can:
n Edit user-defined Inspection Settings profiles. You cannot change the Default
Inspection profile and the Recommended Inspection profile.
To edit a setting
2. Click Edit .
n Override w ith Action - from the drop-down menu, select an action with which to
override the default - Accept , Drop, Inactive (the setting is not activated)
Select Capture Packets, if you want to be able to examine packets that were blocked in
Drop rules.
6. Click OK .
7. Click Close .
1. In the Inspection Settings > General view, click View > Show Profiles.
3. Select profiles.
4. Click OK .
You can add, edit, clone, or delete custom Inspection Settings profiles.
2. Click Delete , to remove it, or click Edit to change the profile name, associated color, or
tag.
2. In the New Profile window that opens, edit the profile attributes:
3. Click OK .
1. In the Inspection Settings > Gatew ays view, select a gateway, and click Edit .
3. Click OK .
1. In the Inspection Settings > Exceptions view, click New to add a new exception, or
select an exception and click Edit to modify an existing one.
n Source - select the source Netw ork Object , or select IP Address and enter a
source IP address
n Service - select Port/Range , TCP or UDP, and enter a destination port number or
a range of port numbers
3. Click OK .
SmartTask s
Management SmartTasks let you configure automatic actions according to different triggers in the
system. A SmartTask is a combination of trigger and action.
n Triggers are events – currently defined in terms of existing management operations, such
as install policy or publish
n Actions are automatic responses that take place after a trigger is fired, such as running a
script, posting a web request or sending email.
Available Triggers
n Before Publish - Fired when an administrator publishes a session. The SmartTask passes
the sessions meta-data (publishing administrator, domain information and session name) to
the action. If the local Management API server is available, the session changes about to be
published are formatted as a response to the "show changes" API.
n After Install Policy - Fired after a policy has been installed. The SmartTask passes to the
action information related to the policy installation task, such as the package installed, the
administrator who initiated the installation and the task's result.
Available Actions
n Run Script - Runs a pre-defined Repository Script. The script gets the trigger's data as the
first parameter. The trigger's data is passed as Base64 encoded JSON data, which can be
decoded to implement custom business logic.
For SmartTasks configured to run with "Before" operation triggers, the repository script can
signal whether to abort or continue the operation by printing a JSON object with the "result"
and optional "message" fields and then exit with code 0. If the value of the "result" field is
"failure" the operation aborts.
For SmartTasks configured to run with other triggers, exit code 0 is treated as success. Any
other exit code is treated as failure.
Note - By default, Repository Scripts run on the local Security Management Server although
this can be customized using the Web API.
n Web Request - Executes an HTTPS POST web request to the configured URL. The trigger's
data is passed as JSON data to the request's payload.
Notes:
l The configured URL must start with HTTPS and the target web server capable of
handling such requests.
l For web servers with self-signed SSL certificates, establish trust by specifying the
certificate's fingerprint. You can get the fingerprint by clicking Get Fingerprint in the
SmartTask editor or by viewing the certificate in a web browser.
For SmartTasks configured to run with "Before" operation triggers, the repository script can
signal whether to abort or continue the operation by responding with JSON object "result"
and optional "message" fields and a status of 200 OK. If the value of the "result" field is
"failure" the operation aborts.
For SmartTasks configured to run with other triggers, a 200 OK return code is treated as
success. Any other exit code is treated as failure.
6. Custom Data – You can add additional information to the JSON data sent with the trigger
information by adding a JSON object to the Custom Data field. The JSON custom data is
concatenated to the trigger's payload and passed to the action.
n If the HTTPS request times out - Treat the time-out as an error and abort the event or
continue normally.
n X -chkp-shared-secret – Enter a shared secret that can be used by the target web server
to identify the Security Management Server. The value is sent as part of the request in the
X-chkp-shared-secret header in the out-going web request.
Run script
n Time-out – Number of seconds before the request times out and the request aborted.
n If the script fails to run or times-out – Treat time-out (or execution failure) as an error
and abort the event or continue normally.
Example
Use Case:
A company policy dictates that the publish operation must be used with a service request
number as a prefix to the session name before saving any changes to the database, so the
administrators can see what the rationale for changing the security policy was.
Procedure:
Instructions
a. Select Gatew ays & Servers > Scripts > Scripts Repository > New ( )
Script code
#!/bin/bash
JQ=${CPDIR}/jq/jq
data=`echo $1 | base64 --decode -i`
# Extracting the required session name prefix for the session name based on the input JSON
sessionNamePrefix=`echo $data | $JQ -r .\"custom-data\".\"session-name-prefix\"`
# Abort the publish if the session name doesn't match the expected prefix
if [[ ! $sessionName == $sessionNamePrefix* ]]; then
m1="Corporate Policy requires you to use a ticket number as the session's name."
m2="For example: ${sessionNamePrefix}###### "
m2=${m2//\"/\\\"}
m3="Please change your session's name to meet the requirements and publish again."
printf '{"result":"failure","message":"%s %s %s"}\n' "$m1" "$m2" "$m3"
exit 0
else
# Session name matches the expected prefix, publish is allowed
printf '{"result":"success"}\n'
exit 0
fi
Instructions
b. Give the new SmartTask a name (you can call it "Validate Session Name
Before Publish")
c. In the Trigger and Action section, select from the drop down menu:
d. In the Select script from repository drop down, select the script saved in Step
1.
{"session-name-prefix": "CR"}
Note - If you publish the session without using the prefix, the process fails.
Management High Availability uses the built-in revisions technology and allows the High
Availability procedure to synchronize only the changes done since the last synchronization. This
provides:
The first management server installed is the primary. If the primary Security Management Server
fails, or is off line for maintenance, the administrator can initiate a changeover, so that the
secondary server takes over.
Notes:
n High Availability (and Load Sharing) for Security Gateways is covered in the R80.40 ClusterXL
Administration Guide.
n For Endpoint Security environments, see the R80.40 Endpoint Security Server Administration
Guide.
For full redundancy, the active management server at intervals synchronizes its database with the
secondary server or servers.
In a standard High Availability configuration there is one Active server at a time. The
administrator uses the Active server manage the High Availability configuration. The Active server
automatically synchronizes the standby server(s) at regular intervals. You can open a Standby
server only in Read Only mode. If the Active server fails, you can initiate a changeover to make a
Standby server become the Active server. If communication with the Active server fails, there may
be more than one Active server. This is called Collision Mode.
The sequence in which you install management servers defines them as Primary or Secondary.
The first management server installed becomes the Primary active server. When you install more
Security Management Servers, you define them as Secondary. Secondary servers are Standby
servers by default.
n About Gaia Backup and Gaia Snapshot, see the R80.40 Gaia Administration
Guide.
n About the "migrate export" and "migrate import" commands, see
the R80.40 CLI Reference Guide.
n About the "mds_backup" and "mds_restore" commands, see the
R80.40 CLI Reference Guide.
n About Virtual Machine Snapshots, see the vendor documentation.
In the SmartConsole connected to the Primary server, create a network object to show the
Secondary Security Management Server. After you publish the SmartConsole session,
synchronization starts between the Primary and Secondary Security Management Servers.
2. In Object Categories, clickNew > More > Netw ork Object > Gatew ays and Servers >
Check Point Host .
3. On the General Properties page, enter a unique name and IP address for the server.
This automatically selects the Secondary Server , Logging and Status, and
Provisioning.
6. Create SIC trust between the Primary Security Management Server and the Secondary
Security Management Server:
a. Click Communication .
c. Click Initialize .
d. Click Close .
7. Click OK .
The initialization and synchronization between the two Security Management 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.
The High Availability Status window shows the status of each Security Management Server in
the High Availability configuration.
For the Security Management Server and its peer(s) in the Management High Availability
configuration, the High Availability Status window shows:
n A Warning or Error message - The message shows if there is a problem between the High
Availability peers.
n Peers - The other Security Management Servers the current Security Management
Server detects. Also, the High Availability mode of each Security Management Server
(Active or Standby), and the synchronization status and actions of each Security
Management Server.
Status messages can be general, meaning that they apply to the full system, or they can apply
to a specified active or standby server. General messages show in the yellow overview banner.
Status
Peer Status Additional Information
window area:
Status
Peer Status Additional Information
window area:
Not communicating,
last sync time
Status window
Peer Status Description
area:
Management High Availability uses the built-in revisions technology and allows the High
Availability procedure to synchronize only the changes done since the last synchronization. This
provides:
The first management server installed is the primary. If the primary Security Management Server
fails, or is off line for maintenance, the administrator can initiate a changeover, so that the
secondary server takes over.
Notes:
For full redundancy, the active management server at intervals synchronizes its database with the
secondary server or servers.
In a standard High Availability configuration there is one Active server at a time. The
administrator uses the Active server manage the High Availability configuration. The Active server
automatically synchronizes the standby server(s) at regular intervals. You can open a Standby
server only in Read Only mode. If the Active server fails, you can initiate a changeover to make a
Standby server become the Active server. If communication with the Active server fails, there may
be more than one Active server. This is called Collision Mode.
The sequence in which you install management servers defines them as Primary or Secondary.
The first management server installed becomes the Primary active server. When you install more
Security Management Servers, you define them as Secondary. Secondary servers are Standby
servers by default.
n About Gaia Backup and Gaia Snapshot, see the R80.40 Gaia Administration
Guide.
n About the "migrate export" and "migrate import" commands, see
the R80.40 CLI Reference Guide.
n About the "mds_backup" and "mds_restore" commands, see the
R80.40 CLI Reference Guide.
n About Virtual Machine Snapshots, see the vendor documentation.
In the SmartConsole connected to the Primary Security Management Server, create a Check Point
Host object for the Secondary Security Management Server. After you publish the SmartConsole
session, synchronization starts between the Primary and Secondary Security Management
Servers.
2. In Object Categories, click New > More > Netw ork Object > Gatew ays and Servers >
Check Point Host .
3. On the General Properties page, enter a unique name and IP address for the Secondary
Security Management Server.
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 .
c. Click Initialize .
d. Click Close .
7. Click OK .
8. Publish the SmartConsole session to save these session changes to the database.
The initialization and synchronization between the Security Management 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 Security
Management Server, and one Standby Security Management Server.
For the management server and its peer or peers in the High Availability configuration, the High
Availability Status window shows:
n A Warning or Error message - The message shows if there is a problem between the High
Availability peers.
n Connected To - The server that SmartConsole is connected to. Also, the High Availability
mode of the server (Active or Standby), and the synchronization status and actions of the
server.
n Peers - The servers that the connected server sees. Also, the High Availability mode of each
server (Active or Standby), and the synchronization status and actions of each server.
Some servers could not be A communication issue prevents synchronization, or some other
synchronized synchronization issue exists.
Collision or HA conflict More than one management server configured as active. Two
active servers cannot sync with each other.
Status
Peer Status Additional Information
window area:
Status window
Peer Status Description
area:
When the administrator initiates changeover, all public data is synchronized from the new Active
to the new Standby server after the Standby becomes Active. Data from the new Active overrides
the data on the new Standby. Unpublished changes are not synchronized.
When in collision mode, the Active servers do not sync even if they have network connectivity.
When you change one of them to Standby, sync starts and overwrites the data on the Standby
server with the remaining Active data.
Not Communicating
Solution:
2. Test SIC.
Collision or HA Conflict
More than one management server is configured as active.
Solution:
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.
For details, see High Availability in the R80.40 Endpoint Security Server Administration Guide.
n Create a new Primary server with the IP address of the original Primary server (see "Creating
a New Primary Management Server" below ).
n Promote the Secondary Management Server to Primary and create new licenses.
3. Install the new Secondary Management Server with the IP of the old Primary Management
Server.
4. Reset SIC and connect with SIC to the new Secondary Management Server.
To set the old Primary Management Server as the new Primary Management Server
2. Promote the new Secondary Management Server to be the Primary Management Server.
Follow the procedure of promoting a Secondary Management Server (See "Promoting a
Secondary Management Server to Primary" on the next page - no need to remove instances of
the old Primary Management object and install database).
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.
Note This is the disaster recovery method supported for High Availability
environments with Endpoint Security.
Before you start - make sure that the primary server is offline.
#$FWDIR/bin/promote_util
#cpstop
3. Remove the $FWDIR/conf/mgha* files. They contain information about the current
Secondary settings. These files will be recreated when you start the Check Point services.
4. Make sure you have a mgmtha license on the newly promoted server.
Note - All licenses must have the IP address of the promoted Security
Management Server.
a. Remove all instances of the old Primary Management object. To see all of the
instances, right-click the object and select Where Used.
Note - When you remove the old Primary Management Server, all
previous licenses are revoked.
b. Install database.
-- C-arms --
-- Infusion pumps --
-- Patient monitor --
Check Point's Infinity for IoT provides comprehensive network security for enterprise IT and IoT
devices, smart building devices, industrial IoT, and connected medical equipment in these ways:
1. Prevent malicious intents and unauthorized access to IoT devices by analyzing multiple
threat indicators from various resources.
6. Create separated IoT policy layer, using the discovered IoT device's attributes.
Prerequisites
n Check Point certified IoT Discovery Service installed on the network with a connection to the
Management Server.
n Discovery Service
l Industrial / Enterprise:
o Armis
o Claroty
o Indegy
o Ordr
o SAM
o SCADAfence
l Medical:
o Medigate
o CyberMDX
o Cynerio
n Identity Awareness Web API must be activated on the enforcing gateway (the configuration
is done automatically).
Notes:
Network Overview
Check Point's Infinity for IoT delivers comprehensive IoT cyber-security by applying granular IoT-
based policies. Check Point's IoT protection solution mobilizes hospitals, industries, smart
buildings and offices to reduce and even eliminate IoT attacks.
Network Diagram
Step Description
1 Go to SmartConsole > Objects > New > More > IoT Discovery Service.
The New IoT Discovery Service window opens.
2
To configure the General tab:
a. Enter the Hostname , Port , and Pre-shared Key . The pre-shared key must be
provided from the certified IoT discovery service, and used for authorizing and
authenticating the IoT discovery service.
b. Click OK.
The Certificate Trust window opens. Before verifying, check that the
certificate is valid, and that the IoT discovery service is the certified owner.
Infinity for IoT utilizes the Identity Awareness API. For easy activation, select the
gateways where IoT enforcement will be done.
4 Install Policy.
Configuring a new IoT controller generates a new Threat Prevention profile, and creates a new
rule in the Threat Prevention policy.
Step Description
1 From Security Policies > Access Control, select the IoT Layer.
3 In the Source and/or Destination field, click the plus sign > Add new item....
The Add new item window opens.
4 Select Import > IoT Controllers, and then choose the IoT asset to be add to the
rule.
Advanced log search using the enriched log data to simplify log filtering.
IoT log data contains enriched information that helps identify the IoT assets in the log.
n Manage certificates
n Run searches
n Recreate CRLs
Check Point ICA is fully compliant with X.509 standards for both certificates and CRLs. See the
related X.509 and PKI documentation, and RFC 2459 for more information.
To use the ICA management tool, you must first enable it on the Security Management Server.
Option Description
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 Sets the DNs of the administrators that will be allowed to use the ICA
"administrator Management Tool
DN" ...
-u "user DN" Sets the DNs of users allowed to use the ICA Management Tool. An option
... intended for administrators with limited privileges.
2. Open the ICA Management tool from the browser using this address:
https://<Management_Host_Name>:18265
1 Menu Pane
Shows a list of operations
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.
Item Description
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.
This table shows User Certificate attributes that can be configured using the ICA Management
Tool
5. Click OK .
You can also change the key size using the GuiDBedit Tool (see sk13009). Change the key size as it
is listed in users_certs_key_size Global Property. The new value is downloaded when
you update the site.
n Run an LDAP query for the details of all the organization's employees
n Create a file out of this data, and then use this file to:
n Remove certificates for which the registration procedure was not completed
n Basic searches
For more information, see User Certificates in the R80.40 Remote Access VPN Administration Guide.
n An optional "To" address, which can be used if the users' address is not know
The administrator can use this address to get the certificates on the user's behalf and
forward them later.
3. Click Apply .
2. Use the links to download the CA certificate to your computer or (in Windows) install the CA
certification path.
n A basic search that includes only the user name, type, status and the serial number
n An advanced search that includes all the search fields (can only be performed by
administrators with unlimited privileges)
To do a certificate search:
In the Manage Certificates page, enter the search parameters, and click Search .
l Any (default)
l SIC
l Gateway
l InternalUser or LDAPuser
l Any (default)
l Pending
l Valid
l Revoked
l Expired
l Renewed (superseded)
n Serial Number - Serial number of the requested certificate (by default, this field is empty)
n Valid From - Date, from which the certificate is valid, in the format dd-mmm-yyyy
[hh:mm:ss] (for example 15-Jan-2003) (by default, this field is empty)
n Valid To - Date until which the certificate is valid, in the format dd-mmm-yyyy [hh:mm:ss]
(for example 14-Jan-2003 15:39:26) (by default, this field is empty)
l Any (default)
l No CRL Distribution Point (for certificates issued before the management upgrade - old
CRL mode certificates)
n User Name (CN) - The string between the first equals sign ("=") and the next comma (",")
n DN
n The date from which certificates are valid until the date they expire
Note - The status bar shows search statistics after each search.
n If the status is pending, the certificate information together with the registration key shows,
and a log entry is created and shows in SmartConsole > Logs & Monitor > Logs.
n If the certificate was already created, you can save it on a disk or open directly (if the
operating system recognizes the file extension)
2. Search for a Certificate with set attributes (see "Searching for a Certificate" on page 367).
n Revoke Selected - revokes the selected certificates and removes pending certificates
from the CA's database
n Remove Selected - removes the selected certificates from the CA's database and
from the CR
The mail includes the authorization codes. Messages to users that do not have an
email defined are sent to a default address. For more information, see "Notifying Users
about Certificate Initialization" on page 366.
n Initiate - A registration key is created on the CA and used once by a user to create a
certificate
n Generate -A certificate file is created and associated with a password which must be
entered when the certificate is accessed
n PKCS#10 - When the CA receives a PKCS#10 request, the certificate is created and delivered
to the requester
To initiate a certificate
2. Enter a User Name or Full DN , or click Advanced and fill in the form:
n 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)
n 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.
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
2. Enter a User Name or Full DN , or click Advanced and fill in the form:
n 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)
n 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.
2. Paste into the space the encrypted base-64 buffer text provided.
You can also click on Brow se for a file to insert (IE only) to import the request file.
Note - There are two ways to create this file - through an LDAP query
or a non-LDAP query.
n To send registration keys to the users, select Send registration keys via email
n To receive a file that lists the initialized DNs with their registration keys, select
Save results to file
n Each line after a blank line or the first line in the file represents one DN to be initialized
n If the line starts with "mail=", the string continues with the mail of the use
If no email is given, the email address will be taken from the ICA's "Management Tool
Mail To Address" attribute.
n If there is a line with the not_after attribute, then the value at the next line is the
Certificate Expiration Date.
n If there is a line with the is otp_validity attribute, then the value at the next line is
the Registration Key Expiration Date.
not_after
86400
otp_validity
3600
uid=user_1,ou=People,o=intranet,dc=company,dc=com
[email protected]
<blank_line>
...
uid=...
It is possible to create a simple (non-LDAP) query by configuring the DN + email in a file using
this format:
CRL
CRL Management
By default, the CRL is valid for one week. This value can be configured. New CRLs are issued:
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.
3. Select an action:
n Publish the SmartConsole session to renew the CRL after changes have been made to
the CRL database.
CA Procedures
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.
In the Menu pane, select Manage CRLs > Clean the CA's Database and CRLs from expired
certificates.
Configuring the CA
To configure the CA
If the values are valid, the configured settings become immediately effective. All non-
valid strings are changed to the default values.
n Cancel - Reset all values to the values in the last saved configuration.
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.
n Time - displayed in the format: <number> days <number> seconds, for example: CRL
Duration: 7 days 0 seconds
You can enter the values in the format in which they are displayed (<number> days
<number> seconds) or as a number of seconds.
n Boolean - the values can be true or false (not case sensitive), for example: Enable
renewal: true
CRL Duration The period of time for which the CRL is valid. min-5 1 week
minutes
max-1
year
Grace Period The amount of time the old certificate will min-0 1 week
Before remain in Renewed (superseded) state. max-5
Revocation years
Grace Period The amount of time between sequential checks min-10 1 day
Check Period of the Renewed (superseded) list in order to minutes
revoke those whose duration has passed. max-1
week
Management For security reasons the mail sending button true or false
Tool Hide Mail after displaying a single certificate can be false
Button hidden.
Max The maximum capacity of a CRL in the new CRL min-3 400
Certificates mode. max-
Per 400
Distribution
Point
New CRL A Boolean value describing the CRL mode. 0 for old true
Mode CRL
mode
1 for
new
mode
Number of The number of certificates that will be displayed min-1 approx 700
certificates in each page of the search window. max-
per search approx
page 700
SIC Key Size The key size in bits of keys used in SIC. possible 2048
values:
1024
2048
4096
SIC The amount of time a SIC certificate will be valid. min-10 5 years
Certificate minutes
Validity max-20
Period years
User The key size in bits of the user's certificates. Possible 2048
Certificate values:
Key Size 1024
2048
4096
SIC certificates, VPN certificates for Security Gateways and User certificates can be created in one
step in SmartConsole. User certificates can also be created in two steps using SmartConsole or
the ICA Management Tool. The two steps are:
n Initialization - during this step a registration code is created for the user. When this is done,
the certificate status is pending
n Registration - when the user completes the registration procedure in the remote client.
After entering the registration code the certificate becomes valid.
Enhanced security
If a user does not complete the registration procedure in a given period (two weeks by default),
the registration code is automatically removed. An administrator can remove the registration key
before the user completes the registration procedure. After that, the administrator can revoke the
user certificate.
A user certificate of type PKCS12 can be renewed explicitly by the user. A PKCS12 certificate can
also be set to renew automatically when it is about to expire. This renewal operation ensures that
the user can continuously connect to the organization's network. The administrator can choose
when to set the automatic revoke old user certificates.
SIC certificates are renewed automatically after 75% of the validity time of the certificate has
passed. If, for example, the SIC certificate is valid for five years. After 3.75 years, a new certificate
is created and downloaded automatically to the SIC entity. This automatic renewal ensures that
the SIC connectivity of the gateway is continuous. The administrator can revoke the old certificate
automatically or after a set period of time. By default, the old certificate is revoked one week after
certificate renewal.
Syntax Legend
Whenever possible, this guide lists commands, parameters and options in the alphabetical order.
This guide uses this convention in the Command Line Interface (CLI) syntax:
Character Description
n This command:
cpwd_admin config -a <options>
n Or this command:
cpwd_admin config -d <options>
n Or this command:
cpwd_admin config -p
n Or this command:
cpwd_admin config -r
n Or this command:
cpwd_admin del <options>
Character Description
Square brackets or Enclose an optional command or parameter, which user can also
brackets enter.
[]
contract_util
Description
For more information about Service Contract files, see sk33089: What is a Service Contract File?
Syntax
contract_util [-d]
check <options>
cpmacro <options>
download <options>
mgmt
print <options>
summary <options>
update <options>
verify
Parameters
Parameter Description
cpmacro Overwrites the current cp.macro file with the specified cp.macro file.
<options>
See "contract_util cpmacro" on page 385.
download Downloads all associated Check Point Service Contracts from the User Center,
<options> or from a local file.
See "contract_util download" on page 386.
mgmt Delivers the Service Contract information from the Management Server to the
managed Security Gateways.
See "contract_util mgmt" on page 388.
print Shows all the installed licenses and whether the Service Contract covers these
<options> license, which entitles them for upgrade or not.
See "contract_util print" on page 389.
Parameter Description
update Updates Check Point Service Contracts from your User Center account.
<options>
See "contract_util update" on page 391.
contract_util check
Description
For more information about Service Contract files, see sk33089: What is a Service Contract File?
Syntax
contract_util check
{-h | -help}
hfa
maj_upgrade
min_upgrade
upgrade
Parameters
Parameter Description
hfa Checks whether the Security Gateway is eligible for an upgrade to a higher
Hotfix Accumulator.
maj_ Checks whether the Security Gateway is eligible for an upgrade to a higher
upgrade Major version.
min_ Checks whether the Security Gateway is eligible for an upgrade to a higher
upgrade Minor version.
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?
Syntax
Message Description
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?
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
local Specifies to download the Service Contract from the local file.
This is equivalent to the cplic contract put command.
<Proxy Server> [<Proxy Specifies that the connection to the User Center goes through
Username>:<Proxy the proxy server.
Password>]
n <Proxy Server> - IP address of resolvable hostname
of the proxy server
n <Proxy Username> - Username for the proxy server.
n <Proxy Password> - Password for the proxy server.
<Service Contract Path to and the name of the Service Contract file.
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?
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?
Syntax
Parameters
Parameter Description
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
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?
Syntax
contract_util update
[-proxy <Proxy Server>:<Proxy Port>]
[-ca_path <Path to ca-bundle.crt File>]
Parameters
Parameter Description
-proxy <Proxy Specifies that the connection to the User Center goes through the
Server>:<Proxy Port> proxy server:
-ca_path <Path to Specifies the path to the Certificate Authority Bundle file (ca-
ca-bundle.crt File> bundle.crt).
contract_util verify
Description
This command is the same as the "contract_util check" on page 384 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?
Syntax
contract_util verify
cp_conf
Description
Note - The available options for each Check Point computer depend on the
configuration and installed products.
cp_conf
-h
admin <options>
auto <options>
ca <options>
client <options>
finger <options>
lic <options>
snmp <options>
Parameters
Parameter Description
admin Configures Check Point system administrators for the Security Management
<options> Server.
See "cp_conf admin" on page 395.
auto Shows and configures the automatic start of Check Point products during
<options> boot.
See "cp_conf auto" on page 398.
client Configures the GUI clients that can use SmartConsole to connect to the
<options> Security Management Server.
See "cp_conf client" on page 400.
Parameter Description
cp_conf admin
Description
Configures Check Point system administrators for the Security Management Server.
Notes:
Syntax
cp_conf admin
-h
add [<UserName> <Password> {a | w | r}]
add -gaia [{a | w | r}]
del <UserName1> <UserName2> ...
get
Parameters
Parameter Description
add -gaia [{a | w | r}] Adds the Gaia administrator user admin:
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
cp_conf auto
Description
Shows and controls which of Check Point products start automatically during boot.
Syntax
cp_conf auto
-h
{enable | disable} <Product1> <Product2> ...
get all
Parameters
Parameter Description
[Expert@MGMT:0]#
cp_conf ca
Description
n Configures the Certificate Authority's (CA) Fully Qualified Domain Name (FQDN).
Syntax
cp_conf ca
-h
fqdn <FQDN Name>
init
Parameters
Parameter Description
fqdn <FQDN Configures the Certificate Authority's (CA) Fully Qualified Domain Name
Name> (FQDN).
<FQDN Name> is the text string hostname.domainname
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 are allowed to connect with SmartConsoles to the Security
Management Server.
Notes:
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
createlist <GUI Client 1> Deletes the current allowed GUI clients and creates a
<GUI Client 2> ... new list of allowed GUI clients.
del <GUI Client 1> <GUI Deletes the specified the GUI clients.
Client 2> ...
Examples
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
This fingerprint is a text string derived from the ICA certificate on the Security Management
Server, Multi-Domain Server, or Domain Management Server.
This fingerprint verifies the identity of the Security Management Server, Multi-Domain Server, or
Domain Management Server when you connect to it with SmartConsole.
Syntax
cp_conf finger
-h
get
Parameters
Parameter Description
Example
cp_conf lic
Description
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
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 450.
cp_log_export
Description
For more information, see sk122323 and R80.40 Logging and Monitoring Administration Guide.
Notes:
Syntax
cp_log_export
Parameters
Parameter Description
<command-name> help Shows the built help for the specified internal command.
Internal Commands
Name Description
reexport Reset the current position and reexport all logs per the configuration.
Required
for
Required " show" , Required
Required Required
for " status" , for
for " add" for " set"
Name Description " delete" " start" , " reexpor
comman comman
comman " stop" , t"
d d
d " restart" command
comman
d
Required
for
Required " show" , Required
Required Required
for " status" , for
for " add" for " set"
Name Description " delete" " start" , " reexpor
comman comman
comman " stop" , t"
d d
d " restart" command
comman
d
Required
for
Required " show" , Required
Required Required
for " status" , for
for " add" for " set"
Name Description " delete" " start" , " reexpor
comman comman
comman " stop" , t"
d d
d " restart" command
comman
d
Required
for
Required " show" , Required
Required Required
for " status" , for
for " add" for " set"
Name Description " delete" " start" , " reexpor
comman comman
comman " stop" , t"
d d
d " restart" command
comman
d
cpca_client
Description
Note:
On a 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
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
create_cert <options> Issues a SIC certificate for the Security Management Server or
Domain Management Server.
See "cpca_client create_cert" on page 416.
Parameter Description
get_crldp <options> Shows how to access a CRL file from a CRL Distribution Point.
See "cpca_client get_crldp" on page 420.
get_pubkey <options> Saves the encoding of the public key of the ICA's certificate to a
file.
See "cpca_client get_pubkey" on page 421.
init_certs <options> Imports a list of DNs for users and creates a file with
registration keys for each user.
See "cpca_client init_certs" on page 422.
set_sign_hash Sets the hash algorithm that the CA uses to sign the file hash.
<options>
See "cpca_client set_sign_hash" on page 436.
cpca_client create_cert
Description
Issues a SIC certificate for the Security Management Server or Domain Management Server.
Note:
On a 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
Parameters
Parameter Description
-p <CA port Specifies the TCP port on the Security Management Server or Domain
number> Management Server, which is used to connect to the Certificate
Authority.
The default TCP port number is 18209.
-f <Full Path Specifies the PKCS12 file, which stores the certificate and keys.
to PKCS12 file>
Example
cpca_client double_sign
Description
Note:
On a 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
Parameters
Parameter Description
-p <CA port Optional. Specifies the TCP port on the Security Management Server or
number> Domain Management Server, which is used to connect to the Certificate
Authority.
The default TCP port number is 18209.
-o <Full Path Optional. Saves the certificate into the specified file.
to Output File>
Example
[Expert@MGMT:0]#
cpca_client get_crldp
Description
Note:
On a 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
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to a
file, or use the script command to save the entire CLI session.
-p <CA Optional. Specifies the TCP port on the Security Management Server or Domain
port Management Server, which is used to connect to the Certificate Authority.
number>
The default TCP port number is 18209.
Example
cpca_client get_pubk ey
Description
Saves the encoding of the public key of the ICA's certificate to a file.
Note:
On a 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
cpca_client [-d] get_pubkey [-p <CA port number>] <Full Path to Output
File>
Parameters
Parameter Description
-p <CA port Specifies the TCP port on the Security Management Server or Domain
number> Management Server, which is used to connect to the Certificate Authority.
The default TCP port number is 18209.
<Full Path Saves the encoding of the public key of the ICA's certificate to the specified
to Output file.
File>
Example
cpca_client init_certs
Description
Imports a list of Distinguished Names (DN) for users and creates a file with registration keys for
each user.
Note:
On a 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
Parameters
Parameter Description
-p <CA port Optional. Specifies the TCP port on the Security Management Server or
number> Domain Management Server, which is used to connect to the Certificate
Authority.
The default TCP port number is 18209.
cpca_client lscert
Description
Note:
On a 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
Parameters
Parameter Description
-stat {Pending | Valid | Optional. Filters the search results to those with
Revoked | Expired | certificate status that matches the specified status.
Renewed}
This command does not support multiple values.
-kind {SIC | IKE | User | Optional. Filters the search results to those with
LDAP} certificate kind that matches the specified kind.
This command does not support multiple values.
-ser <Certificate Serial Optional. Filters the search results to those with
Number> certificate serial number that matches the specified
serial number.
This command does not support multiple values.
Example
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
Description
Note:
On a 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
Parameters
Parameter Description
-p <CA port Optional. Specifies the TCP port on the Security Management Server or
number> Domain Management Server, which is used to connect to the Certificate
Authority.
The default TCP port number is 18209.
Note - You can use the parameter '-n' only, or together with the
parameter "-s".
Description
Note:
On a 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
Parameters
Parame
Description
ter
-i Specifies the file that contains the list of the certificate to revoke.
<Full
You must create this file in the same format as the "cpca_client lscert" on page 423
Path
command prints its output.
to
Input Example
File>
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
Note:
On a 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
Parameters
Parameter Description
Parameter Description
-kind {SIC | IKE | User | LDAP} Optional. Specifies the certificate kind to
search.
You can enter multiple values in this
format:
-kind <Kind1> <Kind2> <Kind3>
The default is to search for all kinds.
Example 1
[Expert@MGMT:0]# cpca_client search samplecompany -where comment -kind SIC LDAP -stat Pending Valid Renewed
Example 2
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
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
Note:
On a 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>
See:
Syntax
Parameters
Parameter Description
add Adds the specified administrator, user, or custom user that is permitted to
use the ICA Management Tool.
Parameter Description
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 Optional. Specifies the TCP port on the Security Management Server or
number> Domain Management Server, which is used to connect to the Certificate
Authority.
The default TCP port number is 18265.
-a < Optional. Specifies the DN of the administrator that is permitted to use the
Administrator ICA Management Tool.
DN>
Must specify the full DN as appears in SmartConsole
Procedure
Example:
-a "CN=ICA_Tool_Admin,OU=users,O=MGMT.s6t98x"
Parameter Description
-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:
Procedure
Example:
-u "CN=ICA_Tool_User,OU=users,O=MGMT.s6t98x"
-c <Custom Optional. Specifies the DN for the custom user that is permitted to use the
User DN> ICA Management Tool.
Must specify the full DN as appears in SmartConsole.
Procedure
Example:
-c "CN=ICA_Tool_User,OU=users,O=MGMT.s6t98x"
cpca_client set_sign_hash
Description
Sets the hash algorithm that the CA uses to sign the file hash. Also, see sk103840.
Note:
On a 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
Important - After this change, you must restart the Check Point services with
these commands:
Parameters
Parameter Description
{sha1 | sha256 | sha384 | The hash algorithms that the CA uses to sign the file
sha512} hash.
The default algorithm is SHA-256.
Example
cpca_create
Description
Note:
On a 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
Parameters
Parameter Description
-dn <CA DN> Specifies the Certificate Authority Distinguished Name (DN).
cpconfig
Description
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.
Licenses and Manages Check Point licenses and contracts on this server.
contracts
GUI Clients Configures the GUI clients that can use SmartConsole to connect to
this server.
Random Pool Configures the RSA keys, to be used by Gaia Operating System.
Certificate Authority Initializes the Internal Certificate Authority (ICA) and configures the
Certificate Authority's (CA) Fully Qualified Domain Name (FQDN).
Automatic start of Shows and controls which of the installed Check Point products start
Check Point automatically during boot.
Products
[Expert@MyMGMT:0]# cpconfig
This program will let you re-configure
your Check Point Security Management Server configuration.
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 about an issue on
your Check Point computer.
cplic
Description
You can run this command in Gaia Clish or in the Expert mode.
Licensing
Applies To Description
Commands
Local licensing Management You execute these commands locally on the Check
commands Servers, Point computers.
Security Gateways
and Cluster
Members
cplic [-d]
{-h | -help}
check <options>
contract <options>
del <options>
print <options>
put <options>
Syntax for Remote Licensing on managed Security Gateways and Cluster Members
cplic [-d]
{-h | -help}
del <options>
get <options>
put <options>
upgrade <options>
cplic [-d]
{-h | -help}
db_add <options>
db_print <options>
db_rm <options>
Parameters
Parameter Description
check Confirms that the license includes the feature on the local Security
<options> Gateway or Management Server.
See "cplic check" on page 446.
contract Manages (deletes and installs) the Check Point Service Contract on the
<options> local Check Point computer.
See "cplic contract" on page 448.
Parameter Description
del <options> Deletes a Check Point license on a host, including unwanted evaluation,
expired, and other licenses.
See "cplic del" on page 455.
del <Object Detaches a Central license from a remote managed Security Gateway or
Name> Cluster Member.
<options>
See "cplic del <object name>" on page 456.
print Prints details of the installed Check Point licenses on the local Check
<options> Point computer.
See "cplic print" on page 459.
put <Object Attaches one or more Central or Local licenses to a remote managed
Name> Security Gateways and Cluster Members.
<options>
See "cplic put <object name>" on page 463.
cplic check
Description
Confirms that the license includes the feature on the local Security Gateway or Management
Server. See sk66245.
Syntax
cplic [-d] check [-p <Product>] [-v <Version>] [{-c | -count}] [-t
<Date>] [{-r | -routers}] [{-S | -SRusers}] <Feature>
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to
a file, or use the script command to save the entire CLI session.
Parameter Description
cplic contract
Description
Deletes the Check Point Service Contract on the local Check Point computer.
Installs the Check Point Service Contract on the local Check Point computer.
Note
n For more information about Service Contract files, see sk33089: What is a
Service Contract File?
n If you install a Service Contract on a managed Security Gateway / Cluster
Member, you must update the license repository on the applicable
Management Server - either with the "cplic get" on page 457 command, or
in SmartUpdate.
Syntax
cplic contract -h
Parameters
Parameter Description
cplic db_add
Description
When you add Local licenses to the license repository, Management Server automatically attaches
them to the managed Security Gateway / Cluster Member with the matching IP address.
When you add Central licenses, you must manually attach them.
Note - You get the license details in the Check Point User Center.
Syntax
Parameters
Parameter Description
Parameter Description
< The SKU of the license summarizes the features included in the license.
SKU/Features> 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:
cplic db_print
Description
Shows the details of Check Point licenses stored in the license repository on the Management
Server.
Syntax
cplic [-d] db_print {<Object Name> | -all} [{-n | -noheader}] [-x] [{-
t | -type}] [{-a | -attached}]
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output
to a file, or use the script command to save the entire CLI session.
Example
cplic db_rm
Description
After you remove the license from the repository, it can no longer use it.
Warning - You can run this command ONLY after you detach the license with
the "cplic del" on page 455 command.
Syntax
Parameters
Parameter Description
Example
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
Parameters
Parameter Description
<Object Name> The name of the Security Gateway / Cluster Member object as defined in
SmartConsole.
Description
Detaches a Central license from a remote managed Security Gateway or Cluster Member.
When you run this command, it automatically updates the license repository.
Syntax
cplic [-d] del <Object Name> [-F <Output File>] [-ip <Dynamic IP
Address>] <Signature>
Parameters
Parameter Description
<Object Name> The name of the Security Gateway / Cluster Member object as
defined in SmartConsole.
-ip <Dynamic IP Deletes the license on the DAIP Security Gateway with the specified
Address> IP address.
Note - If this parameter is used, then object name must be a DAIP
Security Gateway.
cplic get
Description
Retrieves all licenses from managed Security Gateways and Cluster Members into the license
repository on the Management Server.
This command helps synchronize the license repository with the managed Security Gateways and
Cluster Members.
When you run this command, it updates the license repository with all local changes.
Syntax
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to a
file, or use the script command to save the entire CLI session.
-all Retrieves licenses from all Security Gateways and Cluster Members in the
managed network.
<IP The IP address of the Security Gateway / Cluster Member, from which licenses are
Address> to be retrieved.
<Host The name of the Security Gateway / Cluster Member object as defined in
Name> SmartConsole, from which licenses are to be retrieved.
Example
If the 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:
cplic print
Description
Prints details of the installed Check Point licenses on the local Check Point computer.
Syntax
Parameters
Parameter Description
Example 1
Example 2
cplic put
Description
Note - You get the license details in the Check Point User Center.
Syntax
Parameters
Parameter Description
{-o | - On a Security Gateway / Cluster Member, this command erases only the
overwrite} local licenses, but not central licenses that are installed remotely.
{-c | - Verifies the license. Checks if the IP of the license matches the Check Point
check-only} computer and if the signature is valid.
{-s | - Selects only the local license whose IP address matches the IP address of
select} the Check Point computer.
{-P | -Pre- Use this option after you have upgraded and before you reboot the Check
boot} Point computer.
Use of this option will prevent certain error messages.
Parameter Description
<Host> Hostname or IP address of the Security Gateway / Cluster Member for a local
license.
Hostname or IP address of the Security Management Server / Domain
Management Server for a central license.
< The SKU of the license summarizes the features included in the license.
SKU/Features For example: CPSUITE-EVAL-3DES-vNG
>
Copy and paste the parameters from the license received from the User Center:
Parameter Description
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
Description
Attaches one or more Central or Local licenses to a remote managed Security Gateways and
Cluster Members.
When you run this command, it automatically updates the license repository.
Note
Syntax
Parameters
Parameter Description
<Object Name> The name of the Security Gateway / Cluster Member object, as defined
in SmartConsole.
-ip <Dynamic IP Installs the license on the Security Gateway with the specified IP
Address> address.
This parameter is used to install a license on a Security Gateway with
dynamically assigned IP address (DAIP).
Note - If you use this parameter, then the object name must
be that of a DAIP Security Gateway.
<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
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
Parameters
Parameter Description
-l Upgrades the licenses in the license repository and Check Point Security
<Input Gateways / Cluster Members to match the licenses in the specified file.
File>
Example
This example explains the procedure to upgrade the licenses in the license repository.
n One license does not match any license on a remote managed Security Gateway.
n The other license matches an NGX-version license on a managed Security Gateway that has
to be upgraded.
Ensure that there is connectivity between the Security Management Server and the Security
Gateways with the previous product versions.
You can also do this after you upgrade the products on the remote Security Gateways.
Example:
Example:
5. In the Check Point User Center, view the licenses for the products that were upgraded from
version NGX to a Software Blades license.
Only download licenses for the products that were upgraded from version NGX to Software
Blades.
7. If you did not import the version NGX licenses into the repository, import the version NGX
licenses now.
n The licenses in the downloaded license file and in the license repository are
compared.
n 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.
cppk g
Description
Manages the SmartUpdate software packages repository on the Security Management Server.
Syntax
cppkg
add <options>
{del | delete} <options>
get
getroot
print
setroot <options>
Notes:
Parameters
Parameter Description
getroot Shows the path to the root directory of the repository (the value of the
environment variable $SUROOT).
See "cppkg getroot" on page 474.
cppk g add
Description
Notes:
Syntax
Parameters
Parameter Description
<Full Path to Specifies the full local path on the computer to the SmartUpdate
Package> software package.
Example - Adding R77.20 HFA_75 (R77.20.75) firmware pack age for 1100 Appliances
ppk g delete
Description
Deletes SmartUpdate software packages from the SmartUpdate software packages repository.
Notes:
Syntax
Parameters
Parameter Description
del | When you do not specify optional parameters, the command runs in the
delete interactive mode. The command shows the menu with applicable options.
Notes:
n To see the values for the optional parameters, run the "cppkg print" on
page 475 command.
n You must specify all optional parameters, or no parameters.
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]#
cppk g 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:
Syntax
cppkg get
Example
cppk g getroot
Description
Shows the path to the root directory of the SmartUpdate software packages repository (the value
of the environment variable $SUROOT)
Notes:
Syntax
cppkg getroot
Example
cppk g print
Description
Prints the list of SmartUpdate software packages in the SmartUpdate software packages
repository.
Notes:
Syntax
cppkg print
Example - R77.20 HFA_75 (R77.20.75) firmware pack age for 1100 Appliances
cppk g setroot
Description
Configures the path to the root directory of the SmartUpdate software packages repository.
Notes:
Syntax
Example
cpprod_util
Description
This utility lets you work with Check Point Registry ($CPDIR/registry/HKLM_registry.data)
without manually opening it:
n Shows which Check Point products and features are enabled on this Check Point computer.
n Enables and disables Check Point products and features on this Check Point computer.
Syntax
cpprod_util -dump
Parameters
Parameter Description
"< Specifies the configuration parameter for the specified product or feature.
Parameter
>"
"<Value>" Specifies the value of the configuration parameter for the specified product or
feature:
Notes
n On a Multi-Domain Server, you must run this command in the context of the relevant
Domain Management Server.
l The list of all available products and features (for example, "FwIsFirewallMgmt",
"FwIsLogServer", "FwIsStandAlone")
l The type of the expected argument when you configure a product or feature ("no-
parameter", "string-parameter", or "integer-parameter")
n To redirect the output of the cpprod_util command, you need to redirect the stderr to
stdout:
Example:
Examples
Example - Showing a list of all installed Check Point Products Pack ages on a
Management Server
[Expert@MGMT:0]# cpprod_util CPPROD_GetInstalledProducts
CPFC
IDA
MGMT
FW1
SecurePlatform
NGXCMP
EdgeCmp
SFWCMP
SFWR75CMP
SFWR77CMP
FLICMP
R75CMP
R7520CMP
R7540CMP
R76CMP
R77CMP
PROVIDER-1
Reporting Module
SmartLog
CPinfo
VSEC
DIAG
[Expert@MGMT:0]#
Example - Check ing if this Check Point computer is configured as a dedicated Log
Server
[Expert@MGMT:0]# cpprod_util FwIsLogServer
1
[Expert@MGMT:0]#
Example - Check ing if on this Management Server the SmartEvent Server blade is
enabled
[Expert@MGMT:0]# cpprod_util RtIsAnalyzerServer
1
[Expert@MGMT:0]#
cprid
Description
This daemon is used for remote upgrade and installation of Check Point products on the
managed Security Gateways.
Notes:
Commands
Syntax Description
run_cprid_ Stops and then starts the Check Point Remote Installation Daemon
restart (cprid).
cprinstall
Description
Performs installation of Check Point product packages and associated operations on remote
managed Security Gateways.
Notes:
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
get n Gets details of the products and the operating system installed on the
<options> managed Security Gateway.
n Updates the management database on the Security Management
Server.
revert Restores the managed Security Gateway that runs on SecurePlatform OS from
<options> a snapshot saved on that Security Gateway.
See "cprinstall revert" on page 495.
show Displays all snapshot (backup) files on the managed Security Gateway that
<options> runs on SecurePlatform OS.
See "cprinstall show" on page 496.
transfer Transfers a software package from the repository to the managed Security
<options> Gateway without installing the package.
See "cprinstall transfer" on page 498.
Parameter Description
cprinstall boot
Description
Notes:
Syntax
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
cprinstall cprestart
Description
Notes:
Syntax
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
cprinstall cpstart
Description
Notes:
Syntax
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
cprinstall cpstop
Description
Notes:
Syntax
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.
- Kills the Check Point daemons and Security Servers and unloads the Security
nopolicy Policy from the Check Point kernel.
Example
cprinstall delete
Description
Deletes a snapshot (backup) file on the managed Security Gateway that runs on SecurePlatform
OS.
Notes:
Syntax
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
cprinstall get
Description
n Gets details of the products and the operating system installed on the managed Security
Gateway.
Notes:
Syntax
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example:
cprinstall install
Description
Notes:
Syntax
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 that runs on SecurePlatform OS.
n checkpoint
n Check Point
n SVNfoundation
n firewall
n floodgate
n CP1100
n VPN-1 Power/UTM
n SmartPortal
Example
cprinstall revert
Description
Restores the managed Security Gateway that runs on SecurePlatform OS from a snapshot saved
on that Security Gateway.
Notes:
Syntax
Parameters
Parameter Description
cprinstall show
Description
Displays all snapshot (backup) files on the managed Security Gateway that runs on
SecurePlatform OS.
Notes:
Syntax
Parameters
Parameter Description
<Object Name> The name of the Security Gateway object as configured in SmartConsole.
Example
cprinstall snapshot
Description
Creates a snapshot on the managed Security Gateway that runs on SecurePlatform OS and saves
it on that Security Gateway.
Notes:
Syntax
Parameters
Parameter Description
cprinstall transfer
Description
Transfers a software package from the repository to the managed Security Gateway without
installing the package.
Notes:
Syntax
Parameters
Parameter Description
n checkpoint
n Check Point
n SVNfoundation
n firewall
n floodgate
n CP1100
cprinstall uninstall
Description
Notes:
Syntax
Parameters
Parameter Description
-boot Reboots the managed Security Gateway after uninstalling the package.
Note - Reboot is canceled in certain scenarios.
n checkpoint
n Check Point
n SVNfoundation
n firewall
n floodgate
n CP1100
Example
cprinstall verify
Description
n That the operating system and currently installed products the managed Security Gateway
are appropriate for the software package.
n That there is enough disk space to install the product the managed Security Gateway.
Notes:
Syntax
Parameters
Parameter Description
n checkpoint
n Check Point
n SVNfoundation
n firewall
n floodgate
n CP1100
n VPN-1 Power/UTM
n SmartPortal
cpstart
Description
Notes:
Syntax
cpstart
cpstat
Description
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 order.
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output
to a file, or use the script command to save the entire CLI session.
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.
Note - On a 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>.
-p <Port> Optional.
Port number of the Application Monitoring (AMON) server.
The default port is 18192.
-s Optional.
<SICname> Secure Internal Communication (SIC) name of the Application Monitoring
(AMON) server.
Parameter Description
-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.
-o <Polling Optional.
Interval> Specifies the polling interval (in seconds) - how frequently the command
collects and shows the information.
Examples:
n 0 - The command shows the results only once and the stops (this is the
default value).
n 5 - The command shows the results every 5 seconds in the loop.
n 30 - The command shows the results every 30 seconds in the loop.
n 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.
Examples:
Example:
cpstat os -f perf -o 2 -c 2
Parameter Description
-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
< Mandatory.
Application See the table below with flavors for the application flags.
Flag>
Note - The available flags depend on the enabled Software Blades. Some flags
are supported only by a Security Gateway, and some flags are supported only
by a Management Server.
Feature or
Software Flag Flavors
Blade
List of enabled blades fw, ips, av, urlf, vpn, cvpn, aspm, dlp,
Software appi, anti_bot, default, content_
awareness, threat-emulation, default
Blades
Feature or
Software Flag Flavors
Blade
Anti-Virus ci default
Feature or
Software Flag Flavors
Blade
QoS fg all
Feature or
Software Flag Flavors
Blade
Provisioning PA default
Agent
Examples
Example - CPU utilization
[Expert@HostName:0]# cpstat -f cpu os
CPU User Time (%): 1
CPU System Time (%): 0
CPU Idle Time (%): 99
CPU Usage (%): 1
CPU Queue Length: -
CPU Interrupts/Sec: 172
CPUs Number: 8
[Expert@HostName:0]#
Example - Performance
[Expert@HostName:0]# cpstat os -f perf -o 2 -c 2 -e 60
[Expert@HostName:0]#
Connected clients
-------------------------------------------------------
|Client type |Administrator|Host |Database lock|
-------------------------------------------------------
|SmartConsole|admin |JOHNDOE-PC |false |
-------------------------------------------------------
[Expert@MGMT:0]#
cpstop
Description
Notes:
Syntax
cpstop
cpview
Overview of CPView
Description
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).
On Security Gateway, you can use this statistical data to monitor the performance.
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
Q Quits CPView.
Key Description
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_<ID of the cpview process>.cap<Number of the capture>
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, DAService, 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.
Monitoring Description
Passive WatchDog restarts the process only when the process terminates abnormally.
In the output of the cpwd_admin list command, the MON column shows N for
passively monitored processes.
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
Parameter Description
start_ Starts the active WatchDog monitoring - WatchDog monitors the predefined
monitor processes actively.
See "cpwd_admin start_monitor" on page 533.
stop_ Stops the active WatchDog monitoring - WatchDog monitors all processes only
monitor passively.
See "cpwd_admin stop_monitor" on page 536.
cpwd_admin config
Description
Syntax
cpwd_admin config
-h
-a <options>
-d <options
-p
-r
Parameters
Parameter Description
These are the available configuration parameters and the accepted values:
Configuration Accepted
Description
Parameter Values
reset_ n Range: Configures the time (in seconds) the WatchDog waits after
startups >0 the process starts and before the WatchDog resets the
n Default: process's startup_counter to 0.
3600 To see the process's startup counter, in the output of the
cpwd_admin list command, refer to the #START column.
stop_ n Range: Configures the time (in seconds) the WatchDog waits for a
timeout >0 process stop command to complete.
n Default:
60
Configuration Accepted
Description
Parameter Values
Example
cpwd_admin del
Description
Temporarily deletes a monitored process from the WatchDog database of monitored processes.
Notes:
n WatchDog stops monitoring the detached process, but the process stays
alive.
n The "cpwd_admin list" on page 528 command does not show the deleted
process anymore.
n This change applies until all Check Point services restart during boot, or
with the "cpstart" on page 504 command.
Parameters
Parameter Description
< Name of the monitored Check Point process as you see in the output of the
Application "cpwd_admin list" on page 528 command in the leftmost column APP.
Name>
Examples:
n FWM
n FWD
n CPD
n CPM
Example
cpwd_admin detach
Description
Notes:
n WatchDog stops monitoring the detached process, but the process stays
alive.
n The "cpwd_admin list" on page 528 command does not show the detached
process anymore.
n This change applies until all Check Point services restart during boot, or
with the "cpstart" on page 504 command.
Parameters
Parameter Description
< Name of the monitored Check Point process as you see in the output of the
Application "cpwd_admin list" on page 528 command in the leftmost column APP.
Name>
Examples:
n FWM
n FWD
n CPD
n CPM
Example
cpwd_admin exist
Description
Syntax
cpwd_admin exist
Example
cpwd_admin flist
Description
Parameters
Parameter Description
Output
Column Description
n E - executing
n T - terminated
#START Shows how many times the WatchDog started the monitored process.
START_ Shows the time when the WatchDog started the monitored process for the last
TIME time.
SLP/LIMIT In verbose output, shows the values of the sleep_timeout and no_limit
configuration parameters (see "cpwd_admin config" on page 518).
MON Shows how the WatchDog monitors this process (see the explanation for the
"cpwd_admin" on page 515):
n Y - Active monitoring
n N - Passive monitoring
COMMAND Shows the command the WatchDog run to start this process.
Example
cpwd_admin getpid
Description
Parameters
Parameter Description
< Name of the monitored Check Point process as you see in the output of the
Application "cpwd_admin list" on page 528 command in the leftmost column APP.
Name>
Examples:
n FWM
n FWD
n CPD
n CPM
Example
cpwd_admin k ill
Description
Syntax
cpwd_admin kill
cpwd_admin list
Description
Parameters
Parameter Description
Output
Column Description
n E - executing
n T - terminated
#START Shows how many times the WatchDog started the monitored process.
START_ Shows the time when the WatchDog started the monitored process for the last
TIME time.
SLP/LIMIT In verbose output, shows the values of the sleep_timeout and no_limit
configuration parameters (see "cpwd_admin config" on page 518).
MON Shows how the WatchDog monitors this process (see the explanation for the
"cpwd_admin" on page 515):
n Y - Active monitoring
n N - Passive monitoring
COMMAND Shows the command the WatchDog run to start this process.
Examples
cpwd_admin monitor_list
Description
Syntax
cpwd_admin monitor_list
Example
cpwd_admin start
Description
Parameters
Parameter Description
-name <Application Name, under which the cpwd_admin list command shows the
Name> monitored process in the leftmost column APP.
Examples:
n FWM
n FWD
n CPD
n CPM
-path "<Full Path The full path (with or without Check Point environment variables) to
to Executable>" the executable including the executable name.
Must enclose in double-quotes.
Examples:
Parameter Description
-env {inherit | Configures whether to inherit the environment variables from the
<Env_Var>=<Value>} shell.
Example
For the list of process and the applicable syntax, see sk97638.
cpwd_admin start_monitor
Description
Starts the active WatchDog monitoring. WatchDog monitors the predefined processes actively.
Syntax
cpwd_admin start_monitor
Example
cpwd_admin stop
Description
Parameters
Parameter Description
-name <Application Name under which the cpwd_admin list command shows the
Name> monitored process in the leftmost column APP.
Examples:
n FWM
n FWD
n CPD
n CPM
-path "<Full Path The full path (with or without Check Point environment variables)
to Executable>" to the executable including the executable name.
Must enclose in double-quotes.
Examples:
Parameter Description
-env {inherit | Configures whether to inherit the environment variables from the
<Env_Var>=<Value>} shell.
Example
For the list of process and the applicable syntax, see sk97638.
cpwd_admin stop_monitor
Description
Stops the active WatchDog monitoring. WatchDog monitors all processes only passively.
Syntax
cpwd_admin stop_monitor
Example
dbedit
Description
Syntax
dbedit -help
Note:
On a 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>
Parameters
Parameter Description
-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 changes with the dbedit
commands and run the savedb command, the dbedit utility saves and
commits your changes to the actual management database.
Parameter Description
-u Specifies the username, with which the dbedit utility connects to the Security
<Username> Management Server.
Mandatory parameter when you specify the "-s <Management_Server>"
parameter.
-c < Specifies the user's certificate file, with which the dbedit utility connects to
Certificate the Security Management Server.
>
Mandatory parameter when you specify the "-s <Management_Server>"
parameter.
-p Specifies the user's password, with which the dbedit utility connects to the
<Password> Security Management Server.
Mandatory parameter when you specify the "-s <Management_Server>"
and "-u <Username>" parameters.
-f <File_ Specifies the file that contains the applicable dbedit internal commands (see
Name> the section "dbedit Internal Commands" below):
ignore_ Continues to execute the dbedit internal commands in the file and ignores
script_ errors.
failure
You can use it when you specify the "-f <File_Name>" parameter.
-continue_ Continues to update the modified objects, even if the operation fails for some
updating 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_ Specifies the reason for opening the database in read-write mode (default
Reason_ mode).
Text>"
Parameter Description
-d Specifies the name of the database, to which the dbedit utility should connect
<Database_ (for example, mdsdb).
Name>
-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.
Note - To see the available tables, class names (object types), attributes and
values, connect to Management Server with GuiDBedit Tool.
-h Description:
Prints the general help.
Syntax:
dbedit> -h
-q Description:
Quits from dbedit.
quit Syntax:
dbedit> -q
Examples:
n Exit the utility and commit the remaining modified objects (interactive
mode):
dbedit> quit
n Exit the utility and update all the remaining modified objects:
dbedit> quit -update_all
n Exit the utility and discard all modifications:
dbedit> quit -no_update
update Description:
Saves the specified object in the specified table (for example, "network_
objects", "services", "users").
Syntax:
dbedit> update <table_name> <object_name>
Example:
Save the object My_Service in the table services:
dbedit> update services My_Service
update_all Description:
Saves all the modified objects.
Syntax:
dbedit> update_all
_print_set Description:
Prints the specified object from the specified table (for example, "network_
objects", "services", "users") as it appears in the
$FWDIR/conf/objects_5_0.C file (sets of attributes).
Syntax:
dbedit> _print_set <table_name> <object_name>
Example:
Print the object My_Obj from the table network_objects:
dbedit> print network_objects My_Obj
print Description:
Prints the list of attributes of the specified object from the specified table (for
example, "network_objects", "properties", "services", "users").
Syntax:
dbedit> print <table_name> <object_name>
Examples:
n Print the object My_Obj from the table network_objects (in "Network
Objects"):
dbedit> print network_objects my_obj
n Print the object firewall_properties from the table properties (in "Global
Properties"):
dbedit> print properties firewall_properties
printxml Description:
Prints in XML format the list of attributes of the specified object from the
specified table (for example, "network_objects", "properties",
"services", "users").
You can export the settings from a Management Server to an XML file that
you can use later with external automation systems.
Syntax:
dbedit> printxml <table_name> [<object_name>]
Examples:
printbyuid Description:
Prints the attributes of the object specified by its UID (appears in the
$FWDIR/conf/objects_5_0.C file at the beginning of the object as
"chkpf_uid ({...})").
Syntax:
dbedit> printbyuid {object_id}
Example:
Print the attributes of the object with the specified UID:
dbedit> printbyuid {D3833F1D-0A58-AA42-865F-
39BFE3C126F1}
query Description:
Prints all the objects in the specified table.
Optionally, you can query for objects with specific attribute and value - query
is separated by a comma after "query <table_name>" (spaces are not
allowed between the <attribute> and '<value>').
Syntax:
dbedit> query <table_name> [ , <attribute>='<value>' ]
Examples:
whereused Description:
Checks where the specified object used in the database.
Prints the number of places, where this object is used and relevant
information about each such place.
Syntax:
dbedit> whereused <table_name> <object_name>
Example:
Check where the object My_Obj is used:
dbedit> whereused network_objects My_Obj
create Description:
Creates an object of specified type (with its default values) in the database.
Restrictions apply to the object's name:
Syntax:
dbedit> create <object_type> <object_name>
Example:
Create the service object My_Service of the type tcp_service (with its default
values):
dbedit> create tcp_service my_service
delete Description:
Deletes an object from the specified table.
Syntax:
dbedit> delete <table_name> <object_name>
Example:
Delete the service object My_Service from the table services:
dbedit> delete services my_service
modify Description:
Modifies the value of specified attribute in the specified object in the
specified table (for example, "network_objects", "services", "users") in
the management database.
Syntax:
dbedit> modify <table_name> <object_name> <field_name>
<value>
Examples:
n Modify the color to red in the object My_Service in the table services:
dbedit> modify services My_Service color red
n Add a comment to the object MyObj:
dbedit> modify network_objects MyObj comments
"Created by fwadmin with dbedit"
n Set the value of the global property ike_use_largest_possible_subnets in
the table properties to false:
dbedit> modify properties firewall_properties ike_
use_largest_possible_subnets false
n Create a new interface on the Security Gateway My_FW and modify its
attributes - set the IP address / Mask and enable Anti-Spoofing on
interface with "Element Index"=3 (check the attributes of the object My_
FW in GuiDBedit Tool):
dbedit> addelement network_objects My_FW interfaces
interface
dbedit> modify network_objects My_FW
interfaces:3:officialname NAME_OF_INTERFACE
dbedit> modify network_objects My_FW
interfaces:3:ipaddr IP_ADDRESS
dbedit> modify network_objects My_FW
interfaces:3:netmask NETWORK_MASK
dbedit> modify network_objects My_FW
interfaces:3:security:netaccess:access specific
dbedit> modify network_objects My_FW
interfaces:3:security:netaccess:allowed network_
objects:group_name
dbedit> modify network_objects My_FW
interfaces:3:security:netaccess:perform_anti_
spoofing true
dbedit> modify network_objects MyObj FieldA LINKSYS
n In the Owned Object MyObj change the value of FieldB to NewVal:
dbedit> modify network_objects MyObj FieldA:FieldB
NewVal
lock Description:
Locks the specified object (by administrator) in the specified table (for
example, "network_objects", "services", "users") from being modified
by other users.
For example, if you connect from a remote computer to this Management
Server with admin1 and lock an object, you are be able to connect with
admin2, but are not able to modify the locked object, until admin1 releases
the lock.
Syntax:
dbedit> lock <table_name> <object_name>
Example:
Lock the object My_Service_Obj in the table services in the database:
dbedit> lock services My_Service_Obj
addelement Description:
Adds a specified multiple field / container (with specified value) to a specified
object in specified table.
Syntax:
dbedit> addelement <table_name> <object_name> <field_
name> <value>
Examples:
rmelement Description:
Removes a specified multiple field / container (with specified value) from a
specified object in specified table.
Syntax:
dbedit> rmelement <table_name> <object_name> <field_
name> <value>
Examples:
rename Description:
Renames the specified object in specified table.
Syntax:
dbedit> rename <table_name> <object_name> <new_object_
name>
Example:
Rename the network object london to chicago in the table network_objects:
dbedit> rename network_objects london chicago
rmbyindex Description:
Removes an element from a container by element's index.
Syntax:
dbedit> rmbyindex <table_name> <object_name> <field_
name> <index_number>
Example:
Remove the element backup_log_servers from the container log_servers by
element index 1 in the table network_objects:
dbedit> rmbyindex network_objects g log_servers:backup_
log_servers 1
add_owned_ Description:
remove_name Adds an owned object (and removes its name) to a specified owned object
field (or container).
Syntax:
dbedit> add_owned_remove_name <table_name> <object_
name> <field_name> <value>
Example:
Add the owned object My_Gateway (and remove its name) to the owned object
field (or container) my_external_products:
dbedit> add_owned_remove_name network_objects My_
Gateway additional_products owned:my_external_products
is_delete_ Description:
allowed Checks if the specified object can be deleted from the specified table (object
cannot be deleted if it is used by other objects).
Syntax:
dbedit> is_delete_allowed <table_name> <object_name>
Example:
dbedit> is_delete_allowed network_objects MyObj
Check if the object MyObj can be deleted from the table network_objects:
set_pass Description:
Sets specified password for specified user.
Notes:
Syntax:
dbedit> set_pass <Username> <Password>
Example:
Set the password 1234 for the user abcd:
dbedit> set_pass abcd 1234
savedb Description:
Saves the database. You can run this command only when the database is
locked globally (when you start the dbedit utility with the "dbedit -
globallock" command).
Syntax:
dbedit> savedb
savesession Description:
Saves the session. You can run this command only when you start the dbedit
utility in session mode (with the "dbedit -session" command).
Syntax:
dbedit> savesession
fw
Description
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
Parameter Description
Best Practice - If you use this parameter, then redirect the output to
a file, or use the script command to save the entire CLI session.
fetchlogs Fetches the specified Check Point log files - Security ($FWDIR/log/*.log*) or
<options> Audit ($FWDIR/log/*.adtlog*), from the specified Check Point computer.
See "fw fetchlogs" on page 551.
Parameter Description
log Shows the content of Check Point log files - Security ($FWDIR/log/*.log) or
<options> Audit ($FWDIR/log/*.adtlog).
See "fw log" on page 556.
logswitch Switches the current active Check Point log file - Security
<options> ($FWDIR/log/fw.log) or Audit ($FWDIR/log/fw.adtlog).
See "fw logswitch" on page 565.
lslogs Shows a list of Check Point log files - Security ($FWDIR/log/*.log*) or Audit
<options> ($FWDIR/log/*.adtlog*), located on the local computer or a remote
computer.
See "fw lslogs" on page 569.
mergefiles Merges several Check Point log files - Security ($FWDIR/log/*.log) or Audit
<options> ($FWDIR/log/*.adtlog), into a single log file.
See "fw mergefiles" on page 572.
repairlog Rebuilds pointer files for Check Point log files - Security ($FWDIR/log/*.log)
<options> or Audit ($FWDIR/log/*.adtlog).
See "fw repairlog" on page 575.
sam_policy Manages the Suspicious Activity Policy editor that lets you work with these type
<options> of rules:
or
samp n Suspicious Activity Monitoring (SAM) rules.
<options> n Rate Limiting rules.
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
Best Practice - 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 Specifies the name of the log file to fetch. Need to specify name only.
of Log
Notes:
File N>
n 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*).
n The specified log file name can include wildcards * and ? (for example,
2017-0?-*.log).
If you enter a wildcard, you must enclose it in double quotes or single
quotes.
n You can specify multiple log files in one command.
You must use the -f parameter for each log file name pattern.
n 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.
Notes:
n 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.
n This command moves the specified log files to the $FWDIR/log/ directory on the local
Check Point computer, on which you run this command.
2. Fetch the rotated log file from the applicable Check Point computer:
n This command renames the log files it fetched from the specified Check Point computer.
The new log file name is the concatenation of the Check Point computer's name (as
configured in SmartConsole), two underscore (_) characters, and the original log file name
(for example: MyGW__2019-06-01_000000.log).
[Expert@HostName:0]# ls $FWDIR/log/MyGW*
/opt/CPsuite-R80.40/fw1/log/MyGW__2019-06-01_000000.log
/opt/CPsuite-R80.40/fw1/log/MyGW__2019-06-01_000000.logaccount_ptr
/opt/CPsuite-R80.40/fw1/log/MyGW__2019-06-01_000000.loginitial_ptr
/opt/CPsuite-R80.40/fw1/log/MyGW__2019-06-01_000000.logptr
[Expert@HostName:0]#
fw hastat
Description
Shows information about Check Point computers in High Availability configuration and their
states.
Syntax
Parameters
Parameter Description
fw k ill
Description
Syntax
Parameters
Parameter Description
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
Parameters
Parameter Description
-b "<Start Shows only entries that were logged between the specified start and end
Timestamp>" times.
"<End
Timestamp>" n The <Start Timestamp> and <End Timestamp> may be a date,
a time, or both.
n If date is omitted, then the command assumes the current date.
n Enclose the "<Start Timestamp>" and "<End Timestamp> in
single or double quotes (-b 'XX' 'YY", or -b "XX" "YY).
n You cannot use the "-b" parameter together with the "-s" or "-e"
parameters.
n See the date and time format below.
Parameter Description
-c <Action> Shows only events with the specified action. One of these:
n accept
n drop
n reject
n encrypt
n decrypt
n vpnroute
n keyinst
n authorize
n deauthorize
n authcrypt
n ctl
Notes:
-e "<End Shows only entries that were logged before the specified time.
Timestamp>"
Notes:
-f This parameter:
Parameter Description
-h <Origin> Shows only logs that were generated by the Security Gateway with the
specified IP address or object name (as configured in SmartConsole).
l mail
l snmp_trap
l spoof
l user_alert
l user_auth
n all - Show entries that match all alert types (this is the default).
-l Shows both the date and the time for each log entry.
The default is to show the date only once above the relevant entries, and
then specify the time for each log entry.
-n Does not perform DNS resolution of the IP addresses in the log file (this
is the default behavior).
This significantly speeds up the log processing.
-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 Shows only entries that were logged after the specified time.
Timestamp>"
Notes:
-t This parameter:
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.
-u Specifies the path and name of the log unification scheme file.
<Unification The default log unification scheme file is:
Scheme File>
$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 Shows only entries from the specified log entry number and below,
Entry Number> counting from the beginning of the log file.
-y <End Entry Shows only entries until the specified log entry number, counting from
Number> 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.
Parameter Description
Output
Each output line consists of a single log entry, whose fields appear in this format:
ContentVersion Version 5
n <-
Outbound
(sent by a
Security
Gateway)
n > - Inbound
(received by
a Security
Gateway)
LogId Log ID 0
Examples
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;
12Jun2018 12:33:45 5 N/A 1 ctl MyGW > LogId: <max_null>; ContextNum: <max_null>; OriginSicName: CN=MyGW,O=MyDomain_
Server.checkpoint.com.s6t98x; description: Contracts; reason: Could not reach
"https://productcoverage.checkpoint.com/ProductCoverageService". Check DNS and Proxy configuration on the gateway.; Severity:
2; status: Failed; version: 1.0; failure_impact: Contracts may be out-of-date; update_service: 1; ProductName: Security
Gateway/Management; 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
Notes:
Syntax
fw [-d] logswitch
[-audit] [<Name of Switched Log>]
-h <Target> [[+ | -]<Name of Switched Log>]
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to
a file, or use the script command to save the entire CLI session.
n The local and the remote computers must have established SIC trust.
n The remote computer can be a Security Gateway, a Log Server, or a
Security Management Server in High Availability deployment.
n You can specify the remote managed computer by its main IP address or
Object Name as configured in SmartConsole.
Parameter Description
+ Specifies to copy the active log from the remote computer to the local
computer.
Notes:
n If you specify the name of the switched log file, you must write it
immediately after this + (plus) parameter.
n The command copies the active log from the remote computer and saves
it in the $FWDIR/log/ directory on the local computer.
n 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
n 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
n When this command copies the log file from the remote computer, it
compresses the file.
Parameter Description
- Specifies to transfer the active log from the remote computer to the local
computer.
Notes:
n 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.
n If you specify the name of the switched log file, you must write it
immediately after this - (minus) parameter.
n 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
n 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
n When this command transfers the log file from the remote computer, it
compresses the file.
n As an alternative, you can use the "fw fetchlogs" on page 551 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 - 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]#
[Expert@MGMT:0]# ls $FWDIR/log/*.log
/opt/CPsuite-R80.40/fw1/log/fw.log
/opt/CPsuite-R80.40/fw1/log/MyGW__2018-06-13_185451.log
[Expert@MGMT:0]#
[Expert@MyGW:0]# ls $FWDIR/log/*.log
/opt/CPsuite-R80.40/fw1/log/fw.log
/opt/CPsuite-R80.40/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>]
Parameters
Parameter Description
Best Practice - 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 Specifies the name of the log file to show. Need to specify name only.
of Log
Notes:
File>
n If the log file name is not specified explicitly, the command shows all
Security log files ($FWDIR/log/*.log).
n File names may include * and ? as wildcards (for example, 2019-0?-*).
If you enter a wildcard, you must enclose it in double quotes or single
quotes.
n You can specify multiple log files in one command. You must use the "-
f" parameter for each log file name pattern:
-f <Name of Log File 1> -f <Name of Log File 2> ... -f
<Name of Log File N>
-e Shows an extended file list. It includes the following information for each log
file:
n Size - The total size of the log file and its related pointer files
n Creation Time - The time the log file was created
n Closing Time - The time the log file was closed
n Log File Name - The file name
Parameter Description
-s {name | Specifies the sort order of the log files using one of the following sort options:
size |
stime | n name - The file name
etime} n size - The file size
n stime - The time the log file was created (this is the default option)
n etime - The time the log file was closed
<Target> Specifies the remote Check Point computer, with which this local Check Point
computer has established SIC trust.
[Expert@HostName:0]# fw lslogs
Size Log file name
9KB 2019-06-14_000000.log
11KB 2019-06-15_000000.log
9KB 2019-06-16_000000.log
10KB 2019-06-17_000000.log
9KB fw.log
[Expert@HostName:0]#
Example 4 - Showing only log files specified by the patterns and their extended information
Example 5 - Showing only log files specified by the patterns, sorting by name in reverse order
Example 6 - Showing only log files specified by the patterns, from a managed Security Gateway
with main IP address 192.168.3.53
fw mergefiles
Description
Merges several Security log files ($FWDIR/log/*.log) into a single log file.
Merges several Audit log files ($FWDIR/log/*.adtlog) into a single log file.
Important:
Syntax
fw [-d] mergefiles [-r] [-s] [-t <Time Conversion File>] <Name of Log
File 1> <Name of Log File 2> ... <Name of Log File N> <Name of Merged
Log File>
Parameters
Parameter Description
-t <Time Conversion Specifies a full path and name of a file that instructs this
File> command how to adjust the times during the merge.
This is required if you merge log files from Log Servers
configured with different time zones.
The file format is:
<IP Address of Log Server #1> <Signed Date
Time #1 in Seconds>
<IP Address of Log Server #2> <Signed Date
Time #2 in Seconds>
... ...
Notes
<Name of Log File 1> ... Specifies the log files to merge.
<Name of Log File N>
Notes:
Parameter Description
[Expert@HostName:0]# ls -l $FWDIR/*.log
-rw-rw-r-- 1 admin root 189497 Sep 7 00:00 2019-09-07_000000.log
-rw-rw-r-- 1 admin root 14490 Sep 9 09:52 2019-09-09_000000.log
-rw-rw-r-- 1 admin root 30796 Sep 10 10:56 2019-09-10_000000.log
-rw-rw-r-- 1 admin root 24503 Sep 10 13:08 fw.log
[Expert@HostName:0]#
[Expert@HostName:0]# fw mergefiles -s $FWDIR/2019-09-07_000000.log $FWDIR/2019-09-09_000000.log
$FWDIR/2019-09-10_000000.log /var/log/2019-Sep-Merged.log
[Expert@HostName:0]#
[Expert@HostName:0]# ls -l /var/log/2019-Sep-Merged.log*
-rw-rw---- 1 admin root 213688 Sep 10 13:18 /var/log/2019-Sep-Merged.log
-rw-rw---- 1 admin root 8192 Sep 10 13:18 /var/log/2019-Sep-Merged.logLuuidDB
-rw-rw---- 1 admin root 80 Sep 10 13:18 /var/log/2019-Sep-Merged.logaccount_ptr
-rw-rw---- 1 admin root 2264 Sep 10 13:18 /var/log/2019-Sep-Merged.loginitial_ptr
-rw-rw---- 1 admin root 4448 Sep 10 13:18 /var/log/2019-Sep-Merged.logptr
[Expert@HostName:0]#
fw repairlog
Description
Check Point Security log file ($FWDIR/log/*.log) and Audit log files ($FWDIR/log/*.adtlog)
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
Parameters
Parameter Description
fw repairlog -u 2019-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.
Notes:
<type>,<actions>,<expire>,<src>,<dst>,<dport>,<ip_p>
n SAM Requests are stored on the Security Gateway in the kernel table
sam_requests.
n IP Addresses that are blocked by SAM rules, are stored on the Security
Gateway in the kernel table sam_blocked_ips.
Syntax
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>
fw [-d] sam [-v] [-s <SAM Server>] [-S <SIC Name of SAM Server>]
[-f <Security Gateway>] -D
fw [-d] sam [-v] [-s <SAM Server>] [-S <SIC Name of SAM Server>]
[-f <Security Gateway>] [-r] -M -{i|j|n|b|q} all
fw [-d] sam [-v] [-s <SAM Server>] [-S <SIC Name of SAM Server>]
[-f <Security Gateway>] [-r] -M -{i|j|n|b|q} <Criteria>
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to
a file, or use the script command to save the entire CLI session.
Parameter Description
-s <SAM Specifies the IP address (in the X.X.X.X format) or resolvable HostName of the
Server> Security Gateway that enforces the command.
The default is localhost.
-S <SIC Specifies the SIC name for the SAM server to be contacted. It is expected that
Name of the SAM server has this SIC name, otherwise the connection fails.
SAM
Server> Notes:
Parameter Description
Notes:
-D Cancels all inhibit ("-i", "-j", "-I", "-J") and notify ("-n") parameters.
Notes:
Parameter Description
-t Specifies the time period (in seconds), during which the action is enforced.
<Timeout> The default is forever, or until you cancel the fw sam command.
-e Specifies rule information based on the keys and the provided values.
<key=val>+ Multiple keys are separated by the plus sign (+).
Available keys are (each is limited to 100 characters):
-I Inhibits (drops or rejects) new connections with the specified parameters, and
closes all existing connections with the specified parameters.
Notes:
Parameter Description
-J Inhibits new connections with the specified parameters, and closes all existing
connections with the specified parameters.
Notes:
-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.
n Source IP Address
n Source Netmask
n Destination IP Address
n Destination Netmask
n Port (see IANA Service Name and Port Number Registry)
n Protocol Number (see IANA Protocol Numbers)
Parameter Description
n src <IP>
n dst <IP>
n any <IP>
n subsrc <IP> <Netmask>
n subdst <IP> <Netmask>
n subany <IP> <Netmask>
n srv <Src IP> <Dest IP> <Port> <Protocol>
n subsrv <Src IP> <Src Netmask> <Dest IP> <Dest Netmask>
<Port> <Protocol>
n subsrvs <Src IP> <Src Netmask> <Dest IP> <Port>
<Protocol>
n subsrvd <Src IP> <Dest IP> <Dest Netmask> <Port>
<Protocol>
n dstsrv <Dest IP> <Port> <Protocol>
n subdstsrv <Dest IP> <Dest Netmask> <Port> <Protocol>
n srcpr <IP> <Protocol>
n dstpr <IP> <Protocol>
n subsrcpr <IP> <Netmask> <Protocol>
n subdstpr <IP> <Netmask> <Protocol>
n generic <key=val>
Parameter Description
Parameter Description
srv <Src IP> <Dest IP> <Port> Matches the specific Source IP address, Destination
<Protocol> IP address, Service (port number) and Protocol.
subsrv <Src IP> <Netmask> Matches the specific Source IP address, Destination
<Dest IP> <Netmask> <Port> IP address, Service (port number) and Protocol.
<Protocol>
Source and Destination IP addresses are assigned
according to the netmask.
subsrvs <Src IP> <Src Matches the specific Source IP address, source
Netmask> <Dest IP> <Port> netmask, destination netmask, Service (port number)
<Protocol>
and Protocol.
subsrvd <Src IP> <Dest IP> Matches specific Source IP address, Destination IP,
<Dest Netmask> <Port> destination netmask, Service (port number) and
<Protocol>
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.
Parameter Description
n service=gtp
n imsi
n msisdn
n apn
n tunl_dst
n tunl_dport
n tunl_proto
fw sam_policy
Description
Manages the Suspicious Activity Policy editor that lets you work with these types of rules:
See sk112061: How to create and view Suspicious Activity Monitoring (SAM) Rules.
See sk112454: How to configure Rate Limiting rules for DoS Mitigation.
n "sam_alert" on page 678
Notes:
Important:
Best Practice - The SAM Policy rules consume some CPU resources on Security
Gateway. Set an expiration for rules that gives you time to investigate, but does
not affect performance. Keep only the SAM Policy rules that you need. If you
confirm that an activity is risky, edit the Security Policy, educate users, or
otherwise handle the risk.
fw [-d] sam_policy
add <options>
batch
del <options>
get <options>
fw [-d] samp
add <options>
batch
del <options>
get <options>
Parameters
Parameter Description
del <options> Deletes one configured Rate Limiting rule one at a time.
See "fw sam_policy del" on page 603.
fw sam_policy add
Description
The 'fw sam_policy add' and 'fw6 sam_policy add' commands let you:
Notes:
Important:
Best Practice - The SAM Policy rules consume some CPU resources on Security
Gateway. Set an expiration for rules that gives you time to investigate, but does
not affect performance. Keep only the SAM Policy rules that you need. If you
confirm that an activity is risky, edit the Security Policy, educate users, or
otherwise handle the risk.
fw [-d] sam_policy add [-u] -a {d|n|b} [-l {r|a}] [-t <Timeout>] [-f
<Target>] [-n <"Rule Name">] [-c <"Rule Comment">] [-o <"Rule
Originator">] [-z "<Zone>"] ip <IP Filter Arguments>
fw6 [-d] sam_policy add [-u] -a {d|n|b} [-l {r|a}] [-t <Timeout>] [-f
<Target>] [-n <"Rule Name">] [-c <"Rule Comment">] [-o <"Rule
Originator">] [-z "<Zone>"] ip <IP Filter Arguments>
fw [-d] sam_policy add [-u] -a {d|n|b} [-l {r|a}] [-t <Timeout>] [-f
<Target>] [-n <"Rule Name">] [-c <"Rule Comment">] [-o <"Rule
Originator">] [-z "<Zone>"] quota <Quota Filter Arguments>
fw6 [-d] sam_policy add [-u] -a {d|n|b} [-l {r|a}] [-t <Timeout>] [-f
<Target>] [-n <"Rule Name">] [-c <"Rule Comment">] [-o <"Rule
Originator">] [-z "<Zone>"] quota <Quota Filter Arguments
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to
a file, or use the script command to save the entire CLI session.
-u Optional.
Specifies that the rule category is User-defined.
Default rule category is Auto.
-a {d | n Mandatory.
| b} Specifies the rule action if the traffic matches the rule conditions:
Parameter Description
-l {r | a} Optional.
Specifies which type of log to generate for this rule for all traffic that matches:
-t Optional.
<Timeout> Specifies the time period (in seconds), during which the rule will be enforced.
Default timeout is indefinite.
-f Optional.
<Target> Specifies the target Security Gateways, on which to enforce the Rate Limiting
rule.
<Target> can be one of these:
n all - This is the default option. Specifies that the rule should be
enforced on all managed Security Gateways.
n Name of the Security Gateway or Cluster object - Specifies that the rule
should be enforced only on this Security Gateway or Cluster object (the
object name must be as defined in the SmartConsole).
n Name of the Group object - Specifies that the rule should be enforced on
all Security Gateways that are members of this Group object (the object
name must be as defined in the SmartConsole).
-n "<Rule Optional.
Name>" Specifies the name (label) for this rule.
Notes:
-c "<Rule Optional.
Comment>" Specifies the comment for this rule.
Notes:
Parameter Description
-o "<Rule Optional.
Originator Specifies the name of the originator for this rule.
>"
Notes:
-z Optional.
"<Zone>" Specifies the name of the Security Zone for this rule.
Notes:
Parameter Description
n [flush true]
n [source-negated {true | false}] source <Source>
n [destination-negated {true | false}] destination
<Destination>
n [service-negated {true | false}] service <Protocol and
Port numbers>
n [<Limit1 Name> <Limit1 Value>] [<Limit2 Name> <Limit2
Value>] ...[<LimitN Name> <LimitN Value>]
n [track <Track>]
Important:
Explanation for the IP Filte r A rgu me n ts syntax for Suspicious Activity Monitoring (SAM) rules
Argument Description
-m <Source Mask> Specifies the Source subnet mask (in dotted decimal format -
x.y.z.w).
-M <Destination Specifies the Destination subnet mask (in dotted decimal format -
Mask> x.y.z.w).
-p <Port> Specifies the port number (see IANA Service Name and Port Number
Registry).
Explanation for the Qu ota Filte r A rgu me n ts syntax for Rate Limiting rules
Argument Description
flush true Specifies to compile and load the quota rule to the
SecureXL immediately.
(xxxx:yyyy:...:zzzz)
n cidr:<IP Address>/<Prefix>
The rule is applied to packets sent from:
l IPv4 address with Prefix from 0 to 32
n cc:<Country Code>
The rule matches the country code to the
source IP addresses assigned to this country,
based on the Geo IP database.
The two-letter codes are defined in ISO 3166-1
alpha-2.
n asn:<Autonomous System Number>
The rule matches the AS number of the
organization to the source IP addresses that
are assigned to this organization, based on the
Geo IP database.
The valid syntax is ASnnnn, where nnnn is a
number unique to the specific organization.
Notes:
Argument Description
(xxxx:yyyy:...:zzzz)
n cidr:<IP Address>/<Prefix>
The rule is applied to packets sent to:
l IPv4 address with Prefix from 0 to 32
n cc:<Country Code>
The rule matches the country code to the
destination IP addresses assigned to this
country, based on the Geo IP database.
The two-letter codes are defined in ISO 3166-1
alpha-2.
n asn:<Autonomous System Number>
The rule matches the AS number of the
organization to the destination IP addresses
that are assigned to this organization, based
on the Geo IP database.
The valid syntax is ASnnnn, where nnnn is a
number unique to the specific organization.
Notes:
Argument Description
Notes:
Argument Description
Argument Description
n source
Counts connections, packets, and bytes for
specific source IP address, and not
cumulatively for this rule.
n source-service
Counts connections, packets, and bytes for
specific source IP address, and for specific IP
protocol and destination port, and not
cumulatively for this rule.
Examples
Explanations:
n This rule drops packets for all connections (-a d) that exceed the quota set by this rule,
including packets for existing connections.
n This rule logs packets (-l r) that exceed the quota set by this rule.
n This rule limits the rate of creation of new connections to 5 connections per second
(new-conn-rate 5) for any traffic (service any) from the source IP addresses in the
range 172.16.7.11 - 172.16.7.13 (source range:172.16.7.11-172.16.7.13).
Note - The limit of the total number of log entries per second is configured with the
fwaccel dos config set -n <rate> command.
n This rule will be compiled and loaded on the SecureXL, together with other rules in the
Suspicious Activity Monitoring (SAM) policy database immediately, because this rule
includes the "flush true" parameter.
Explanations:
n This rule logs and lets through all packets (-a n) that exceed the quota set by this rule.
n This rule does not expire (the timeout parameter is not specified). To cancel it, you
must delete it explicitly.
n This rule applies to all packets except (service-negated true) the packets with IP
protocol number 1, 50-51, 6 port 443 and 17 port 53 (service 1,50-
51,6/443,17/53).
n This rule applies to all packets from source IP addresses that are assigned to the country
with specified country code (cc:QQ).
n This rule does not let any traffic through (byte-rate 0) except the packets with IP
protocol number 1, 50-51, 6 port 443 and 17 port 53.
n This rule will not be compiled and installed on the SecureXL immediately, because it
does not include the "flush true" parameter.
Explanations:
n This rule drops (-a d) all packets that match this rule.
n This rule does not expire (the timeout parameter is not specified). To cancel it, you
must delete it explicitly.
n This rule applies to packets from the Autonomous System number 64500
(asn:AS64500).
n This rule applies to packets from source IPv6 addresses FFFF:C0A8:1100/120 (cidr:
[::FFFF:C0A8:1100]/120).
n This rule does not let any traffic through (pkt-rate 0).
n This rule will not be compiled and installed on the SecureXL immediately, because it
does not include the "flush true" parameter.
Explanations:
n This rule bypasses (-a b) all packets that match this rule.
Note - The Access Control Policy and other types of security policy rules still apply.
n This rule does not expire (the timeout parameter is not specified). To cancel it, you
must delete it explicitly.
n This rule applies to packets from the source IP addresses in the range 172.16.8.17 -
172.16.9.121 (range:172.16.8.17-172.16.9.121).
n This rule will not be compiled and installed on the SecureXL immediately, because it
does not include the "flush true" parameter.
Explanations:
n This rule drops (-a d) all packets that match this rule.
n This rule does not log any packets (the -l r parameter is not specified).
n This rule does not expire (the timeout parameter is not specified). To cancel it, you
must delete it explicitly.
n This rule applies to all sources except (source-negated true) the source IP addresses
that are assigned to the country with specified country code (cc:QQ).
n This rule limits the maximal number of concurrent active connections to 655/65536=~1%
(concurrent-conns-ratio 655) for any traffic (service any) except (service-
negated true) the connections from the source IP addresses that are assigned to the
country with specified country code (cc:QQ).
n This rule counts connections, packets, and bytes for traffic only from sources that match
this rule, and not cumulatively for this rule.
n This rule will not be compiled and installed on the SecureXL immediately, because it
does not include the "flush true" parameter.
fw sam_policy batch
Description
The 'fw sam_policy batch' and 'fw6 sam_policy batch' commands let you:
n Add and delete many Suspicious Activity Monitoring (SAM) rules at a time.
Notes:
Important:
Best Practice - The SAM Policy rules consume some CPU resources on Security
Gateway. Set an expiration for rules that gives you time to investigate, but does
not affect performance. Keep only the SAM Policy rules that you need. If you
confirm that an activity is risky, edit the Security Policy, educate users, or
otherwise handle the risk.
Procedure
n Enter one "add" or "del" command on each line, on as many lines as necessary.
Start each line with only "add" or "del" parameter (not with "fw samp").
n Use the same set of parameters and values as described in these commands:
n Terminate each line with a Return (ASCII 10 - Line Feed) character (press Enter).
add -a d -l r -t 3600 -c "Limit\ conn\ rate\ to\ 5\ conn/sec from\ these\ sources" quota service any source
range:172.16.7.13-172.16.7.13 new-conn-rate 5
del <501f6ef0,00000000,cb38a8c0,0a0afffe>
EOF
[Expert@HostName]#
fw sam_policy del
Description
The 'fw sam_policy del' and 'fw6 sam_policy del' commands let you:
Notes:
Important:
Best Practice - The SAM Policy rules consume some CPU resources on Security
Gateway. Set an expiration for rules that gives you time to investigate, but does
not affect performance. Keep only the SAM Policy rules that you need. If you
confirm that an activity is risky, edit the Security Policy, educate users, or
otherwise handle the risk.
Parameters
Parameter Description
'<Rule UID>' Specifies the UID of the rule you wish to delete.
Important:
Procedure
1. List all the existing rules in the Suspicious Activity Monitoring policy
database
List all the existing rules in the Suspicious Activity Monitoring policy database.
fw sam_policy get
operation=add uid=<5ac3965f,00000000,3403a8c0,0000264a>
target=all timeout=300 action=notify log=log name=Test\ Rule
comment=Notify\ about\ traffic\ from\ 1.1.1.1 originator=John\
Doe src_ip_addr=1.1.1.1 req_tpe=ip
Explanation:
The fw samp del and fw6 samp del commands only remove a rule from the
persistent database. The Security Gateway continues to enforce the deleted rule until the
next time you compiled and load a policy. To force the rule deletion immediately, you
must enter a flush-only add rule right after the fw samp del and fw6 samp del
command. This flush-only add rule immediately deletes the rule you specified in the
previous step, and times out in 2 seconds.
Best Practice - Specify a short timeout period for the flush-only rules.
This prevents accumulation of rules that are obsolete in the database.
fw sam_policy get
Description
The 'fw sam_policy get' and 'fw6 sam_policy get' commands let you:
Notes:
Important:
Best Practice - The SAM Policy rules consume some CPU resources on Security
Gateway. Set an expiration for rules that gives you time to investigate, but does
not affect performance. Keep only the SAM Policy rules that you need. If you
confirm that an activity is risky, edit the Security Policy, educate users, or
otherwise handle the risk.
fw [-d] sam_policy get [-l] [-u '<Rule UID>'] [-k '<Key>' -t <Type> [+
{-v '<Value>'}] [-n]]
fw6 [-d] sam_policy get [-l] [-u '<Rule UID>'] [-k '<Key>' -t <Type>
[+{-v '<Value>'}] [-n]]
Parameters
Parameter Description
n In the default format (without "-l"), the output shows each rule on a
separate line.
n In the list format (with "-l"), the output shows each parameter of a
rule on a separate line.
n See "fw sam_policy add" on page 588.
-u '<Rule Prints the rule specified by its Rule UID or its zero-based rule index.
UID>' The quote marks and angle brackets ('<...>') are mandatory.
n -k
n -t
n +-v
Examples
uid
<5ac3965f,00000000,3403a8c0,0000264a>
target
all
timeout
2147483647
action
notify
log
log
name
Test\ Rule
comment
Notify\ about\ traffic\ from\ 1.1.1.1
originator
John\ Doe
src_ip_addr
1.1.1.1
req_type
ip
fwm
Description
Notes:
n For debug instructions, see the description of the fwm process in sk97638.
n On a 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
Parameter Description
dbload Downloads the user database and network objects information to the
<options> specified targets
See "fwm dbload" on page 613.
Parameter Description
fetchfile Fetches a specified OPSEC configuration file from the specified source
<options> computer.
See "fwm fetchfile" on page 616.
getpcap Fetches the IPS packet capture data from the specified Security Gateway.
<options>
See "fwm getpcap" on page 620.
unload Unloads the policy from the specified managed Security Gateways.
<options>
See "fwm unload" on page 640.
ver <options> Shows the Check Point version of the Management Server.
See "fwm ver" on page 644.
Parameter Description
fwm dbload
Description
Downloads the user database and network objects information to the specified Security
Gateways.
Note:
On a 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
Parameters
Parameter Description
fwm exportcert
Description
Note:
On a 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
Parameter Description
<Name of Specifies the name of the managed object, whose certificate you wish to
Object> export.
<Name of CA> Specifies the name of Certificate Authority, whose certificate you wish to
export.
fwm fetchfile
Description
Fetches a specified OPSEC configuration file from the specified source computer.
Note:
On a 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
Parameters
Parameter Description
n conf/fwopsec.conf
n conf/fwopsec.v4x
<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
fwm fingerprint
Description
Note:
On a 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
Parameters
Parameter Description
n fwm -d
Runs the complete debug of all fwm actions.
For complete debug instructions, see the description of the
fwm process in sk97638.
n fingerprint -d
Runs the debug only for the fingerprint actions.
fwm getpcap
Description
Fetches the IPS packet capture data from the specified Security Gateway.
This command only works with IPS packet captures stored on the Security Gateway in the
$FWDIR/log/captures_repository/ directory.
This command 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.
Note:
On a 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
Parameters
Parameter Description
-p <Local Specifies the local path to save the specified packet capture file.
Path> If you do not specify the local directory explicitly, the command saves the
packet capture file in the current working directory.
Example
fwm ik ecrypt
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 a 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
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to a
file, or use the script command to save the entire CLI session.
For complete debug instructions, see the description of the fwm process in
sk97638.
<Key> Specifies the IKE Key as defined in the LDAP Account Unit properties window on
the Encryption tab.
< Specifies the password for the Endpoint VPN Client user.
Password
>
Example
fwm load
Description
Important - This command is obsolete for R80 and above. Use the "mgmt_cli"
on page 666 command to load a policy on a managed Security Gateway.
fwm logexport
Description
Note:
On a 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
Parameter Description
Best Practice - If you use this parameter, then redirect the output
to a file, or use the script command to save the entire CLI session.
For complete debug instructions, see the description of the fwm process in
sk97638.
Note - If you do not specify the delimiter explicitly, the default is a semicolon
(;).
Parameter Description
-f After reaching the end of the currently opened log file, specifies to continue
to monitor the log file indefinitely and export the new entries as well.
Note - Applies only to the 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 the active log file: $FWDIR/log/fw.log or
$FWDIR/log/fw.adtlog
-x <Start Starts exporting the log entries from the specified log entry number and
Entry below, counting from the beginning of the log file.
Number>
-y <End Starts exporting the log entries until the specified log entry number, counting
Entry from the beginning of the log file.
Number>
-z In case of an error (for example, wrong field value), specifies to continue the
export of log entries.
The default behavior is to stop.
-n Specifies not to perform DNS resolution of the IP addresses in the log file (this
is the default behavior).
This significantly speeds up the log processing.
Parameter Description
-p Specifies to not to perform resolution of the port numbers in the log file (this
is the default behavior).
This significantly speeds up the log processing.
-u < Specifies the path and name of the log unification scheme file.
Unification The default log unification scheme file is:
Scheme
$FWDIR/conf/log_unification_scheme.C
File>
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 log fields appear in the output of the command output:
Ste
Description
p
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:
n You can specify only the included_fields parameter, only the excluded_
fields parameter, or both.
n The num field must always appear first. You cannot manipulate this field.
n The <REST_OF_FIELDS> is an optional reserved token that refers to a list of
fields.
l 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.
l If you do not specify the "-f" parameter, then the <REST_OF_FIELDS> is
based on the input log file.
fwm mds
Description
Syntax
Parameters
Parameter Description
Example
fwm printcert
Description
Note:
On a 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
Parameters
Item Description
-obj <Name of Object> Specifies the name of the managed object, for which to show
the SIC certificate information.
Examples
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
Warning:
n Before you run this command, take a Gaia Snapshot and a full
backup of the Management Server.
This command resets SIC betw een the Management Server and all
its managed objects.
n This operation breaks trust in all Internal CA certificates and SIC
trust across the managed environment.
Therefore, w e do not recommend it at all, except for real disaster
recovery.
Note
On a 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
Parameters
Parameter Description
Best Practice - If you use this parameter, then redirect the output to a
file, or use the script command to save the entire CLI session.
For complete debug instructions, see the description of the fwm process in
sk97638.
fwm snmp_trap
Description
Notes:
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
Parameter Description
-v <SNMP OID> Specifies an optional SNMP OID to bind with the message.
-p <Source Port> Specifies the source port, from which to send the SNMP Trap
packets.
<Target> Specifies the managed target host, to which to send the SNMP
Trap packets.
Enter an IP address of a resolvable hostname.
Example - Sending an SNMP Trap from a Management Server and capturing the traffic on the
Security Gateway
fwm unload
Description
Unloads the policy from the specified managed Security Gateways or Cluster Members.
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 specified Security Gateway (Cluster Member).
2. The fwm unload command removes all policies from the specified
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:
Syntax
Parameters
Parameter Description
<GW1> <GW2> Specifies the managed Security Gateways by their main IP address or
... <GWN> Object Name as configured in SmartConsole.
Example
[Expert@MGMT:0]#
fwm ver
Description
Syntax
Parameters
Parameter Description
-f <Output Specifies the name of the output file, in which to save this information.
File>
Example
fwm verify
Important - This command is obsolete for R80 and above. Use the "mgmt_cli"
on page 666 command to verify a policy on a managed Security Gateway.
Description
Note
On a 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
Parameters
Parameter Description
Example
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
3 Click on the [+] near the Log and Alert and click Alerts.
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 .
Syntax
inet_alert -s <IP Address> [-o] [-a <Auth Type>] [-p <Port>] [-f
<Token> <Value>] [-m <Alert Type>]
Notes:
Parameters
Parameter Description
-s <IP The IPv4 address of the ELA Proxy (usually located at the ISP site).
Address>
-p <Port> Specifies the port number on the ELA proxy. Default port is 18187.
This option can be used multiple times to add multiple <Token> <Value>
pairs to the log.
Parameter Description
Exist Status
Example
n Establish a clear connection with the ELA Proxy located at IP address 10.0.2.4
n Send a log message to the specified ELA Proxy. Set the product field of this log message to
cads
n Trigger the OS command specified in the SmartConsole > Menu > Global properties > Log
and Alert > Popup Alert Command field.
ldapcmd
Description
Feature Description
Cache LDAP cache operations, such as emptying the cache, as well as providing debug
information.
Notes:
Syntax
Parameters
Parameter Description
-d <Debug Runs the command in debug mode with the specified TDERROR debug
Level> level.
Valid values are from 0 (disabled) to 5 (maximal level, recommended).
-p {<Process Runs on a specified Check Point process, or all supported Check Point
Name> | all} processes.
objects
l TemplateExtGrpCacheObject - Clears cache for
objects
l TemplateExtGrpCacheObject - Traces cache for
the statistics
l 0 - Stops collecting the statistics
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.
Notes:
Syntax
Parameters
Parameter Description
-d <Debug Runs the command in debug mode with the specified TDERROR debug
Level> level.
Valid values are from 0 (disabled) to 5 (maximal level, recommended).
n Compare options
n Common options
Compare options
Option Description
-P <LDAP Protocol Version> Specifies the LDAP protocol version. Default version is
3.
Common options
Option Description
Option Description
l "chainingRequired"
l "referralsPreferred"
l "referralsRequired"
n [!]manageDSAit
RFC 3296
n [!]noop
n ppolicy
n [!]postread[=<Attributes>]
RFC 4527; a comma-separated list of attributes
n [!]preread[=<Attributes>]
RFC 4527; a comma-separated list of attributes
n [!]relax
n abandon
SIGINT sends the abandon signal; if critical, does
not wait for SIGINT. Not really controls.
n cancel
SIGINT sends the cancel signal; if critical, does not
wait for SIGINT. Not really controls.
n ignore
SIGINT ignores the response; if critical, does not
wait for SIGINT. Not really controls.
Option Description
-p <LDAP Server Port> Specifies the LDAP Server port. Default is 389.
-w <LDAP Admin Password> Specifies the LDAP Server administrator password (for
simple authentication).
ldapmemberconvert
Description
This is an LDAP utility that ports from the "Member" attribute values in LDAP group entries to the
"MemberOf" attribute values in LDAP member (User or Template) entries.
This utility converts the LDAP server data to work in either the "MemberOf" mode, or "Both"
mode. The utility searches through all specified group or template entries that hold one or more
"Member" attribute values and modifies each value. The utility searches through 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, the utility delete those
"Member" attribute values 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. The command logs all modifications done and errors encountered in that log
file.
Important - Back up the LDAP server database before you run this conversion utility.
Notes:
Syntax
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.
-D <LDAP Admin DN> Specifies the LDAP Server administrator Distinguished Name.
-m <Member Specifies the LDAP attribute name when fetching and (possibly)
Attribute Name> deleting a group Member attribute value.
-o <MemberOf Specifies the LDAP attribute name for adding an LDAP "MemberOf"
Attribute Name> attribute value.
-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 N>
Length of each line is limited to 256 characters.
Parameter Description
-L <LDAP Server Specifies the Server side time limit for LDAP operations, in seconds.
Timeout> Default is "never".
-S <Size> Specifies the Server side size limit for LDAP operations, in number
of entries.
Default is "none".
-T <LDAP Client Specifies the Client side timeout for LDAP operations, in
Timeout> milliseconds.
Default is "never".
Notes
There are two "GroupMembership" modes. You must keep these modes consistent:
n template-to-groups
n user-to-groups
For example, if you apply conversion on LDAP users to include the "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.
Examples
Example 1
...
cn=cpGroup
uniquemember="cn=member1,ou=people,ou=cp,c=us"
uniquemember="cn=member2,ou=people,ou=cp,c=us"
...
...
cn=member1
objectclass=fw1Person
...
and:
...
cn=member2
objectclass=fw1Person
...
Run:
...
cn=cpGroup
...
...
cn=member1
objectclass=fw1Person
memberof="cn=cpGroup,ou=groups,ou=cp,c=us"
...
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"
cn=member1
objectclass=fw1Template
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.
Notes:
Syntax
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>]
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.
Parameter Description
-T <LDAP Client Specifies the Client side timeout for LDAP operations, in
Timeout> milliseconds.
Default is "never".
ldapsearch
Description
This is an LDAP utility that queries an LDAP directory and returns the results.
Notes:
Syntax
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>]
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.
-D <LDAP Admin DN> Specifies the LDAP Server administrator Distinguished Name.
Parameter Description
-b <Base DN> Specifies the Base Distinguished Name (DN) for search.
-l <LDAP Server Specifies the Server side time limit for LDAP operations, in seconds.
Timeout> Default is "never".
n base
n one
n sub
-T <LDAP Client Specifies the Client side timeout for LDAP operations, in
Timeout> milliseconds.
Default is never.
Parameter Description
Example
4. For each object found, prints the value of its "objectclass" attribute.
mgmt_cli
Description
The mgmt_cli tool lets you work directly with the management database on your Management
Server.
cd /d "%ProgramFiles%\CheckPoint\SmartConsole\<VERSION>\PROGRAM\"
mgmt_cli.exe <Command Name> <Command Parameters> <Optional Switches>
cd /d "%ProgramFiles(x86)%\CheckPoint\SmartConsole\<VERSION>\PROGRAM\"
mgmt_cli.exe <Command Name> <Command Parameters> <Optional Switches>
Notes
n For a complete list of the mgmt_cli options, enter the mgmt_cli (mgmt_cli.exe)
command and press Enter.
n For more information, see the Check Point Management API Reference.
migrate
Important - This command is used to migrate the management database from
R80.10 and lower versions.
For more information, see the R80.40 Installation and Upgrade Guide.
Description
Imports the exported management database and applicable Check Point configuration.
n About Gaia Backup and Gaia Snapshot, see the R80.40 Gaia Administration
Guide.
n About Virtual Machine Snapshots, see the vendor documentation.
Notes:
Syntax
[Expert@MGMT:0]# ./migrate -h
[Expert@MGMT:0]# cd $FWDIR/bin/upgrade_tools/
[Expert@MGMT:0]# yes | nohup ./migrate export [-l | -x] [-n] [--
exclude-uepm-postgres-db] [--include-uepm-msi-files] /<Full
Path>/<Name of Exported File> &
[Expert@MGMT:0]# cd $FWDIR/bin/upgrade_tools/
[Expert@MGMT:0]# yes | nohup ./migrate import [-l | -x] [-n] [--
exclude-uepm-postgres-db] [--include-uepm-msi-files] /<Full
Path>/<Name of Exported File>.tgz &
Parameters
Parameter Description
As a result, when the CLI session closes, the command continues to run
in the background.
See:
n sk133312
n https://linux.die.net/man/1/bash
n https://linux.die.net/man/1/nohup
Parameter Description
-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:
-n Runs silently (non-interactive mode) and uses the default options for
each setting.
Important:
--exclude- n During the export operation, does not back up the PostgreSQL
uepm-postgres- database from the Endpoint Security Management Server.
db
n During the import operation, does not restore the PostgreSQL
database on the Endpoint Security Management Server.
--include- n During the export operation, backs up the MSI files from the
uepm-msi-files Endpoint Security Management Server.
n During the import operation, restores the MSI files on the Endpoint
Security Management Server.
Parameter Description
<Name of n During the export operation, specifies the name of the output file.
Exported File> The command automatically adds the *.tgz extension.
n During the import operation, specifies the name of the exported
file.
You must manually enter the *.tgz extension in the end.
[Expert@MGMT:0]# cd $FWDIR/bin/upgrade_tools/
[Expert@MGMT:0]# ./migrate export /var/log/Migrate_Export
[Expert@MGMT:0]#
[Expert@MGMT:0]# find / -name migrate-\* -type f
/var/log/opt/CPshrd-R80.40/migrate-2019.06.14_11.03.46.log
[Expert@MGMT:0]#
migrate_server
Important - This command is used to migrate the management database from
R80.20.M1, R80.20, R80.20.M2, R80.30, and higher versions.
For more information, see the R80.40 Installation and Upgrade Guide.
Description
Imports the exported management database and applicable Check Point configuration.
n About Gaia Backup and Gaia Snapshot, see the R80.40 Gaia Administration
Guide.
n About Virtual Machine Snapshots, see the vendor documentation.
Notes:
Syntax
[Expert@MGMT:0]# cd $FWDIR/scripts/
[Expert@MGMT:0]# ./migrate_server -h
[Expert@MGMT:0]# cd $FWDIR/scripts/
[Expert@MGMT:0]# ./migrate_server verify -v R80.40 [-skip_upgrade_
tools_check]
[Expert@MGMT:0]# cd $FWDIR/scripts/
[Expert@MGMT:0]# ./migrate_server export -v R80.40 [-skip_upgrade_
tools_check] [-l | -x] [--include-uepm-msi-files] [--exclude-uepm-
postgres-db] /<Full Path>/<Name of Exported File>
[Expert@MGMT:0]# cd $FWDIR/scripts/
[Expert@MGMT:0]# ./migrate_server import -v R80.40 [-skip_upgrade_
tools_check] [-l | -x] [-change_ips_file /<Full Path>/<Name of
JSON File>.json] [--include-uepm-msi-files] [--exclude-uepm-
postgres-db] /<Full Path>/<Name of Exported File>.tgz
Parameters
Paramet
Description
er
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.
verify Verifies the management database and applicable Check Point configuration that
were exported from another Management Server.
Paramet
Description
er
-skip_ Does not try to connect to Check Point Cloud to check for a more recent version of
upgrad the Upgrade Tools.
e_
tools_ Best Practice - Use this parameter on the Management Server that is
check
not connected to the Internet.
-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:
- Specifies the absolute path to the special JSON configuration file with new IPv4
change_ addresses.
ips_
This file is mandatory during an upgrade of a Multi-Domain Security Management
file
/<Full environment.
Path Even if only one of the servers migrates to a new IP address, all the other servers
>/<Name must get this configuration file for the import process.
of JSON Example:
File
>.json [{"name":"MyPrimaryMultiDomainServer","newIpAddress4":"172.
30.40.51"},
{"name":"MySecondaryMultiDomainServer","newIpAddress4":"172
.30.40.52"}]
-- n During the export operation, backs up the MSI files from the Endpoint
includ Security Management Server.
e-uepm-
n During the import operation, restores the MSI files on the Endpoint Security
msi-
files Management Server.
Paramet
Description
er
-- n During the export operation, does not back up the PostgreSQL database
exclud from the Endpoint Security Management Server.
e-uepm-
n During the import operation, does not restore the PostgreSQL database on
postgre
s-db the Endpoint Security Management Server.
/<Full Specifies the absolute path to the exported database file. This path must exist.
Path
>/<Name n During the export operation, specifies the name of the output file.
of The command automatically adds the *.tgz extension.
Exporte n During the import operation, specifies the name of the exported file.
d File>
You must manually enter the *.tgz extension in the end.
[Expert@MGMT:0]# cd $FWDIR/scripts/
[Expert@MGMT:0]# ./migrate_server export /var/log/Migrate_Export
[Expert@MGMT:0]#
[Expert@MGMT:0]# find / -name migrate-\* -type f
/var/log/opt/CPshrd-R80.40/migrate-2019.06.14_11.03.46.log
[Expert@MGMT:0]#
queryDB_util
Description
Important - This command is obsolete for R80 and above. Use the "mgmt_cli"
on page 666 command to load a policy on a managed Security Gateway.
rs_db_tool
Description
Notes:
Syntax
Note - You must run this command from the Expert mode.
Parameters
Parameter Description
-TTL <Time-To- Specifies the relative time interval (in seconds), during which the
Live> 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:
SAM v1 syntax
sam_alert [-v] [-o] [-s <SAM Server>] [-t <Time>] [-f <Security
Gateway>] [-C] {-n|-i|-I} {-src|-dst|-any|-srv}
Parameter Description
-o Specifies to print the input of this tool to the standard output (to use with
pipes in a CLI syntax).
-t <Time> Specifies the time (in seconds), during which to enforce the action. The
default is forever.
Parameter Description
-I Inhibits (drops or rejects) connections that match the specified criteria and
closes all existing connections that match the specified criteria.
SAM v2 syntax
sam_alert -v2 [-v] [-O] [-S <SAM Server>] [-t <Time>] [-f <Security
Gateway>] [-n <Name>] [-c "<Comment">] [-o <Originator>] [-l {r |
a}] -a {d | r| n | b | q | i} [-C] {-ip |-eth} {-src|-dst|-any|-srv}
Parameter Description
-O Specifies to print the input of this tool to the standard output (to
use with pipes in a CLI syntax).
-t <Time> Specifies the time (in seconds), during which to enforce the action.
The default is forever.
-l {r | a} Specifies the log type for connections that match the specified
criteria:
n r - Regular
n a - Alert
Default is None.
Parameter Description
n d- Drop
n r- Reject
n n- Notify
n b- Bypass
n q- Quarantine
n i- Inspect
Example
See sk110873: How to configure Security Gateway to detect and prevent port scan.
stattest
Description
You can use this command as an alternative to the standard SNMP commands for debug
purposes - to make sure the applicable SNMP OIDs provide the requested information.
Notes:
Syntax
Parameters
Parameter Description
Parameter Description
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.
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.
Procedure
Step Description
Step Description
11 In SmartConsole, install the Access Control Policy on Security Gateways and Clusters.
(1) Show policy Shows the name of the current configured threshold policy.
name
(2) Set policy Configures the name for the threshold policy.
name If you do not specify it explicitly, then the default name is "Default
Profile".
(3) Save policy Saves the changes in the current threshold policy.
(7) Configure Configures the SNMP Network Management System (NMS), to which
alert the managed Security Gateways and Cluster Members send their
destinations
SNMP alerts.
Configure Alert Destinations Options:
-------------------------------------
(1) View alert destinations
(2) Add SNMP NMS
(3) Remove SNMP NMS
(4) Edit SNMP NMS
(8) View Shows a list of all available thresholds and their current settings.
thresholds These include:
overview
n Name
n Category (see the next option "(9)")
n State (disabled or enabled)
n Threshold (threshold point, if applicable)
n Description
Thresholds Categories
Category Sub-Categories
(3) Local Logging Mode Status Local Logging Mode Status Thresholds:
-------------------------------------
(1) Local Logging Mode
Category Sub-Categories
Notes: