CP R81.10 SitetoSiteVPN AdminGuide
CP R81.10 SitetoSiteVPN AdminGuide
CP R81.10 SitetoSiteVPN AdminGuide
R81.10
Administration Guide
Check Point Copyright Notice
© 2021 - 2023 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 Copyright page for a list of our trademarks.
Refer to the Third Party copyright notices for a list of relevant copyrights and third-party licenses.
Important Information
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
23 October Updated:
2023
n "Tunnel Management" on page 126
06 February Updated:
2023
n "vpn debug" on page 188
16 January Updated:
2023
n "Getting Started with Site-to-Site VPN" on page 30
n "Multiple Entry Point (MEP) VPNs" on page 152
n "Resolving Connectivity Issues" on page 168
11 Updated:
September
2022
n "Multiple Entry Point (MEP) VPNs" on page 152
14 June 2022 In the HTML version, added glossary terms in the text.
27 March Updated:
2022
n "Getting Started with Site-to-Site VPN" on page 30 - added a note that the
Encryption Domain Per Community feature requires Security Gateways R80.40
and higher
n "Perfect Forward Secrecy" on page 52 - added notes
24 November Updated:
2021
n "Tunnel Management" on page 126 - changed the procedure to enable or disable
the feature "Delete IKE SAs for dead peer"
07 November Updated:
2021
n "Basic Site to Site VPN Configuration" on page 41 - added a note that in Star
community, the "Center Gateways" section does not support Quantum Spark
appliances
02 August Updated:
2021
n "Basic Site to Site VPN Configuration" on page 41
n "Route Injection Mechanism" on page 133
Date Description
Table of Contents
Glossary 14
Check Point VPN 24
IPsec VPN 24
VPN Components 24
Understanding the Terminology 24
Site-to-Site VPN 25
Sample Site-to-Site VPN Deployment 25
VPN Communities 26
Sample Combination VPN Community 27
Routing VPN Traffic 27
Granular Routing Control 28
IPv6 Support and Limitations 28
Getting Started with Site-to-Site VPN 30
Basic Site to Site VPN Configuration 41
Configuring a Star or Meshed Community Between Internally Managed Security Gateways 41
Configuring a VPN with External Security Gateways Using Certificates 43
Configuring a VPN with External Security Gateways Using Pre-Shared Secret 45
Firewall Control Connections in VPN Communities 47
Why Turning off Implied Rules Blocks Firewall Control Connections 47
Allowing Firewall Control Connections Inside a VPN 48
Discovering Which Services are Used for Control Connections 48
Simplified and Traditional Modes 48
IPsec and IKE 49
Overview 49
IKE Phase I 49
IKE Phase II (Quick mode or IPSec Phase) 50
IKEv1 and IKEv2 50
Methods of Encryption and Integrity 50
Diffie Hellman Groups 51
Phase I modes 51
Renegotiating IKE & IPsec Lifetimes 52
Perfect Forward Secrecy 52
IP Compression 53
Trusted Links 74
Configuring Trusted Links 74
Trusted Links Scenarios 75
Using Trusted Links with Service Based Link Selection 76
On Demand Links (ODL) 76
Configuring On Demand Links 77
Link Selection and ISP Redundancy 78
Configuring Link Selection and ISP Redundancy 78
Link Selection and ISP Redundancy 79
Link Selection with non-Check Point Devices 80
Public Key Infrastructure 82
Need for Integration with Different PKI Solutions 82
Supporting a Wide Variety of PKI Solutions 82
PKI and Remote Access Users 83
PKI Deployments and VPN 83
Simple Deployment Internal CA 83
CA of An External Security Management Server 83
CA Services Over the Internet 83
CA Located on the LAN 84
Trusting An External CA 85
Subordinate Certificate Authorities 85
Enrolling a Managed Entity 85
Validation of a Certificate 86
Revocation Checking 86
Enrolling with a Certificate Authority 86
CRL 90
OCSP 90
CRL Prefetch-Cache 90
Special Considerations for the CRL Pre-fetch Mechanism 90
CRL Grace Period 91
Special Considerations for PKI 91
Using the Internal CA vs. Deploying a Third Party CA 91
Distributed Key Management and Storage 91
Configuration of PKI Operations 92
Trusting a CA - Step-By-Step 92
Trusting an ICA 92
Trusting an Externally Managed CA 92
Trusting an OPSEC Certified CA 92
Certificate Revocation (All CA Types) 93
Certificate Recovery and Renewal 94
Recovery and Renewal with Internal CA 94
CA Certificate Rollover 94
Managing a CA Certificate Rollover 94
CA Certificate Rollover CLI 95
Adding Matching Criteria to the Validation Process 95
CRL Cache Usage 96
Modifying the CRL Pre-Fetch Cache 96
Configuring CRL Grace Period 96
Configuring OCSP 96
Domain Based VPN 98
Overview of Domain-based VPN 98
VPN Routing and Access Control 99
Configuring VPN Routing in Domain Based VPN 99
Configuring VPN Routing for Security Gateways in SmartConsole 99
Configuration in the VPN Configuration File 99
Configuring the 'Accept VPN Traffic Rule' 100
Configuring Multiple Hubs 100
Configuring VPN Routing and Access Control on Security Management Server A 101
Configuring VPN Routing and Access Control on Security Management Server B 102
VPN with One or More LSM Profiles 102
Route Based VPN 103
Overview of Route-based VPN 103
VPN Tunnel Interface (VTI) 103
Using Dynamic Routing Protocols 105
VTIs in a Clustered Environment 105
Configuring VTIs in Gaia Operating System 105
Enabling Route Based VPN 105
Configuring Numbered VTIs - Example 106
Enabling Dynamic Routing Protocols on VTIs - Example 113
Configuring Anti-Spoofing on VTIs in SmartConsole 115
Glossary
A
Anti-Bot
Check Point Software Blade on a Security Gateway that blocks botnet behavior and
communication to Command and Control (C&C) centers. Acronyms: AB, ABOT.
Anti-Spam
Check Point Software Blade on a Security Gateway that provides comprehensive
protection for email inspection. Synonym: Anti-Spam & Email Security. Acronyms: AS,
ASPAM.
Anti-Virus
Check Point Software Blade on a Security Gateway that uses real-time virus signatures
and anomaly-based protections from ThreatCloud to detect and block malware at the
Security Gateway before users are affected. Acronym: AV.
Application Control
Check Point Software Blade on a Security Gateway that allows granular control over
specific web-enabled applications by using deep packet inspection. Acronym: APPI.
Audit Log
Log that contains administrator actions on a Management Server (login and logout,
creation or modification of an object, installation of a policy, and so on).
Bridge Mode
Security Gateway or Virtual System that works as a Layer 2 bridge device for easy
deployment in an existing topology.
Cluster
Two or more Security Gateways that work together in a redundant configuration - High
Availability, or Load Sharing.
Cluster Member
Security Gateway that is part of a cluster.
Compliance
Check Point Software Blade on a Management Server to view and apply the Security
Best Practices to the managed Security Gateways. This Software Blade includes a
library of Check Point-defined Security Best Practices to use as a baseline for good
Security Gateway and Policy configuration.
Content Awareness
Check Point Software Blade on a Security Gateway that provides data visibility and
enforcement. See sk119715. Acronym: CTNT.
CoreXL
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.
DAIP Gateway
Dynamically Assigned IP (DAIP) Security Gateway is a Security Gateway, on which the
IP address of the external interface is assigned dynamically by the ISP.
Data Type
Classification of data in a Check Point Security Policy for the Content Awareness
Software Blade.
Distributed Deployment
Configuration in which the Check Point Security Gateway and the Security Management
Server products are installed on different computers.
Dynamic Object
Special object type, whose IP address is not known in advance. The Security Gateway
resolves the IP address of this object in real time.
Encryption Domain
The networks that a Security Gateway protects and for which it encrypts and decrypts
VPN traffic.
Expert Mode
The name of the elevated command line shell that gives full system root permissions in
the Check Point Gaia operating system.
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 restricted shell (role-based administration controls the number of commands
available in the shell).
Gaia Portal
Web interface for the Check Point Gaia operating system.
Hotfix
Software package installed on top of the current software version to fix a wrong or
undesired behavior, and to add a new behavior.
HTTPS Inspection
Feature on a Security Gateway that inspects traffic encrypted by the Secure Sockets
Layer (SSL) protocol for malware or suspicious patterns. Synonym: SSL Inspection.
Acronyms: HTTPSI, HTTPSi.
ICA
Internal Certificate Authority. A component on Check Point Management Server that
issues certificates for authentication.
Identity Awareness
Check Point Software Blade on a Security Gateway that enforces network access and
audits data based on network location, the identity of the user, and the identity of the
computer. Acronym: IDA.
Identity Logging
Check Point Software Blade on a Management Server to view Identity Logs from the
managed Security Gateways with enabled Identity Awareness Software Blade.
Internal Network
Computers and resources protected by the Firewall and accessed by authenticated
users.
IPS
Check Point Software Blade on a Security Gateway that inspects and analyzes packets
and data for numerous types of risks (Intrusion Prevention System).
IPsec VPN
Check Point Software Blade on a Security Gateway that provides a Site to Site VPN and
Remote Access VPN access.
Kerberos
An authentication server for Microsoft Windows Active Directory Federation Services
(ADFS).
Log Server
Dedicated Check Point server that runs Check Point software to store and process logs.
Management Interface
(1) Interface on a Gaia Security Gateway or Cluster member, through which
Management Server connects to the Security Gateway or Cluster member. (2) Interface
on Gaia computer, through which users connect to Gaia Portal or CLI.
Management Server
Check Point Single-Domain Security Management Server or a Multi-Domain Security
Management Server.
Mobile Access
Check Point Software Blade on a Security Gateway that provides a Remote Access VPN
access for managed and unmanaged clients. Acronym: MAB.
Multi-Domain Server
Dedicated Check Point server that runs Check Point software to host virtual Security
Management Servers called Domain Management Servers. Synonym: Multi-Domain
Security Management Server. Acronym: MDS.
Network Object
Logical object that represents different parts of corporate topology - computers, IP
addresses, traffic protocols, and so on. Administrators use these objects in Security
Policies.
Open Server
Physical computer manufactured and distributed by a company, other than Check Point.
Provisioning
Check Point Software Blade on a Management Server that manages large-scale
deployments of Check Point Security Gateways using configuration profiles. Synonyms:
SmartProvisioning, SmartLSM, Large-Scale Management, LSM.
QoS
Check Point Software Blade on a Security Gateway that provides policy-based traffic
bandwidth management to prioritize business-critical traffic and guarantee bandwidth
and control latency.
Route-Based VPN
A routing method for participants in a VPN community, defined by network routes.
Rule
Set of traffic parameters and other conditions in a Rule Base (Security Policy) that cause
specified actions to be taken for a communication session.
Rule Base
All rules configured in a given Security Policy. Synonym: Rulebase.
SecureXL
Check Point product on a Security Gateway that accelerates IPv4 and IPv6 traffic that
passes through a Security Gateway.
Security Gateway
Dedicated Check Point server that runs Check Point software to inspect traffic and
enforce Security Policies for connected network resources.
Security Policy
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.
SmartConsole
Check Point GUI application used to manage a Check Point environment - configure
Security Policies, configure devices, monitor products and events, install updates, and
so on.
SmartDashboard
Legacy Check Point GUI client used to create and manage the security settings in
versions R77.30 and lower. In versions R80.X and higher is still used to configure
specific legacy settings.
SmartProvisioning
Check Point Software Blade on a Management Server (the actual name is
"Provisioning") that manages large-scale deployments of Check Point Security
Gateways using configuration profiles. Synonyms: Large-Scale Management,
SmartLSM, LSM.
SmartUpdate
Legacy Check Point GUI client used to manage licenses and contracts in a Check Point
environment.
Software Blade
Specific security solution (module): (1) On a Security Gateway, each Software Blade
inspects specific characteristics of the traffic (2) On a Management Server, each
Software Blade enables different management capabilities.
Standalone
Configuration in which the Security Gateway and the Security Management Server
products are installed and configured on the same server.
Threat Emulation
Check Point Software Blade on a Security Gateway that monitors the behavior of files in
a sandbox to determine whether or not they are malicious. Acronym: TE.
Threat Extraction
Check Point Software Blade on a Security Gateway that removes malicious content from
files. Acronym: TEX.
Updatable Object
Network object that represents an external service, such as Microsoft 365, AWS, Geo
locations, and more.
URL Filtering
Check Point Software Blade on a Security Gateway that allows granular control over
which web sites can be accessed by a given group of users, computers or networks.
Acronym: URLF.
User Directory
Check Point Software Blade on a Management Server that integrates LDAP and other
external user management servers with Check Point products and security solutions.
VPN Community
A named collection of VPN domains, each protected by a VPN gateway.
VPN Tunnel
An encrypted connection between two hosts using standard protocols (such as L2TP) to
encrypt traffic going in and decrypt it coming out, creating an encapsulated network
through which data can be safely shared as though on a physical private line.
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.
VSX Gateway
Physical server that hosts VSX virtual networks, including all Virtual Devices that provide
the functionality of physical network devices. It holds at least one Virtual System, which
is called VS0.
Zero Phishing
Check Point Software Blade on a Security Gateway (R81.20 and higher) that provides
real-time phishing prevention based on URLs. Acronym: ZPH.
VPN Components
VPN is composed of:
n VPN endpoints, such as Security Gateways, Security Gateway clusters, or remote clients (such as
laptop computers or mobile phones) that communicate over a VPN.
n VPN trust entities, such as a Check Point Internal Certificate Authority (ICA). The ICA is part of the
Check Point suite used for creating SIC trusted connection between Security Gateways,
authenticating administrators and third party servers. The ICA provides certificates for internal
Security Gateways and remote access clients which negotiate the VPN link.
n VPN Management tools, such as Security Management Server and SmartConsole. The
SmartConsole lets organizations define and deploy Intranet, and remote Access VPNs.
n VPN Security Gateway - The Security Gateway that manages encryption and decryption of traffic
between members of a VPN Domain, typically located at one (Remote Access VPN) or both (Site to
Site VPN) ends of a VPN tunnel.
n Site to Site VPN - An encrypted tunnel between two Security Gateways, typically of different
geographical sites.
n Remote Access VPN - An encryption tunnel between a Security Gateway and Remote Access
clients, such as Endpoint Security VPN, and communities.
n Remote Access Community - A group of computers, appliances, and devices that access, with
authentication and encryption, the internal protected network from physically remote sites.
n Star Topology - A "hub and spoke" virtual private network community, with Security Gateways
defined as Satellites (spokes) that create tunnels only with the central Security Gateway ("hub").
n Meshed topology - A VPN community with a VPN Domain that creates a tunnel to other VPN
Domains.
n Domain-based VPN - A method to route encrypted traffic with parameters defined by Security
Gateways.
n Route-based VPN - A routing method for participants in a VPN community, defined by the Virtual
Tunnel Interfaces (VTI).
n IKE (Internet Key Exchange) - An Encryption key management protocol that enhances IPSec by
providing additional features, flexibility, and ease of configuration.
n IPSec - A set of secure VPN protocols that manage encryption keys and encrypted packet traffic, to
create a standard for authentication and encryption services.
Site-to-Site VPN
The basis of Site-to-Site VPN is the encrypted VPN tunnel. Two Security Gateways negotiate a link and
create a VPN tunnel and each tunnel can contain more than one VPN connection. One Security Gateway
can maintain more than one VPN tunnel at the same time.
Item Description
A, B Security Gateways
2 VPN tunnel
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.
VPN Workflow
Host 4 sends
Security Gateways A & B Security Gateway A
packet
create VPN tunnel encrypts data
to Host 5
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:
n 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.
n In a Mesh community, there are VPN tunnels between each pair of Security Gateway.
Item Description
1 Security Gateway
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.
Site to Site VPN requires two or more Security Gateways with the IPsec VPN Software Blade enabled.
Other Software Blades can be enabled on these Security Gateways.
Make sure that Trusted Communication is established between all Security Gateways and the
Management Server.
Do these steps in SmartConsole:
1. Create the Security Gateway objects.
2. Create the Trusted Communication (SIC) with the Management Server.
3. Enable the IPsec VPN Software Blade.
On the General Properties page, in the Network Security tab, select IPsec VPN.
4. Click OK.
Note - An internal CA certificate for the Security Gateway is created automatically.
You can create a Meshed or Star VPN Community. See "VPN Communities" on page 26.
The procedure below shows an example of a Star Community.
Configuring a new VPN community
In addition to the Security Gateway members, you can edit these settings for the VPN Community in
the community object:
n Encrypted Traffic - Select Accept all encrypted traffic to encrypt and decrypt all traffic
between the Security Gateways. If this is not selected, create rules in the Security Policy Rule
Base to allow encrypted traffic between community members
n Encryption - Select encryption settings that include the Encryption Method and Encryption
Suite. See "VPN Community Object - Encryption Settings" on page 58.
n Tunnel Management - Select settings VPN tunnels that include Permanent Tunnels and
Tunnel Sharing. See "Configuring Tunnel Features" on page 129.
n VPN Routing -For Star Communities, select how VPN traffic is routed between the center and
satellite Security Gateways. By default this is always set to To center only. See "Configuring
VPN Routing in Domain Based VPN" on page 99.
n MEP (Multiple Entry Points) - For Star Communities, select how the entry Security Gateway
for VPN traffic is chosen. This only applies when you have multiple center Security Gateways in
the community. See "Overview of MEP" on page 152.
n Excluded Services - Add services that are not to be encrypted, for example Check Point
Control Connections. VPN tunnels are not created for the Services included here.
n Shared Secret - Configure shared secret authentication to use for communication with external
Security Gateways that are part of a VPN community. See "Configuring a VPN with External
Security Gateways Using Pre-Shared Secret" on page 45.
n Wire Mode - Select to define internal interfaces and communities as trusted and bypass the
Security Gateway for some communication. See "Configuring Wire Mode" on page 145.
n Advanced - Configure advanced settings related to IKE, IPsec, and NAT. You can also Reset
All VPN Properties to revert all VPN Community settings to their default values. See
"Configuring Advanced IKE Properties" on page 58.
The VPN Domain defines the networks and IP addresses that are included in the VPN community. It is
also called the Encryption Domain. When you create a Check PointSecurity Gateway object, the VPN
Domain is automatically defined as all IP Addresses behind the Security Gateway, based on the topology
information.
You can manually define the VPN domain to include one or more networks behind the Security Gateway.
You must have a Network object or a Network Group object that represents the Domain.
Configuring a VPN Domain manually
1. In SmartConsole, from the Gateways & Servers view, open a Security Gateway object.
2. Open the Network Management > VPN Domain page.
3. Select Manually defined and:
n Browse to the object list and select an object that represents the domain.
n Browse to the object list and click New > Group or Network to define a new group of
hosts or networks.
4. Click OK.
Important - This feature requires Security Gateways versions R80.40 and higher.
By default a gateway's Encryption Domain is shared with all the communities it is a part of.
Access to different resources within the Encryption Domain is implemented using the Access Control
Rule Base.
In some cases you may need to configure the Encryption Domain in a granular way.
You can configure the VPN domain of a Security Gateway per community, which makes it safer and
easier to control the VPN communities that are logically separated.
Example 1
Configure the Encryption Domain. In our example the encryption domain includes the
network we allow partner B to access.
4. Click OK.
Example 2
Using the same setup, you can use the Encryption Domain per Community configuration to allow
access between host 1 and host 2 in both directions.
The configuration changes are applied to the Encryption Domain of Security Gateway-C per each
relevant community, in this example Communities 1 and 2.
Note - In previous versions to get this functionality the vpn_route.conf file was used.
Configuration:
1. Create a new host (Host-2 behind Security Gateway-B) to represent the Encryption Domain
of Security Gateway-C to publish for Security Gateway-A.
2. Create a new host (Host-1 behind Security Gateway-A) to represent the Encryption Domain
of Security Gateway-C to publish for Security Gateway-B.
3. Create a new Network group to include the current Encryption Domain of Security Gateway-
C and the additional host (Host-2) for Community-1.
4. Create a new Network group to include the current Encryption Domain of Security Gateway-
C and the additional host (Host-1) for Community-2.
5. For Community-1 change the Encryption Domain for Security Gateway-C, use the new
group created in step 3.
6. For Community-2 change the Encryption Domain for Security Gateway-C, use the new
group created in step 4.
In practice this type of configuration "tricks" the satellite gateways to think that the destination host
is part of Security Gateway-C 's Encryption Domain and therefore encrypt the packets from the
satellite gateways towards the center Security Gateway. When the encrypted packet gets to the
center Security Gateway, it is decrypted and re-routed to its original destination thus it is encrypted
again and sent to the other satellite gateway.
If a Security Gateway participates in more than one VPN Community, you can configure a different
VPN Domain for the Security Gateway for each VPN Community in which it participates. In
SmartConsole, you can configure a specific VPN Domain for a Security Gateway in the Security
Gateway object or in the VPN Community object.
Important - This feature requires Security Gateway versions R80.40 and higher.
n User defined
Select the applicable Network or Group object (or create a new object).
This configuration option overrides:
l The VPN Domain that is configured in the Security Gateway object > Network
Management folder > VPN Domain page > VPN Domain section.
l The VPN Domain that is configured in the Meshed / Star VPN Community object >
Gateways page.
l The VPN Domain that is configured in the Remote Access VPN Community object
> Participating Gateways page.
5. Click OK to close the Set Specific VPN Domain for Gateway Communities window.
6. Click OK to close the Communities Specific VPN Domain window.
The need for Granular Encryption - Many times organizations are required to connect a third party
VPN Gateway to an existing VPN community, and for security reasons requires the use of a stronger
encryption suite. With Granular Encryption you can add an Externally Managed Gateway that uses a
different encryption suite to participate in an existing community without the need to change the
encryption methods in use or split the VPN community.
Note - Granular Encryption can be used only with Security Gateways that run R81 or higher.
4. Select the Security Gateways that connects with the Externally Managed Gateway.
Granular Encryption settings are set in pairs, the Internal Security Gateway and the Externally
Managed Security Gateway that corresponds, this is the Encryption Context.
The default value for the Internal Gateway is * Any. If this option is used, all the Internal
Gateways participating in the VPN community use the same Encryption Suite to establish the
VPN connection with the Externally Managed Gateway.
Note - If Granular Encryption is set for a specific Internal Gateway in addition to the
use of * Any in a different Encryption Context, the Granular Encryption settings
apply.
5. Select the Encryption Method and Encryption Suite to use for the VPN communication
between the selected peers.
Make sure the VPN works with the routing configured in your network. If it does not work, change the
routing configuring or change the Link Selection settings as necessary. See "Link Selection Overview"
on page 61.
By default, IPsec VPN uses the main IPv4 Address, defined in the General Properties page of the
Security Gateway object, for the VPN tunnel connection.
If you want to use this IP address for the VPN communication, and it is an external interface, you do not
need additional routing.
If the main IP address is an internal interface, or if you want VPN communication on a different interface,
make sure that:
n The Link Selection settings for the Security Gateway are configured. Choose which Security
Gateway links are used by VPN to route traffic correctly. See "Link Selection Overview" on
page 61
n VPN Routing is configured to allow the connections. For information how to configure routing in
Gaia OS, see the R81.10 Gaia Administration Guide - Chapter Network Management.
Step 5 - Configure the Access Control Rules and install the Access Control Policy
You must configure Access Control rules to allow traffic within VPN Communities.
Configure rules in SmartConsole > Security Policies view > Access Control.
All layers of the Access Control Policy can contain VPN rules.
To make a rule apply to a VPN Community, the VPN column of the Rule Base must contain one of these:
n Any - The rules applies to all VPN Communities and to non-VPN related traffic. If you configure a
new VPN Community after the rule was created, the rule also applies to the new VPN Community.
n One or more specified VPN communities - For example, MyIntranet. Right-click in the VPN
column of a rule and select Specific VPN Communities. The rule applies to the communities
shown in the VPN column.
Examples:
n This rule allows encrypted traffic between domains of member Security Gateways of "community_
X."
Services &
Name Source Destination VPN
Applications
n This rule allows traffic from all VPN Communities to the internal network on all services.
n This rule allows traffic between two VPN domains with all services.
Services &
Name Source Destination VPN
Applications
1. Locate the Access Control rule for the traffic that has to pass through the VPN tunnel.
In the Track column, select Log.
2. From the left navigation panel, click Logs & Monitor > Logs.
3. From the top, click New Tab.
4. From the bottom of the window, click Tunnel and User Monitoring.
Check Point SmartView Monitor opens.
5. Click the Security Gateway to see IPsec VPN traffic and tunnels opened.
A successful connection shows encrypt, decrypt and key install logs.
Alternatively:
a. In SmartConsole, from the left navigation panel, click Logs & Monitor.
b. On the Logs tab, search for VPN to see the applicable logs.
Example:
1. Install and configure the Security Gateways as described in the R81.10 Installation and Upgrade
Guide.
2. From the left navigation panel, click Gateways & Servers.
3. Open the Security Gateway object.
4. On the General Properties page, click the Network Security tab, and select IPsec VPN.
5. Configure the VPN Domain:
a. From the left tree, click Network Management > VPN Domain.
b. Select one of these:
n All IP Addresses behind the Gateway based on Topology information
n User-defined - select the applicable object (Network, Address Range, Group).
Note - There is nothing to configure on the IPsec VPN page for certificates. This is
because Security Gateways that this Management Server manages automatically
receive a certificate from this Management Server's Internal Certificate Authority.
6. Click OK.
7. From the top toolbar, click Objects > Object Explorer.
8. From the left tree, click VPN Communities.
9. Create a new VPN Community object.
To create a Star community
Embedded OS.
Select Mesh center gateways for the center Security Gateways to connect with
each other.
n In the Satellite Gateways section, select the applicable Security Gateway objects.
c. On the Encrypted Traffic page:
Select Accept all encrypted traffic, if it is necessary to encrypt all traffic between the
Security Gateways.
Select the applicable option:
n Both center and satellite gateways
n Satellite gateways only
If you do not need to encrypt all traffic between the Security Gateways, then create the
applicable Access Control rules in the Security Policy (see the next step).
d. On the VPN Routing page , select To center only.
e. Click OK.
f. Close the Object Explorer window.
For information on other options, such as Encryption, Shared Secret, and Advanced, see
"IPsec and IKE" on page 49.
For information on the MEP option, see "Multiple Entry Point (MEP) VPNs" on page 152.
10. If you did not select Accept all encrypted traffic on the Encrypted Traffic page of the VPN
Community, configure the applicable Access Control rules.
For example:
For more information on how to configure an Access Control policy, see the R81.10 Security
Management Administration Guide.
11. Install the Access Control Policy on these Security Gateways.
Example - A Check Point Security Gateway located at a headquarters office and a peer Check Point
Security Gateway located at a branch office are managed separately. Each peer Security Gateway uses a
different Check Point ICA and has different parameters for encryption. The administrators of the two
networks must agree on a CA for communication between the two peers.
Note - Configuring a VPN with PKI and certificates is more secure than with pre-shared secrets.
Procedure
1. Get the certificate of the CA that issued the certificate for the peer VPN Security
Gateways. Request this from the peer administrator.
If the peer Security Gateway uses the Internal Certificate Authority, then to obtain the Certificate
Authority certificate file, connect with a web browser to this portal:
n In R81.10 and higher:
2. In SmartConsole, configure the Certificate Authority object for the Certificate Authority that issued
the certificate for the peer. See "Enrolling with a Certificate Authority" on page 86.
3. Configure a Certificate Authority to issue certificates for your side in case the Certificate issued by
ICA is not applicable for the required VPN tunnel.
You may have to export the CA certificate and supply it to the peer administrator.
4. Define the Network Object(s) of the Security Gateway(s) that are internally managed:
n In the General Properties page of the Security Gateway object, select IPsec VPN.
n In the Network Management page, define the Topology.
n In the VPN Domain page, define the VPN Domain.
If the VPN domain does not contain all the IP addresses behind the Security Gateway,then
configure the VPN domain manually by defining a group or network of machines and setting
them as the VPN Domain.
5. If the ICA certificate is not applicable for this VPN tunnel, then generate a certificate from the
applicable Certificate Authority on the IPsec VPN page.
6. Define the Network Object(s) of the externally managed Security Gateway(s).
n If it is not a Check Point Security Gateway, define an Interoperable Device:
In Object Explorer, click New > Network Object > More > Interoperable Device.
n If it is a Check Point Security Gateway, define an Externally Managed VPN Gateway:
In Object Explorer, click New > Network Object > Gateways and Servers > More >
Externally Managed VPN Gateway.
7. Set the attributes of the peer Security Gateway.
n For an externally managed Check PointSecurity Gateway:
In the General Properties page of the Security Gateway object, select IPsec VPN.
n Define the Topology.
n Define the VPN Domain with the VPN Domain information obtained from the peer
administrator. If the VPN Domain does not contain all the IP addresses behind the Security
Gateway, define the VPN domain manually by defining a group or network of machines and
setting them as the VPN Domain.
Note - It is more secure to configure a VPN with public key infrastructure (PKI) and certificates
than with pre-shared secrets.
To configure a VPN using pre-shared secrets with the external Security Gateways as satellites in
a star VPN Community:
1. Define the Network Object(s) of the Security Gateways that are internally managed.
n In the General Properties page of the Security Gateway object, in the Network Security tab,
select IPsec VPN.
n In the Network Management page, define the Topology.
n In the Network Management > VPN Domain page, define the VPN Domain. If the VPN
domain does not contain all IP addresses behind the Security Gateway, define the VPN
Domain manually by defining a group or network of machines and setting them as the VPN
Domain.
2. Define the Network Object(s) of the externally managed Security Gateway(s).
n If it is not a Check Point Security Gateway, define an Interoperable Device:
In Object Explorer, click New > Network Object > More > Interoperable Device.
n If it is a Check Point Security Gateway, define an Externally Managed VPN Gateway:
In Object Explorer, click New > Network Object > Gateways and Servers > More >
Externally Managed VPN Gateway.
3. Set the attributes of the peer Security Gateway.
n In the Topology page, define the Topology and the VPN Domain with the VPN Domain
information obtained from the peer administrator.
n If the VPN Domain does not contain all the IP addresses behind the Security Gateway,
configure the VPN Domain manually by defining a group or network of machines and setting
them as the VPN Domain.
4. Define the Community.
If you are configuring a Mesh Community rather than a Star Community, ignore the difference
between the Central Security Gateways and the Satellite Security Gateways.
n Agree with the peer administrator about the IKE properties. Set the IKE properties in the
Encryption page and the Advanced page of the community object.
n Define the Central Security Gateways. These are usually the internally managed Security
Gateways. If there is not another Community defined for them, decide whether to mesh the
central Security Gateways. If the Central Security Gateways are already in a Community, do
not mesh them.
n Define the Satellite Security Gateways. These are usually the external Security Gateways.
5. Publish the changes in SmartConsole.
6. Agree on a pre-shared secret with the administrator of the external Community members. Then, in
the Shared Secret page of the Community, select Use only Shared Secret for all external
members. For each external member, enter the pre-shared secret.
7. Define the applicable Access Control rules in the Access Control Policy. Add the Community in
the VPN column, the services in the Services & Applications column, the desired Action, and the
applicable Track option.
8. Install the Access Control Policy.
To configure a VPN between Security Gateways A and B through SmartConsole, the administrator must
install a Policy from the Security Management Server to the Security Gateways.
1. The Security Management Server successfully installs the Policy on Security Gateway A. Security
Gateway A recognizes that Security Gateways A and B now belong to the same VPN Community.
However, Security Gateway B does not yet have the Policy.
2. The Security Management Server opens a connection to Security Gateway B to install the Policy.
3. Security Gateway A allows the connection because of the explicit rules that allow the control
connections. Security Gateway A starts IKE negotiation with Security Gateway B to build a VPN
tunnel for the control connection.
4. Security Gateway B cannot negotiate with Security Gateway A because it does not yet have the
Policy. Therefore, Policy installation on Security Gateway B fails.
Make sure that control connections do not have to pass through a VPN tunnel.
IKE Phase I
During IKE Phase I:
n The peers authenticate, either by certificates or via a pre-shared secret. (More authentication
methods are available when one of the peers is a remote access client.)
n A Diffie-Hellman key is created. The nature of the Diffie-Hellman protocol means that both sides can
independently create the shared secret, a key which is known only to the peers.
n Key material (random bits and other mathematical data) as well as an agreement on methods for IKE
phase II are exchanged between the peers.
In terms of performance, the generation of the Diffie-Hellman Key is slow and heavy. The outcome of this
phase is the IKE SA, an agreement on keys and methods for IKE phase II. Figure below illustrates the
process that takes place during IKE phase I.
Note - The exact negotiation stages differ between IKEv1 and IKEv2.
NULL means perform an integrity check only; packets are not encrypted.
A group with more bits ensures a key that is harder to break, but carries a heavy cost in terms of
performance, since the computation requires more CPU cycles.
Phase I modes
Between Security Gateways, there are two modes for IKE phase I. These modes only apply to IKEv1:
n Main Mode
n Aggressive Mode
If aggressive mode is not selected, the Security Gateway defaults to main mode, performing the IKE
negotiation with six packets; aggressive mode performs the IKE negotiation with three packets.
Main Mode is preferred because:
n Main mode is partially encrypted, from the point at which the shared DH key is known to both peers.
n Main mode is less susceptible to Denial of Service (DoS) attacks. In main mode, the DH computation
is performed after authentication. In aggressive mode, the DH computation is performed parallel to
authentication. A peer that is not yet authenticated can force processor intensive Diffie-Hellman
computations on the other peer.
n Note - Use aggressive mode when a Check Point Security Gateway needs to negotiate with third
party VPN solutions that do not support main mode.
When dealing with remote access, IKE has additional modes:
n Hybrid Mode that provides an alternative to IKE phase I, where the Security Gateway is allowed to
authenticate with certificates and the client via some other means, such as SecurID. For more
information on Hybrid mode, see the R81.10 Remote Access VPN Administration Guide.
n Office Mode that is an extension to the IKE protocol. Office Mode is used to resolve routing issues
between remote access clients and the VPN domain. During the IKE negotiation, a special mode
called config mode is inserted between phases I and II. During config mode, the remote access client
requests an IP address from the Security Gateway. After the Security Gateway assigns the IP
address, the client creates a virtual adapter in the Operating System. The virtual adapter uses the
assigned IP address. For more information, see the R81.10 Remote Access VPN Administration
Guide.
However, because a new DH key is generated during each IKE phase I, no dependency exists between
these keys and those produced in subsequent IKE Phase I negotiations. Enable PFS in IKE phase II only in
situations where extreme security is required.
The supported DH groups for PFS are: 1, 2, 5, 14, 19, and 20. The default is group 2 (1042 bits).
Configure this in VPN Community Properties > Encryption > IKE Security Association (Phase 2) > Use
Perfect Forward Secrecy.
Notes:
n The Perfect Forward Secrecy (PFS) feature supports only IPsec and only for Endpoint VPN
clients. When the PFS is enabled on a Security Gateway, all non-supported Remote
Access VPN clients fail to connect with the error "The user is not defined
properly".
n The Perfect Forward Secrecy (PFS) feature uses the same Diffie-Helman (DH) group in
Phase 2 as configured for Phase 1 (SmartConsole > Menu > Global properties > Remote
Access > VPN - Authentication and Encryption > Encryption algorithms > Edit > Phase 1
> Use Diffie-Helman group).
IP Compression
IP compression is a process that reduces the size of the data portion of the TCP/IP packet. Such a reduction
can cause significant improvement in performance. IPsec supports the Flate/Deflate IP compression
algorithm. Deflate is a smart algorithm that adapts the way it compresses data to the actual data itself.
Whether to use IP compression is decided during IKE phase II. IP compression is not enabled by default.
IP compression is important for Remote Access client users with slow links.
Security Gateway encryption makes TCP/IP packets appear "mixed up". This kind of data cannot be
compressed and bandwidth is lost as a result. If IP compression is enabled, packets are compressed before
encryption. This has the effect of recovering the lost bandwidth.
If the Security Gateway is configured to Support key exchange for subnets, but the option is unsupported
on the remote peer, when Host A communicates with Host C, a Security Association (SA 1) will be
negotiated between Host A's subnet and Host C's IP address. The same SA is then used between any host
on the 10.10.11.x subnet and Host C.
When Host A communicates with Host B, a separate Security Association (SA 2) is negotiated between
Host A's subnet and Host B. As before, the same SA is then used between any host in 10.10.11.x subnet
and Host B.
When Support Key exchange for subnets is not enabled on communicating Security Gateways, then a
security association is negotiated between individual IP addresses; in effect, a unique SA per host.
n Support IKE DoS protection from unidentified source - The default setting for unidentified
sources is Puzzles. If the Security Gateway is under load, this setting requires the peer to
solve a mathematical puzzle. Solving this puzzle consumes peer CPU resources in a way that
makes it difficult to initiate multiple IKE negotiations simultaneously.
For unidentified sources, Stateless protection may not be sufficient because an attacker may
well control all the IP addresses from which the IKE requests appear to be sent. A third
possible setting is None, which means no DoS protection.
3. Click OK.
4. Install the Access Control Policy.
Note - IKE DoS protection is not supported for IPv6 addresses.
Accepted Default
Parameter Description
Values Value
Accepted Default
Parameter Description
Values Value
To limit the amount of tunnels that a user can open per IKE, configure the following fields:
Client Properties
Some Security Gateway properties change name when they are downloaded to Remote Access VPN
Clients.
The modified name appears in the userc.C file, as follows:
ike_dos_protection_unidentified_initiator ike_dos_protection
(Equivalent to the Global Property Support IKE DoS Protection from or
unidentified Source) ike_support_dos_
protection
ike_dos_supported_protection_sr ike_dos_protection
ike_dos_puzzle_level_unidentified_initiator ike_dos_acceptable_
puzzle_level
ike_dos_max_puzzle_time_sr ike_dos_max_puzzle_time
1. In SmartConsole, click Objects menu > Object Explorer (or press Ctrl+E).
2. From the left navigation tree, click VPN Communities.
3. Double-click the VPN Community object.
The Community object window opens and shows the Gateways page.
4. From the navigation tree, click Encryption.
5. Configure the settings.
6. Click OK.
7. Install the Access Control Policy.
Encryption Suite
n Use this encryption suite - Select the methods negotiated in IKE phase 2 and used in IPSec
connections. Select and choose the option for best interoperability with other vendors in your
environment.
l VPN-A or VPN B - See RFC 4308 for more information.
l Suite-B GCM-128 or 256 - See RFC 6379 for more information.
n Custom encryption suite -If you require algorithms other than those specified in the other options,
select the properties for IKE Phase 1, including which Diffie-Hellman group to use. Also, select
properties for IKE Phase 2.
If there is a Security Gateway with Dynamically Assigned IP address inside the VPN community, then
R77.30 (or lower) community member Security Gateways that respond to its IKE negotiation, use the
configuration defined in SmartConsole > Menu > Global properties > Remote Access > VPN -
Authentication and Encryption.
More
n Use aggressive mode (Main mode is the default) - Select only if the peer only supports aggressive
mode. This is only supported with IKEv1.
n Use Perfect Forward Secrecy, and the Diffie-Hellman group - Select if you need extremely high
security.
n Support IP compression - Select to decrease bandwidth consumption and for interoperability with
third party peers configured to use IP Compression.
IKE (Phase 1)
When to renegotiate the IKE Security Associations.
IKE (Phase 2)
When to renegotiate the IPsec security associations. This sets the expiration time of the IPsec encryption
keys.
NAT
Disable NAT inside the VPN community - Select to not apply NAT for the traffic while it passes through
IPsec tunnels in the community.
Reset
Reset all VPN properties to the default.
Instructions
1. On the IPsec VPN > VPN Advanced page, select one of the options in the VPN Tunnel Sharing
section. There are several settings that control the number of VPN tunnels between peer
gateways:
Note - Wire Mode is not supported for IPv6 connections.
n Use the community settings - Create the number of VPN tunnels as defined on the
community Tunnel Management page.
n Custom settings:
l One VPN tunnel per each pair of hosts - A VPN tunnel is created for every session
initiated between every pair of hosts.
l One VPN tunnel per subnet pair - After a VPN tunnel has been opened between two
subnets, subsequent sessions between the same subnets will share the same VPN
tunnel. This is the default setting and is compliant with the IPsec industry standard.
l One VPN tunnel per Gateway pair - One VPN tunnel is created between peer
gateways and shared by all hosts behind each peer gateway.
2. On the Capacity Optimization page, select limit Maximum concurrent IKE negotiations, so you
can maximize VPN throughput.
If you have many employees working remotely, you may want to raise the default values.
Link Selection
Link Selection Overview
Link Selection is a method to define which interface is used for incoming and outgoing VPN traffic as well as
the best possible path for the traffic. With the Link Selection mechanisms, the administrator can choose
which IP addresses are used for VPN traffic on each Security Gateway.
Link Selection has many configuration options to enable you to control VPN traffic. These options include:
n Use probing to choose links according to their availability.
n Use Load Sharing for Link Selection to distribute VPN traffic over available links.
n Use Service Based Link Selection to control bandwidth use.
Configuration settings for remote access clients can be configured together or separately from the Site-to-
Site configuration.
n Reply from the same interface - This option sends the returning traffic through the same interface
and next hop IP address through which it arrived.
Note - When Route Based Probing is enabled, Reply from the same interface is the selected method and
cannot be changed.
In this scenario, Security Gateway A has two external interfaces, 192.168.10.10 and 192.168.20.10. Peer
Security Gateway B also has two external interfaces: 192.168.30.10 and 192.168.40.10.
If all routes for outgoing traffic from Security Gateway A are available, the route from 192.168.10.10 to
192.168.40.10 has the lowest metric (highest priority) and is therefore the preferred route.
The source IP address used for outgoing packets can be configured for sessions initiated by the Security
Gateway. You configure these settings in Security Gateway Properties > IPsec VPN > Link Selection >
Outgoing Route Selection > Source IP address settings.
When initiating a VPN tunnel, set the source IP address with one of the following:
n Automatic (derived from the method of IP selection by remote peer) - The source IP address of
outgoing traffic is derived from the method selected in the IP Selection by Remote Peer section.
l If Main address or Selected address from topology table are chosen in the IP Selection
by Remote Peer section, then the source IP when initiating a VPN tunnel is the IP specified
for that method.
l If Calculate IP based on network topology, Statically NATed IP, Use DNS resolving, or
Use probing is chosen in the IP Selection by Remote Peer section, then the source IP
when initiating a VPN tunnel is the IP address of the chosen outgoing interface.
n Manual:
l Main IP address - The source IP is derived from the General Properties page of the
Security Gateway.
l Selected address from topology table - The selected IP from the drop down menu
becomes the source IP.
l IP address of chosen interface - The source IP is the same IP of the interface where the
traffic is being routed through.
These settings are applicable for RDP and IKE sessions. When responding to an IKE session, use the
reply_from_same_IP (default: true) attribute to follow the settings in the Source IP address settings
window or to respond from the same IP address.
Note - When Route Based Probing is enabled, reply_from_same_IP will be seen as true.
If Use Probing is configured on the local Security Gateway for Remote Peer resolving, or if Route Based
Probing is activated on the local Security Gateway, log entries are also created for all resolving changes.
For example, if a link in use becomes unavailable and a new available link is chosen, a log entry is issued.
How do peer Security Gateways select an IP address on the local Security Gateway for VPN traffic?
Since there is only one interface available for VPN, to determine how remote peers determine the IP
address of the local Security Gateway, select the following from the IP Selection by Remote Peer section of
the Link Selection page:
n Select Main address or choose an IP address from the Selected address from topology table drop
down menu.
n If the IP address is located behind a static NAT device, select Statically NATed IP.
The local Security Gateway has two IP addresses used for VPN. One interface is used for VPN with a peer
Security Gateway A and one interface for peer Security Gateway B.
To determine how peer Security Gateways discover the IP address of the local Security Gateway, enable
one-time probing with High Availability redundancy mode. Since only one IP is available for each peer
Security Gateway, probing only has to take place one time.
To determine how peer Security Gateways discover the IP address of the local Security Gateway, use
ongoing probing with High Availability redundancy mode.
In order for the Static NAT IP address to be probed, it must be added to the Probe the following addresses
list in the Probing Settings window.
To utilize both external interfaces by distributing VPN traffic among all available links, use the Probing
redundancy mode of Load Sharing on both Security Gateways. You can also specify that only certain
external interfaces should be probed by putting only those interfaces in the Probe the following addresses
list in the Probing Settings window. If one link goes down, traffic will automatically be rerouted through the
other link.
To enable this configuration, make sure that your routing table allows packet flow back and forth between
both eth0 interfaces and packet flow back and forth between both eth1 interfaces. Then Link Selection can
reroute the VPN traffic between these available links.
To utilize both external interfaces and distribute VPN traffic between the available links, use the Probing
redundancy mode of Load Sharing on the local Security Gateway. Then the peer Security Gateway will
distribute its outgoing VPN traffic between interfaces eth0 and eth1 of the local Security Gateway.
If the default, Operating system routing table, setting in the Outgoing Route Selection section is selected,
the local Security Gateway will only use one of its local interfaces for outgoing VPN traffic; the route with the
lowest metric and best match to reach the single IP address of the peer Security Gateway, according to the
routing table.
If you want to distribute the outgoing VPN traffic on both outbound links from the local Security Gateway as
well, select Route Based Probing in the Outgoing Route Selection on the Link Selection page of the local
Security Gateway.
If all links through the interface assigned to a specific service stop responding to RDP probing, a link failover
will occur by default, as in any other probing mode. When a link through the assigned interface is restored,
new outgoing connections are assigned to it, while existing connections are maintained over the backup link
until they are completed.
It is possible to configure the traffic of a specific service not to fail over. In this case, traffic of the configured
service will only be routed through interfaces assigned to this service, even if these interfaces stop
responding to RDP.
If the same service is assigned to more than one interface, this service's traffic is distributed between the
configured interfaces. Every new outgoing encrypted connection uses the next available link in a round
robin manner.
All traffic from services that are not assigned to a specific interface is distributed among the remaining
interfaces. If all links through these interfaces are down, the traffic is distributed among the interfaces that
are configured for specific services.
Service Based Link Selection configuration requires enabling the following features:
n IP Selection by Remote Peer - Load Sharing probing mode
n Outgoing Route Selection - Route based probing
n Service Based Link Selection - Configuration file on the management server
Service Based Link Selection is supported on Security Gateways R71 and higher.
In this example, interface eth1 of both Security Gateways is dedicated to HTTP and FTP traffic. All other
traffic is routed to interface eth0.
If the available link through eth1 stops responding to RDP probing, HTTP and FTP traffic will fail over to
eth0. It is possible to specify that HTTP and FTP traffic should only be routed through eth1 even if the link
through eth1 stops responding. Specify this by including the dont_failover flag when editing the Service
Based Link Selection configuration file.
All other traffic that is not HTTP or FTP will be routed through eth0. If the link through eth0 stops
responding to RDP probing, all traffic will be routed through eth1.
The Service Based Link Selection configuration file for this environment should appear as follows:
Alternatively, in SmartConsole, you can create a Services Group that includes HTTP and FTP services. In
the example below, this group is called http_ftp_grp. With this group, the Service Based Link Selection
configuration file for this environment should appear as follows:
To utilize all three external interfaces and distribute the VPN traffic among the available links, Link Selection
Load Sharing and Route based probing should be enabled. To control your bandwidth use, dedicate one or
more links to a specific service or services using Service Based Link Selection. In this scenario, interfaces
eth0 and eth1 of both Security Gateways are dedicated to SIP traffic. SIP traffic is distributed between
eth0 and eth1. All other traffic is routed through eth2.
If either the link through eth0 or the link through eth1 stops responding to RDP probing, SIP traffic will fail
over to the other SIP interface. If the link through eth2 stops responding to RDP probing, all traffic will be
routed though eth0 or eth1.
To utilize all external interfaces and distribute the VPN traffic among the available links, Link Selection Load
Sharing and Route based probing should be enabled on the local Security Gateway, London_GW. To
control your bandwidth use, dedicate interface eth1 of the local Security Gateway to HTTP and FTP traffic
using Service Based Link Selection. The local Security Gateway will route outgoing HTTP and FTP
connections through interface eth1. All other traffic, not HTTP or FTP, will be routed through eth0.
In this scenario, HTTP and FTP traffic should not fail over. HTTP and FTP traffic should only be routed
through interface eth1, even if the link through interface eth1 stops responding to RDP probing. This is
configured by specifying the dont_failover flag.
The Service Based Link Selection configuration file for this environment should appear as follows:
Since the Service Based Link Selection configuration is only applicable for outgoing traffic of the local
Security Gateway, the peer Security Gateway can send HTTP and FTP traffic to either interface of the local
Security Gateway. The outgoing VPN traffic of the peer Security Gateway is distributed between interfaces
eth0 and eth1 of the local Security Gateway.
Trusted Links
Trusted Links allows you to set an interface as "trusted" for VPN traffic so that traffic sent on that link will not
be encrypted. You may want to set up a trusted link if you are confident that the link is already encrypted and
secure and you do not need a second encryption.
If you configure an interface as trusted, traffic routed through that interface will be sent unencrypted, while
traffic sent through other interfaces will still be encrypted.
Trusted interfaces should be configured symmetrically on the local and peer Security Gateways. If only one
side of the link is configured as trusted for VPN traffic, clear traffic received by a non-trusted interface will be
dropped by the peer Security Gateway.
If you have configured a specific link as trusted for VPN traffic and you use probing, the probing method
considers all links, including the trusted link, when choosing a link for a connection.
The probing method chooses the link according to these criteria:
n The configured redundancy mode, High Availability or Load Sharing
n If Service Based Link Selection is configured.
If the trusted link is chosen for a connection, the traffic is not encrypted. If another, non-trusted, link is
chosen, the traffic is encrypted.
In an MEP configuration, trusted links are only supported for connections initiated by a peer Security
Gateway to a MEP Security Gateway. Unencrypted VPN connections routed through a trusted interface and
initiated by a MEP Security Gateway may be dropped by the peer Security Gateway.
Trusted links are not supported in Traditional mode. In Traditional mode, trusted link settings are ignored
and VPN traffic is always encrypted.
Trusted links are supported on Security Gateways R71 and higher.
4. Within the trusted interface set, change the value of the vpn_trusted attribute to true (default
value: false).
5. Configure trusted interfaces symmetrically on the peer Security Gateways. If only one side of the link
is configured as trusted for VPN traffic, clear traffic received by a non-trusted interface will be dropped
by the peer Security Gateway.
6. Save changes (File menu > Save All).
7. In SmartConsole, install the Access Control Policy on the Security Gateway / Cluster object.
If the probing redundancy mode is High Availability and the trusted link is configured as the Primary IP
address, the trusted link will be used for VPN traffic. If the trusted link stops responding to RDP probing, the
link through Interface eth0 will be used for VPN traffic and traffic will be encrypted.
If the probing redundancy mode is Load Sharing, the VPN traffic will be distributed between the available
links. Connections routed through interface eth0 will be encrypted while connections routed through the
trusted link will not be encrypted.
SIP traffic is routed through the trusted link between the two eth1 interfaces and will not be encrypted. If the
trusted link stops responding to RDP probing, SIP traffic will be routed through the eth0 interfaces and will
be encrypted.
All other traffic that is not SIP is encrypted and routed through the interface eth0 link. However, if interface
eth0 stops responding to RDP probing, all the traffic will be routed through the trusted link and will not be
encrypted.
The Security Gateway has two external links for Internet connectivity: one to an ISP, the other to an ISDN
dialup. The ISDN dialup connection is configured as an On Demand Link.
On the Security Gateway, the Route Based Probing mechanism probes all of the non-On Demand Links and
selects the active link with the lowest metric. In this case, it probed the ISP link. A script is run to activate the
On Demand Link when all other links with higher priorities become unavailable. When the link becomes
available again, a shutdown script is run automatically and the connection continues through the link with
the ISP.
Note - On Demand Links are probed only once with a single RDP session. Fail over between On Demand
Links is not supported.
Property Description
on_demand_initial_ The name of the on-demand script, which runs when all not-on-demand
script routes stop responding.
Put the script in the $FWDIR/conf/ directory.
on_demand_shutdown_ This script is run when the failed links become available.
script Put the script in the $FWDIR/conf/ directory.
If you do not want to use Database Tool (GuiDBEdit Tool), you can configure the use_on_demand_links
and on_demand_metric_min settings in SmartConsole:
1. Click Menu > Global properties.
2. Click Advanced > Configure.
3. Click VPN Advanced Properties > Link Selection.
4. Select use_on_demand_links to enable On Demand Links.
5. In the on_demand_metric_min field, set the minimum metric level for an On Demand Link.
6. Click OK.
7. Click OK.
8. Install the Access Control Policy.
l The Primary ISP link of the ISP redundancy is set as the Primary Address of the Link Selection
probing. The Primary Address is set under: IP Selection by Remote Peer > Use Probing >
Configure (or View, if the settings are derived from the ISP Redundancy settings).
If you do not want the ISP Redundancy settings to affect the Link Selection settings, on the ISP Redundancy
page, clear the check box that says Apply settings to VPN traffic and configure the required VPN settings
on the Link Selection page. This may apply when you want to route VPN traffic differently than the clear
traffic. For example, if you want to use Load Sharing for clear traffic and High Availability for VPN traffic, or if
you want to use different primary ISPs for clear and VPN traffic.
In the Topology > ISP Redundancy window, configure the ISP Redundancy settings, such as ISP Links and
Redundancy mode. The ISP Redundancy settings are applied by default to VPN traffic. The derived Link
Selection settings are visible in the IPsec VPN > Link Selection window.
In the following scenario, the Apply settings to VPN traffic on the ISP Redundancy page was cleared, and
there are different setting configured for Link Selection and ISP Redundancy.
In this scenario:
n Security Gateways A, B, and C each have two interfaces configured as ISP links.
n ISP Redundancy is configured on Security Gateway A.
n Security Gateway A should use ISP 1 in order to connect to Security Gateway B and ISP 2 in order to
connect to Security Gateway C. If one of the ISP links becomes unavailable, the other ISP should be
used.
In this scenario, the administrator of Security Gateway A needs to:
n Clear the box Apply settings to VPN traffic in the ISP Redundancy window.
n Reconfigure the Outgoing Route Selection to Route Based Probing in the Link Selection window.
n Configure the routing table so that ISP 1 is the highest priority for peer Security Gateway B and ISP 2
has the highest priority for peer Security Gateway C.
n Load Sharing and Service Based Link Selection do not work with non-Check Point Gateways. If
Load Sharing or Service Based Link Selection is enabled on the local Security Gateway, but the peer
is a non-Check Point device, the local Security Gateway will only use one link to the non-Check Point
device: the best match (highest prefix length) link with the lowest metric.
n If Route based probing is selected as the Outgoing Route Selection method, for VPN traffic to a
non-Check Point device, the local Security Gateways always use the best match (highest prefix
length) link with the lowest metric.
n CA Hierarchy - CAs are typically arranged in a hierarchical structure where multiple CAs are
subordinate to a root authority CA. A subordinate CA is a Certificate Authority certified by another
Certificate Authority. Subordinate CAs can issue certificates to other, more subordinate CAs, forming
a certification chain or hierarchy.
Security Management Server A issues certificates for Security Management Server B that issues
certificates for Security Gateway B.
Security Gateways A and B receive their certificates from a PKI service provider accessible via the web.
Certificates issued by external CAs may be used by Security Gateways managed by the same Security
Management Server to verification.
Trusting An External CA
A trust relationship is a crucial prerequisite for establishing a VPN tunnel. However, a trust relationship is
possible only if the CA that signs the peer's certificate is "trusted." Trusting a CA means obtaining and
validating the CA's own certificate. Once the CA's Certificate has been validated, the details on the CA's
certificate and its public key can be used to both obtain and validate other certificates issued by the CA.
The Internal CA (ICA) is automatically trusted by all modules managed by the Security Management Server
that employs it. External CAs (even the ICA of another Check Point Security Management Server) are not
automatically trusted, so a module must first obtain and validate an external CA's certificate. The external
CA must provide a way for its certificate to be imported into the Security Management Server.
If the external CA is:
n The ICA of an external Security Management Server, see the R81.10 Security Management
Administration Guide for further information
n An OPSEC Certified CA, use the CA options on the Servers and OPSEC Applications tab to define
the CA and obtain its certificate
Note - During SCEP enrollment, some HTTP requests may be larger than 2000 bytes, and may be dropped
by the HTTP protocol inspection mechanism if enabled. A change of the default value will be required to
enable these HTTP requests. If enrollment still fails, enrollment must be done manually. For more
information, see the R81.10 Threat Prevention Administration Guide.
Validation of a Certificate
When an entity receives a certificate from another entity, it must:
1. Verify the certificate signature, i.e. verify that the certificate was signed by a trusted CA. If the
certificate is not signed directly by a trusted CA, but rather by a subsidiary of a trusted CA, the path of
CA certificates is verified up to the trusted CA.
2. Verify that the certificate chain has not expired.
3. Verify that the certificate chain is not revoked. A CRL is retrieved to confirm that the serial number of
the validated certificate is not included among the revoked certificates.
In addition, VPN verifies the validity of the certificate's use in the given situation, confirming that:
n The certificate is authorized to perform the required action. For example, if the private key is needed
to sign data (e.g., for authentication) the KeyUsage extension on the certificate - if present - is
checked to see if this action is permitted.
n The peer used the correct certificate in the negotiation. When creating a VPN tunnel with an
externally managed module, the administrator may decide that only a certificate signed by a specific
CA from among the trusted CAs can be accepted. (Acceptance of certificates with specific details
such as a Distinguished Name is possible as well).
Revocation Checking
There are two available methods useful in determining the status of a certificate:
1. CRL
2. Online Certificate Status Protocol (OCSP)
Note - Adding the object's IP address as the Alternate Name extension can be
configured as a default setting.
This configuration also applies for Internal Certificate Authorities.
a. In SmartConsole, click Menu > Global properties > Advanced > Configure.
b. Click Certificates and PKI properties.
c. Select these options:
n add_ip_alt_name_for_ICA_certs (closer to the top of this page)
n add_ip_alt_name_for_opsec_certs (closer to the bottom of this page)
n Supply the password of the Subordinate CA which issues the certificate (not the CA at the top of
the hierarchy).
n The Subordinate CA must lead directly to a trusted CA.
CRL
VPN can retrieve the CRL from either an HTTP server or an LDAP server. If the CRL repository is an HTTP
server, the module uses the URL published in the CRL Distribution Point extension on the certificate and
opens an HTTP connection to the CRL repository to retrieve the CRL.
If the CRL repository is an LDAP server, VPN attempts to locate the CRL in one of the defined LDAP
account units. In this scenario, an LDAP account unit must be defined. If the CRL Distribution Point
extension exists, it publishes the DN of the CRL, namely, the entry in the Directory under which the CRL is
published or the LDAP URI. If the extension does not exist, VPN attempts to locate the CRL in the entry of
the CA itself in the LDAP server.
OCSP
Online Certificate Status Protocol (OCSP) enables applications to identify the state of a certificate. OCSP
may be used for more timely revocation information than is possible with CRLs and may also be used to
obtain additional status information. When OCSP client issues a status request to an OCSP server,
acceptance of the certificate in question is suspended until the server provides a response.
In order to use OCSP, the root CA must be configured to use this method instead of CRL. This setting is
inherited by the subordinate CAs.
CRL Prefetch-Cache
Since the retrieval of CRL can take a long time (in comparison to the entire IKE negotiation process), VPN
stores the CRLs in a CRL cache so that later IKE negotiations do not require repeated CRL retrievals.
The cache is pre-fetched:
n every two hours
n on policy installation
n when the cache expires
If the pre-fetch fails, the previous cache is not erased.
Note - The ICA requires the use of a CRL cache.
An administrator can shorten the lifetime of a CRL in the cache or even to cancel the use of the cache. If the
CRL Cache operation is canceled, the CRL must be retrieved for each subsequent IKE negotiation, thus
considerably slowing the establishment of the VPN tunnel. Because of these performance implications, we
recommend that you only disable CRL caching when the level of security demands continuous CRL
retrieval.
In case there is a requirement that after the cpstop and cpstart commands, the CRLs will be updated
immediately, proceed as follows:
n After executing the "cprestart" command, run the "vpn crl_zap" on page 185 command to empty
the cache, or:
n In SmartConsole
When a new policy is installed, the cache is flushed, and a new CRL will be retrieved on demand.
Note - Generating certificates for Edge devices does not support DKM and will be generated locally on the
management even if use_dkm_cert_by_default is enabled.
Trusting an ICA
A VPN module automatically trusts the ICA of the Security Management Server that manages it. No further
configuration is required.
CA Certificate Rollover
CA Certificate Rollover is a VPN feature that enables rolling over the CA certificates used to sign client and
Security Gateway certificates for VPN traffic, without risk of losing functionality at transition.
To achieve a gradual CA certificate rollover, CA Certificate Rollover enables VPN support for multiple CA
certificates generated by third-party OPSEC-compliant CAs, such as Microsoft Windows CA. With multiple
CA certificates, you can gradually rollover client and Security Gateway certificates during a transitional
period when client and Security Gateway certificates signed by both CA certificates are recognized.
When a certificate is added to a CA that already has a certificate, the new certificate is defined as Additional
and receives an index number higher by one than the highest existing certificate index number. The original
certificate is defined as Main.
Only additional certificates can be removed. CA Certificate Rollover provides tools for adding and removing
certificates, and for changing the status of a certificate from additional to main and from main to additional.
CA Certificate Rollover is for rolling over CA certificates with different keys. To add a CA certificate with the
same key as the existing CA certificate (for example, to extend its expiration date), just Get the certificate
from the OPSEC PKI tab of the CA properties, and do not use CA Certificate Rollover.
1. Generate from the third-party CA a second CA certificate in DER format (PEM is not supported),
with different keys than the previous CA certificate. Copy the certificate to the Security
Management Server.
2. Connect to the command line on the Security Management Server.
3. Log in to the Expert mode.
4. Add the new CA certificate to the Security Management Server database's definitions for the third-
party CA:
mcc add <CA Name> <Certificate File>
1. In SmartConsole, click Menu > Global Properties > Advanced > Configure.
2. Click Certificates and PKI properties.
3. In the prefetch_crls_duration field, configure the duration.
4. Click OK.
5. Install the Access Control Policy.
1. In SmartConsole, click Menu > Global properties > VPN > Advanced.
2. In the CRL Grace Period section, configure the applicable times.
3. Click OK.
4. Install the Access Control Policy.
The Grace Period can be defined for both the periods before and after the specified CRL validity period.
Configuring OCSP
To use OCSP, you must configure the CA object to use the OCSP revocation information method instead of
the CRL method.
Use Database Tool (GuiDBEdit Tool) (see sk13009) to change the value of the field ocsp_validation to true.
When set to true, the CA uses OCSP to make sure that certificates are valid. This is configured on the root
CA and is inherited by the subordinate CAs.
Item Description
A Security Gateway A
B Security Gateway B
C Security Gateway C
The format is: Destination, Next hop, Install on Security Gateway (with tabbed spaces separating the
elements).
Consider a simple VPN routing scenario consisting of Center gateway (hub) and two Satellite gateways
(spokes). All machines are controlled from the same Security Management Server, and all the Security
Gateways are members of the same VPN community. Only Telnet and FTP services are to be encrypted
between the Satellites and routed through the Center:
Although you can do this easily in a VPN Star community, you can achieve the same goal if you edit the
$FWDIR/conf/vpn_route.conf file:
In this instance, Spoke_B_VPN_Dom is the name of the network object group that contains spoke B's VPN
domain. Hub C is the name of the Security Gateway enabled for VPN routing. Spoke_A_VPN_Dom is the
name of the network object that represents Spoke A's encryption domain.
Example of the file contents:
For the two VPN star communities, based around Hubs A and B:
n Spokes A1 and A2 need to route all traffic going outside of the VPN community through Hub A
n Spokes A1 and A2 also need to route all traffic to one another through Hub A, the center of their star
community
n Spoke B needs to route all traffic outside of its star community through Hub B
A_community is the VPN community of A plus the spokes belonging to A. B_community is the VPN
community. Hubs_community is the VPN community of Hub_A and Hub_B.
Spokes A1 and A2 are combined into the network group object "A_spokes".
The applicable rule in the Security Policy Rule Base looks like this:
The applicable rule in the Security Policy Rule Base looks like this:
In this scenario:
n There is a VTI connecting "Cluster GWa" and "GWb" (you must configure the same Tunnel ID on
these peers)
n There is a VTI connecting "Cluster GWa" and "GWc" (you must configure the same Tunnel ID on
these peers)
n There is a VTI connecting "GWb" and "GWc" (you must configure the same Tunnel ID on these peers)
A virtual interface behaves like a point-to-point interface directly connected to the remote peer. Traffic
between network hosts is routed into the VPN tunnel with the IP routing mechanism of the Operating
System. Security Gateway objects are still required, as well as VPN communities (and access control
policies) to define which tunnels are available. However, VPN encryption domains for each peer Security
Gateway are no longer necessary. The decision whether or not to encrypt depends on whether the traffic is
routed through a virtual interface. The routing changes dynamically if a dynamic routing protocol
(OSPF/BGP) is available on the network.
When a connection that originates on GWb is routed through a VTI to GWc (or servers behind GWc) and is
accepted by the implied rules, the connection leaves GWb in the clear with the local IP address of the VTI as
the source IP address. If this IP address is not routable, return packets will be lost.
The solution for this issue is:
n Configure a static route on GWb that redirects packets destined to GWc from being routed through
the VTI
n Not including it in any published route
n Adding route maps that filter out GWc's IP addresses
Having excluded those IP addresses from route-based VPN, it is still possible to have other connections
encrypted to those addresses (i.e. when not passing on implied rules) by using domain based VPN
definitions.
The VTI can be configured in two ways:
Numbered You configure a local and remote IP address for each numbered VPN Tunnel
Interface (VTI).
For each Security Gateway, you configure a local IP address, a remote address, and
the local IP address source for outbound connections to the tunnel.
The remote IP address must be the local IP address on the remote peer Security
Gateway.
More than one VTI can use the same IP Address, but they cannot use an existing
physical interface IP address.
Unnumbered For unnumbered VTIs, you define a proxy interface for each Security Gateway.
Each Security Gateway uses the proxy interface IP address as the source for
outbound traffic.
Unnumbered interfaces let you assign and manage one IP address for each interface.
Proxy interfaces can be physical or loopback interfaces.
IP Configuration:
The example configurations below use the same Security Gateway names and IP addresses that are
described in Numbered VTIs.
See the R81.10 Gaia Administration Guide > Chapter Network Management > Section Network
Interfaces > Section VPN Tunnel Interfaces.
a. Configure a Numbered VPN Tunnel Interface for GWb.
Use these settings for the VTI:
Parameter Value
Peer GWb
Parameter Value
Peer GWc
See the R81.10 Gaia Administration Guide > Chapter Network Management > Section Network
Interfaces > Section VPN Tunnel Interfaces.
a. Configure a Numbered VPN Tunnel Interface for GWb.
Use these settings for the VTI:
Parameter Value
Peer GWb
Parameter Value
Peer GWc
See the R81.10 Gaia Administration Guide > Chapter Network Management > Section Network
Interfaces > Section VPN Tunnel Interfaces.
Parameter Value
Peer ClusterGWa
Parameter Value
Peer GWc
See the R81.10 Gaia Administration Guide > Chapter Network Management > Section Network
Interfaces > Section VPN Tunnel Interfaces.
Parameter Value
Peer ClusterGWa
Parameter Value
Peer GWb
After configuring the VTIs on the cluster members, you must configure the Cluster Virtual IP
addresses of these VTIs in the cluster object in SmartConsole.
member_ member_
Name Topology Virtual IP Comment
GWa1 GWa2
f. Click OK.
g. Install the Access Control Policy on the cluster object.
The example below shows how the OSPF dynamic routing protocol is enabled on VTIs.
Note that the network commands for single members and cluster members are not the same.
For more information on VTIs and advanced routing commands, see the:
n R81.10 Gaia Administration Guide.
n R81.10 Gaia Advanced Routing Administration Guide.
When peering with a Cisco GRE enabled device, a point to point GRE tunnel is required.
Configuration:
OSPF configuration on 'member_GWa1'
Services &
Source Destination VPN Action Track
Applications
Configuring LSV
Workflow:
1. Configure the Certificate Authority.
2. Configure the Center VPN Security Gateway.
3. Configure the VPN community.
4. Configure the LSV profile.
5. Install the Security Policy.
Configuring LSV
d. Click Properties:
n If you chose SCEP as the protocol, in the Properties for SCEP protocol window,
enter the CA identifier (such as example.com) and the Certification
Authority/Registration Authority URL.
n If you chose CMPV1 as the protocol, in the Properties for CMP protocol - V1
window, enter the applicable IP address and port number. (The default port is 829).
n If you chose CMPV2 as the protocol, in the Properties for CMP protocol -V2 window,
decide whether to use direct TCP or HTTP as the transport layer.
Note - If Automatic enrollment is not selected, then enrollment will have to be
performed manually.
e. Choose a method for retrieving CRLs from this CA.
If the CA publishes CRLs on HTTP server choose HTTP Server(s).
Certificates issued by the CA must contain the CRL location in an URL in the CRL
Distribution Point extension.
If the CA publishes CRL on LDAP server, choose LDAP Server(s).
In this case, you must define an LDAP Account Unit as well. See the R81.10 Security
Management Administration Guide for more details about defining an LDAP object.
In the LDAP Account Unit Properties window, on the General tab, make sure to check the
CRL retrieval.
Certificates issued by the CA must contain the LDAP DN on which the CRL resides in the
CRL distribution point extension.
f. Click Get.
g. If SCEP is configured, it will try to connect to the CA and retrieve the certificate. If not,
browse to where you saved the peer CA certificate and select it.
The certificate is fetched. Verify the certificate's details. Display and validate the SHA-1 and
MD5 fingerprints of the CA certificate.
h. Click OK.
2. Configure the certificate for the central VPN Security Gateway.
The devices participating in the LSV community must all share a signed certificate from the same
Certificate Authority signed for the Central VPN Gateway.
A certificate is automatically issued by the Internal Certificate Authority for all internally managed
entities that are VPN-capable. That is, after the administrator enables the IPsec VPN Software
Blade in a Security Gateway or Cluster object (on the General Properties page > on the Network
Security tab).
The process for obtaining a certificate from an OPSEC PKI CA or External Check Point CA is
identical.
Manual Enrollment with OPSEC Certified PKI
n. After the certificate arrives from the Certificate Authority administrator, you must save it
in the Certificate Authority object:
i. In SmartConsole, click Objects > Object Explorer (or press the CTRL+E keys).
ii. In the left tree, click Servers.
iii. Double-click the applicable Certificate Authority object.
iv. Click the OPEC PKI tab.
v. In the Certificate section, click Get.
vi. Browse to the location, where you saved the certificate file.
vii. Select the certificate file and click Open.
viii. If the certificate details are correct, click OK to accept this certificate.
ix. Click OK to close the Certificate Authority Properties window.
x. Close the Object Explorer window.
o. Publish the SmartConsole session
h. In the section Key pair generation and storage, select the applicable method:
n Store keys on the Security Management server - Certificate creation is
performed entirely between the Management Server and applicable CA. The keys
and the certificate are downloaded securely to the Security Gateway (Cluster
Members) during policy installation.
n Store keys on the Module - Management Server directs the Security Gateway (or
Cluster Members) to create the keys and supply only the required material for
creation of the certificate request. Only the certificate is downloaded to the
Security Gateway (Cluster Members) during policy installation.
i. Click Generate and select Automatic enrollment.
The Generate Keys and Get Automatic Enrollment Certificate window opens.
n Supply the Key Identifier and your secret Authorization code.
n Click OK.
j. When the certificate appears in the section Repository of Certificates Available to the
Gateway:
i. Select this certificate.
ii. Click View.
iii. In the Certificate View window, click Copy to Clipboard or Save to File.
k. Send the request to CA administrator.
Different Certificate Authorities provide different means for doing this. For example, an
advanced enrollment form on their website. The issued certificate can be delivered in
various ways, such as by email. After you receive the certificate, save it to disk.
l. From the left tree click, IPsec VPN.
m. In the section Repository of Certificates Available to the Gateway:
i. Select the applicable certificate.
ii. Click Complete.
n. Browse to the folder where you stored the issued certificate, select the certificate, and
examine the certificate details.
o. Click OK to close the Security Gateway or Cluster object.
p. Publish the SmartConsole session
c. In the Satellite Gateways section, click the + icon > New ( ) > Large Scale VPN.
The New Large Scale VPN Profile window opens.
Important - If the Encryption Domain of the LSV gateways overlaps (the same or partial
Encryption Domain is configured for two or more peer devices), the default behavior is to
use the VPN connection of the peer the connected last. The kernel parameter "lsv_
prefer_new_peer" on Security Gateways (Cluster Members) controls this behavior.
The default value of this kernel parameter is 1.
5. Install the Security Policy.
You can monitor LSV peers on a Security Gateway with the vpn lsv command.
1. Connect to the command line on the Security Gateway (each Cluster Member).
2. Log in to the Expert mode.
3. Run:
vpn lsv
Output:
Select an option.
********** Select Option **********
(1) List all LSV peers
(2) Show LSV peer's details
(3) Remove an LSV peer
(4) Remove all LSV peers
(Q) Quit
*******************************************
Tunnel Management
Overview of Tunnel Management
The VPN tunnel transports data securely. You can manage the types of tunnels and the number of tunnels
with these features:
n Permanent Tunnels - Keeps VPN tunnels active to allow real-time monitoring capabilities.
n VPN Tunnel Sharing - Provides greater interoperability and scalability between Security Gateways. It
also controls the number of VPN tunnels created between peer Security Gateways.
See the status of all VPN tunnels in SmartView Monitor. For details see Monitoring Tunnels in the R81.10
Logging and Monitoring Administration Guide.
Permanent Tunnels
As companies have become more dependent on VPNs for communication to other sites, uninterrupted
connectivity has become more crucial than ever before. Therefore it is essential to make sure that the VPN
tunnels are kept up and running. Permanent Tunnels are constantly kept active and as a result, make it
easier to recognize malfunctions and connectivity problems. Administrators can monitor the two sides of a
VPN tunnel and identify problems without delay.
Each VPN tunnel in the community may be set to be a Permanent Tunnel. Since Permanent Tunnels are
constantly monitored, if the VPN tunnel is down, then a log, alert, or user defined action, can be issued. A
VPN tunnel is monitored by periodically sending "tunnel test" packets. As long as responses to the packets
are received the VPN tunnel is considered "up." If no response is received within a given time period, the
VPN tunnel is considered "down." Permanent Tunnels can only be established between Check Point
Security Gateways. The configuration of Permanent Tunnels takes place on the community level and:
n Can be specified for an entire community. This option sets every VPN tunnel in the community as
permanent.
n Can be specified for a specific Security Gateway. Use this option to configure specific Security
Gateways to have permanent tunnels.
n Can be specified for a single VPN tunnel. This feature allows configuring specific tunnels between
specific Security Gateways as permanent.
Use Case
Dead Peer Detection is configured by default to meet the minimum requirement for a Check Pointgateway to
establish a VPN tunnel with a non-Check Pointgateway. Dead Peer Detection is not relevant for a VPN
tunnel between Check Pointgateways that use the Check Point proprietary tunnel testing protocol.
Use Case
In the default DPD responder mode, the Check Point gateway sends DPD replies but does not send DPD
requests. Permanent Tunnel Mode based on DPD provides better monitoring of the tunnel because the
Check Point gateway sends DPD requests. Permanent Tunnel Mode with DPD is not relevant for a VPN
tunnel between Check Point gateways that use the Check Point proprietary tunnel testing protocol.
Configuration
To configure DPD for a permanent tunnel, the permanent tunnel must be in the VPN community. After you
configure the permanent tunnel, configure Permanent Tunnel mode Based on DPD. There are different
possibilities for permanent tunnel mode:
n tunnel_test (default) - The permanent tunnel is monitored by a tunnel test (as in earlier versions). It
works only between Check Point Security Gateways. Keepalive packets are always sent.
n dpd - The active DPD mode. A peer receives DPD requests at regular intervals (10 seconds). DPD
requests are only sent when there is no traffic from the peer.
n passive - The passive DPD mode. Peers do not send DPD requests to this peer. Tunnels with
passive peers are monitored only if there is IPsec traffic and incoming DPD requests.
Note: To use this mode for only some gateways, enable the forceSendDPDPayload registry key on
Check Point remote peers.
Optional Configuration:
n IKE Initiation Prevention - By default, when a valid IKE SA is not available, a DPD request message
triggers a new IKE negotiation. To prevent this behavior, set the property dpd_allowed_to_init_ike to
false.
Edit the property in Database Tool (GuiDBEdit Tool) > Network Objects > network_objects > <Name
of Security Gateways object> > VPN.
n Delete IKE SAs for dead peer - Based on RFC 3706, a VPN Gateway has to delete IKE SAs from a
dead peer. This functionality is enabled, by default.
l To disable the feature, add this line to the $CPDIR/tmp/.CPprofile.sh file and then reboot:
Note - It is not supported to change the value of this environment variable in the current shell
session with the "export DPD_DONT_DEL_SA=0" command.
l To enable the feature (if you disabled it), remove the line with "DPD_DONT_DEL_SA" from the
$CPDIR/tmp/.CPprofile.sh file and then reboot.
Note - It is not supported to change the value of this environment variable in the current shell
session with the "export DPD_DONT_DEL_SA=1"command.
Permanent Tunnels
In the Star Community or Meshed community object, on the Tunnel Management page, select Set
Permanent Tunnels.
These are the options:
n On all tunnels in the community
n On all tunnels of specific Security Gateways
n On specific tunnels in the community
To configure all tunnels as permanent, select On all tunnels in the community. Clear this option to
terminate all Permanent Tunnels in the community.
n cluster_status_polling_interval - (applicable for High Availability Clusters only) - Set the time
between tunnel tests between a primary Security Gateway and a backup Security Gateway.
The tunnel test is sent by the backup Security Gateway. When there is no reply, the backup
Security Gateway will become active.
4. Click OK.
5. If you changed the existing setting, then install the Access Control Policy.
Tracking Options
You can configure alerts to stay updated on the status of permanent VPN tunnels.
The alerts are configured for the tunnels that are defined as permanent, based on the settings on the
page.
See status of all VPN tunnels in SmartView Monitor.
Automatic RIM
In this scenario:
Label Meaning
R1 Router 1
G1 Security Gateway 1
R2 Router 2
G2 Security Gateway 2
n RIM is enabled in the VPN community in which Security Gateway 1 and Security Gateway 2
participate.
n When the Security Gateways create a VPN tunnel, and the Permanent Tunnel status changes to
"UP", RIM updates the routing tables:
l The routing table on Security Gateway 1 gets the routes for the encryption domain of Security
Gateway 2.
l The routing table on Security Gateway 2 gets the routes for the encryption domain of Security
Gateway 1.
n Security Gateway 1 has a dynamic routing neighborship with Router 1 and propagates RIM routes
to Router 1.
n Security Gateway 2 has a dynamic routing neighborship with Router 2 and propagates RIM routes to
Router 2.
n If the VPN tunnel becomes unavailable (Permanent Tunnel status with a peer changes to "DOWN"),
then RIM removes routes from the routing tables of Security Gateway 1 and Security Gateway 2. The
Security Gateways update their corresponding neighbors: Router 1 and Router 2. The routers start to
send traffic over the leased line.
Below are the routing tables on the Security Gateways and Routers based on the diagram above. Entries in
bold represent routes that RIM injected into the Security Gateway's local routing table:
Security Gateway 2:
Custom Scripts
Custom scripts can be run on any Security Gateway in the community. These scripts are executed
whenever a tunnel changes its state (example: goes "up" or "down"). Such an event, for example, can be the
trigger that initiates a dial-up connection.
There is a script template custom_rim (with a .sh or .bat extension depending on the operating system) in
the $FWDIR/scripts/ directory.
#!/bin/sh
# This script is invoked each time a tunnel is configured with the RIM
option
# and the tunnel changed state.
#
# You may add your custom commands to be invoked here.
case "${RIM_NEW_STATE}" in
up)
# Place your action for tunnels that came up
;;
down)
# Place your action for tunnel that went down
;;
esac
Where:
n RIM_PEER_GW: Peer Security Gateway
n RIM_NEW_STATE: Change in the state of the Security Gateway,(example: up or down).
n RIM_HA_STATE: State of a single Security Gateway in a cluster (example: standby or active).
n RIM_FIRST_TIME: The script is executed separately for each network in the peer's encryption
domain. Though the script can be executed multiple times on a peer, this parameter is transferred to
the script with the value of '1' only the first time the script runs on the peer. The value '1' indicates the
first time this script is executed. The next time the script is executed, it is transferred with the value of
'0' and the parameter is disregarded. For example, you can send an email alert to the system
administrator the moment a tunnel goes down.
n RIM_PEER_ENC_NET: VPN domain of the VPN peer.
n Security Gateways A and B are both RIM enabled and Security Gateway C has Hide NAT enabled on
the external interface ("hiding" all the IP addresses behind it).
n Host 1, behind Security Gateway C, initiates a VPN tunnel with Host 2, through Security Gateway A.
n Router 3 holds routes to all the hosts behind Security Gateway C. Because Router 3 does not have
the Hide NAT IP address of Security Gateway C, Router 3 cannot properly route packets back to Host
1.
Configuring RIM
Configuring RIM in a Star Community
1. In SmartConsole, click Objects > Object Explorer (or press Ctrl E).
2. From the left tree, select VPN Communities.
3. Open the applicable Star Community object.
4. From the left tree, click Tunnel Management.
5. In the Permanent Tunnels section, select Set Permanent Tunnels.
These "Permanent Tunnels" on page 126 modes are available:
n On all tunnels in the community
n On all tunnels of specific Security Gateways
n On specific tunnels in the community
Note - RIM can only be enabled on permanent tunnels. If Multiple Entry Point (MEP) is
enabled on the community, you must select On all tunnels in the community. See
"Configuring Tunnel Features" on page 129.
6. Select Enable Route Injection Mechanism (RIM).
7. Click Settings.
The Star Community Settings window opens.
In the Community section:
n Enable automatic Route Injection Mechanism - RIM runs automatically on the central or
satellite Security Gateways.
n Enable customer editable script execution - A customized script runs on central or satellite
Security Gateways whenever a tunnel changes its states (goes up or down).
In the Tracking section, configure the applicable tracking options: Log, Popup Alert, Mail Alert,
SNMP Trap Alert, User Defined Alert
8. Click OK to close all configuration windows.
9. Close the Object Explorer.
10. Install the Access Control Policy.
11. If you selected Enable customer editable script execution, then you must edit the
$FWDIR/scripts/custom_rim.sh script on each of the Security Gateways.
For example:
set routemap RIM id 5
2. set routemap <Routemap Name> id <ID Number> match protocol kernel
For example:
set routemap RIM id 5 match protocol kernel
3. set ospf export-routemap <Routemap Name> preference 1 on
For example:
set ospf export-routemap RIM preference 1 on
4. set routemap <Routemap Name> id <ID Number> allow
For example:
set routemap RIM id 5 allow
5. set routemap <Routemap Name> id <ID Number> on
For example:
For example:
set routemap RIM2 id 10 match nexthop <10.16.50.3> on
7. set routemap <Routemap Name> id <ID Number> restrict
For example:
set routemap RIM2 id 10 restrict
8. set ospf import-routemap <Routemap Name> preference 1 on
For example:
set ospf import-routemap RIM2 preference 1 on
9. save config
Wire Mode
Overview of Wire Mode
The Wire Mode improves connectivity by allowing existing connections to fail over successfully by
bypassing firewall enforcement. Traffic within a VPN community is, by definition, private and secure. In
many cases, the firewall and the rule on the firewall concerning VPN connections is unnecessary. With the
Wire Mode, the firewall can be bypassed for VPN connections by defining internal interfaces and
communities as "trusted".
When a packet reaches a Security Gateway, the Security Gateway asks itself two questions regarding the
packet(s):
Is this information coming from a "trusted" source?
Is this information going to a "trusted" destination?
If the answer to both questions is yes, and the VPN Community to which both Security Gateways belong is
designated as "Wire Mode enabled," stateful inspection is not enforced and the traffic between the trusted
interfaces bypasses the firewall. Since no stateful inspection takes place, no packets can be discarded. The
VPN connection is no different from any other connection along a dedicated wire. This is the meaning of
"Wire Mode." Since stateful inspection no longer takes place, dynamic routing protocols (which do not
survive state verification in non-wire mode configuration) can now be deployed. Wire Mode thus facilitates
"Route Based VPN" on page 103.
n Security Gateway M1 and Security Gateway M2 are both wire mode enabled and have trusted
internal interfaces.
n The community where Security Gateway M1 and Security Gateway M2 reside, is wire mode enabled.
n Host 1, residing behind Security Gateway S1 is communicating through a VPN tunnel with Host 2
residing behind Security Gateway M1 .
n MEP is configured for Security Gateway M1 and Security Gateway M2 with Security Gateway M1
being the primary Security Gateway and Security Gateway M2 as the backup.
In this case, if Security Gateway M1 goes down, the connection fails over to Security Gateway M2. A packet
leaving Host 2 will be redirected by the router behind Security Gateway M1 to Security Gateway M2 since
Security Gateway M2 is designated as the backup Security Gateway. Without wire mode, stateful inspection
is enforced at Security Gateway M2 and the connection is dropped. Packets that come into a Security
Gateway whose session was initiated through a different Security Gateway, are considered "out-of-state"
packets. Since Security Gateway M2's internal interface is "trusted," and wire mode in enabled on the
community, no stateful inspection is performed and Security Gateway M2 will successfully continue the
connection without losing any information.
n Wire mode is enabled on Center Security Gateway C (without an internal trusted interface specified).
n The community is wire mode enabled.
n Host 1 residing behind Satellite Security Gateway A wishes to open a connection through a VPN
tunnel with Host 2 behind Satellite Security Gateway B.
In a satellite community, Center Security Gateways are used to route traffic between Satellite Security
Gateways within the community.
In this case, traffic from the Satellite Security Gateways is only rerouted by Security Gateway C and cannot
pass through Security Gateway C's firewall. Therefore, stateful inspection does not need to take place at
Security Gateway C. Since wire mode is enabled on the community and on Security Gateway C, making
them trusted, stateful inspection is bypassed. Stateful inspection, however, does take place on Security
Gateways A and B.
The match conditions are represented by a series of compound objects. The match conditions enforce traffic
in the following directions:
n To and from the VPN Community via VPN routing (MyIntranet => MyIntranet)
n From the Community to the local VPN domains (MyIntranet =>internal_clear)
n From the local VPN domains to the VPN community (internal_clear => MyIntranet)
Internal_clear For traffic between local domains within the VPN community
Note - Clear text connections originating from these objects are not subject to enforcement:
n Any Traffic
n External_clear
n Internal_clear
There is no limit to the number of VPN directions that you can configure in a single rule. In general, if you
have many directional enforcements, consider replacing them with a standard bidirectional condition.
The directional VPN rule below must be configured for the enforcement point Security Gateway in the
Access Control Policy Rule Base:
The rule is applied to all VPN traffic that passes through the enforcement point Security Gateway between
the Washington and London communities. If a connection is opened from a source in the Washington Mesh,
and the destination is in the London Star, the connection is allowed. Otherwise, the connection is denied.
Note - The Directional Enforcement applies only to the first packet of a connection. If the connection is
permitted, the following packets of this connection are also permitted, including the packets in the opposite
direction.
7. In the Traffic reaching from drop-down box, select the source of the connection.
8. In the Traffic leaving to drop-down box, select the destination of the connection
9. Click OK.
10. Install the Access Control Policy.
Implementation
MEP is implemented using RDP for Check Point Security Gateways and DPD for 3rd party Gateways /
Cloud vendors.
n RDP is a proprietary Probing Protocol (PP) that sends special UDP RDP packets to port 259 to
discover whether an IP is reachable. This protocol is proprietary to Check Point and does not conform
to RDP as specified in RFC 908 / RFC 1151.
Note - These UDP RDP packets are not encrypted, and only test the availability of a peer.
n DPD is a different method that discovers whether an IP is reachable. It supports 3rd party Security
Gateways / Cloud vendors based on IKEv1/IKEv2.
Note - In an MEP environment, a Security Gateway determines which protocol to use automatically.
The peer continuously probes or polls all MEP Security Gateways in order to discover which of the Security
Gateways are "up", and chooses a Security Gateway according to the configured selection mechanism.
Since RDP/DPD packets are constantly being sent, the status of all Security Gateways is known and
updated when changes occur. As a result, all Security Gateways that are "up" are known.
There are two available methods to implement MEP:
MEP
Description
Method
Explicit Only Star communities with more than one central Security Gateway can enable explicit
MEP MEP.
This MEP method provides multiple entry points to the network behind the Security
Gateways.
When available, Explicit MEP is the recommended method.
Implicit This MEP method is supported in all scenarios, where fully or partially overlapping
MEP encryption domains exist, or where Primary-Backup Security Gateways are configured.
Explicit MEP
In a Site To Site Star VPN community, explicit MEP is configured in the VPN community object. When MEP
is enabled, the satellites consider the "unified" VPN domain of all the Security Gateways as the VPN domain
for each Security Gateway. This unified VPN domain is considered the VPN domain of each Security
Gateway:
In the figure, a Star VPN community has two central Security Gateways, M1 and M2 (for which MEP has
been enabled), and three satellite Security Gateways - S1, S2, and S3. When S2 opens a connection with
Host-1 (which is behind M1 and M2), the session is initiated through either M1 or M2. Priority among the
MEP Security Gateways is determined by the MEP entry point selection mechanism.
If M2 is the selected entry point and becomes unavailable, the connection to Host-1 fails over to M1.
Returning packets will be rerouted with RIM or IP Pool NAT. For more information about returning packets,
see the section "Routing Return Packets".
There are four methods used to choose which of the Security Gateways will be used as the entry point for
any given connection:
Method Description
If you select either By VPN domain , or Manually set priority list, then Advanced options provide additional
granularity.
First to The first Security Gateway to reply to the peer Security Gateway is chosen.
Respond An organization would choose this option if, for example, the organization has two
Security Gateways in a MEP configuration - one in London, the other in New York.
It makes sense for VPN peers located in England to try the London Security Gateway first
and the NY Security Gateway second.
Being geographically closer to the peers in England, the London Security Gateway will be
the first to respond, and becomes the entry point to the internal network.
See "Overview of the "First to Respond" method" on the next page.
VPN If the destination IP address belongs to a particular VPN domain, the Security Gateway of
Domain that domain becomes the chosen entry point.
This Security Gateway becomes the Primary Security Gateway, while other Security
Gateways in the MEP configuration become its Backup Security Gateways.
See "Overview of the "By VPN Domain" method" on page 156.
MEP
Selection Description
Method
Random The remote peer randomly selects a Security Gateway, with which to open a VPN
Selection connection.
For each source/destination IP address pair, a new Security Gateway is randomly
selected.
An organization might have a number of Security Gateways with equal performance
abilities. In this case, it makes sense to enable load distribution to use these Security
Gateways in a random and equal way.
See "Overview of the "Random Selection" method" on page 157.
Manually Priorities of Security Gateways can be set manually for the entire VPN community, or for
set priority individual satellite Security Gateways.
list See "Overview of the "Manually Set Priority List" method" on page 157.
When there is no primary Security Gateway, all Security Gateways share "equal priority".
When all Security Gateways share equal priority:
1. Remote peers send RDP/DPD packets to all the Security Gateways in the MEP configuration.
2. The first Security Gateway to respond to the probing RDP/DPD packets gets chosen as the entry
point to network.
The idea behind first to respond is proximity. The Security Gateway, which is "closer" to the remote
peer, responds first.
3. A VPN tunnel is opened with the first to respond. All subsequent connections pass through the
chosen Security Gateway.
4. If the Security Gateway ceases to respond, a new Security Gateway is chosen.
Before you enable MEP, each IP address belongs to a specific VPN domain. With By VPN Domain, the
Security Gateway of that domain becomes the chosen entry point.
In the example figure below, the VPN Star community has two central MEP Security Gateways (M1 and
M2, each with its own VPN domain), and remote satellite S1.
Host-2 (in the VPN domain of satellite S1 initiates a connection with Host-1. The connection can be
directed through either M1 or M2. However, Host-1 is within M2's original VPN domain. For this reason,
M2 is considered the Security Gateway "closest" to the destination IP address. M2 is therefore
considered the primary Security Gateway and M1 the backup Security Gateway for Host-1. If there were
additional Security Gateways in the center, these Security Gateways would also be considered as
backup Security Gateways for M2.
If the VPN domains have fully or partially overlapping encryption domains, then more than one Security
Gateway will be chosen as the "closest" entry point to the network. As a result, more than one Security
Gateway will be considered as "primary." When there are more than one primary or backup Security
Gateways available, the Security Gateway is selected with an additional selection mechanism. This
advanced selection mechanism can be either (see the section "Advanced Settings"):
n First to Respond
n Random Selection (for load distribution)
For return packets you can use RIM on the center Security Gateways. If RIM is also enabled, set a metric
with a lower priority value for the leased line than the VPN tunnel. The satellite S1 might simultaneously
have more than one VPN tunnel open with the MEP Security Gateways, for example M2 as the chosen
entry point for Host-1 and M1 as the chosen entry point for Host-3. While both M1 and M2 will publish
routes to Host-1 and Host-3, the lower priority metric will ensure the leased line is used only when one of
the Security Gateways goes down.
With this method, a different Security Gateway is randomly selected as an entry point for incoming traffic.
Evenly distributing the incoming traffic through all the available Security Gateways can help prevent one
Security Gateway from becoming overwhelmed with too much incoming traffic.
The Security Gateways are probed with RDP/DPD packets, as in all other MEP configurations, to create
a list of responding Security Gateways. A Security Gateway is randomly chosen from the list of
responding Security Gateways. If a Security Gateway stops responding, another Security Gateway is
(randomly) chosen.
A new Security Gateway is randomly selected for every source/destination IP addresses pair. While the
source and destination IP addresses remain the same, the connection continues through the chosen
Security Gateway.
In such a configuration, RIM is not supported. IP Pool NAT must be enabled to ensure return packets are
correctly routed through the chosen Security Gateway.
The Security Gateway that will be chosen (from the central Security Gateways in the Star VPN
community) as the entry point to the core network can be controlled by manually setting a priority per
source Security Gateway.
Each priority constitutes a MEP Rule.
In the figure below, three MEP members (M1, M2, M3) provide entry points to the network for three
satellite Security Gateways (S1, S2, S3). Satellite S1 can be configured to try the Security Gateways in
the following order: M1, M2, M3, giving the highest priority to M1, and the lowest priority to M3. Satellite
S2 can be configured to try the Security Gateways in the following order: M2, M3 (but not to try M1).
Each of these priorities constitutes a MEP rule in the MEP manual priority list window:
Item Description
The MEP manual priority list window is divided into the default rule, and rules which provide exceptions
to the default rule. The default MEP rule takes effect when:
n No MEP rules are defined
n When the source of the connection cannot be found in the Exception priority rules
The Exception priority rules section contains three priority levels: primary, secondary, and tertiary. While
there are only three priority levels,
n The same priority can be assigned to several central Security Gateways
n The same rule can be assigned to several satellite Security Gateways
n A priority level can be left blank
In the second MEP rule below:
Central Security Gateways M3 and M1 have equal priority. The same rule is being applied to satellites
S2 and S3.
When more than one Security Gateway is assigned the same priority level, which Security Gateway will
be chosen is resolved according to the Advanced settings.
Advanced Settings
In some instances, more than one Security Gateway is available in the center with no obvious priority
between them. For example - as shown in the second example of the second MEP rule, above - more
than one Security Gateway is assigned "second" priority. In this scenario, Advanced options are used
to decide which Security Gateway is chosen: First to Respond, or Random Selection. (Choose
Random Selection to enable load balancing between the Security Gateways.)
When "manually set priority list" is the MEP selection mechanism, RIM is supported. RIM can be
configured with "manually set priority list" because the "random selection" mechanism available on
the Advanced button is different from the random selection mechanism used for MEP.
For the "random selection" mechanism employed for MEP, a different Security Gateway is selected
for each source/destination IP addresses pair. For the random selection mechanism available from
the Advanced button, a single MEP entry point is randomly selected and then used for all
connections, and does not change according to source/destination pair. Load distribution is therefore
achieved since every satellite Security Gateway is randomly assigned a Security Gateway as its entry
point. This makes it possible to enable RIM at the same time.
Tracking
If the Tracking option is enabled for MEP, this information is logged by each satellite Security Gateway:
Resolved peer for tunnel from S1 to the MEP that contains M1, M2, and M3,
is: M1 (Primary Security Gateway, responding).
Implicit MEP
There are three methods to implement implicit MEP:
Method Description
First to The first Security Gateway to reply to the peer Security Gateway is chosen.
Respond An organization would choose this option if, for example, the organization has two
Security Gateways in a MEP configuration - one in London, the other in New York.
It makes sense for VPN peers located in England to try the London Security Gateway
first and the NY Security Gateway second.
Being geographically closer to the peers in England, the London Security Gateway will
be the first to respond, and becomes the entry point to the internal network.
See "Overview of the "Implicit First to Respond" method" on the next page .
Primary- One or multiple backup Security Gateways provide "high availability" for a primary
Backup Security Gateway.
The remote peer is configured to work with the primary Security Gateway, but switches
to the backup Security Gateway if the primary goes down.
An organization might decide to use this configuration if it has two Security Gateways
in a MEP environment, one of which is stronger than the other.
It makes sense to configure the stronger Security Gateway as the primary. Or perhaps
both Security Gateways are the same in terms of strength of performance, but one has
a cheaper or faster connection to the Internet. In this case, the Security Gateway with
the better Internet connection should be configured as the primary.
See"Overview of the "Implicit Primary-Backup Security Gateways" method" on
page 161 and "Configuring the "Implicit Primary-Backup" method" on page 164.
Load The remote peer randomly selects a Security Gateway, with which to open a VPN
Distribution connection.
For each source/destination IP address pair, a new Security Gateway is randomly
selected.
An organization might have a number of Security Gateways with equal performance
abilities. In this case, it makes sense to enable load distribution to use these Security
Gateways in a random and equal way.
See "Overview of the "Implicit Load Distribution" method" on page 161 and
"Configuring the "Implicit Load Distribution" method" on page 165.
Implicit MEP is supported, if the Security Gateways with overlapping encryption domains are in the same
community. If they are located in different communities, only one of the Security Gateways will be used for
this encryption domain.
Overview of the "Implicit First to Respond" method
When there is no primary Security Gateway, all Security Gateways share "equal priority".
When all Security Gateways share "equal priority":
n Remote VPN peers send RDP/DPD packets to all the Security Gateways in the MEP
configuration.
n The first Security Gateway to respond to the probing RDP/DPD packets gets chosen as the entry
point to network.
The idea behind first to respond is "proximity". The Security Gateway which is "closer" to the
remote VPN peer responds first.
n A VPN tunnel is opened with the first to respond. All subsequent connections pass through the
chosen Security Gateway.
n If the Security Gateway ceases to respond, a new Security Gateway is chosen.
In a star VPN community, RDP/DPD packets are sent to the Security Gateways and the first to respond is
used for routing only when:
1. There is more than one center Security Gateway
2. One of the following VPN routing options was selected:
n To center and to other satellites through center
n To center, or through the center to other satellites, to internet and other VPN targets
This setting is found on the Community Properties > VPN Advanced > VPN Routing page.
In this example scenario:
To prevent any one Security Gateway from being flooded with connections, the connections can be
evenly shared amongst all the Security Gateways to distribute the load. When all Security Gateways
share equal priority (no primary) and are MEP to the same VPN domain, it is possible to enable load
distribution between the Security Gateways. The Security Gateways are probed with RDP/DPD packets,
as in all other MEP configurations, to create a list of responding Security Gateways. A Security Gateway
is randomly chosen from the list of responding Security Gateways. If a Security Gateway stops
responding, a new Security Gateway is (randomly) chosen.
A new Security Gateway is randomly selected for every source/destination IP addresses pair. While the
source and destination IP addresses remain the same, the connection continues through the chosen
Security Gateway.
IP Pool NAT
IP Pool NAT is a type of NAT, in which source IP addresses from remote VPN domains are mapped to an IP
address drawing from a pool of registered IP addresses. In order to maintain symmetric sessions with MEP
Security Gateways, the MEP Security Gateway performs NAT with a range of IP addresses dedicated to
that specific Security Gateway and should be routed within the internal network to the originating Security
Gateway. When the returning packets reach the Security Gateway, the Security Gateway restores the
original source IP address and forwards the packets to the source.
Special Considerations
1. If one of the central Security Gateways is an externally managed Security Gateway:
n The VPN domain of the central Security Gateways will not be automatically inherited by an
externally managed Security Gateway
n The RIM configuration will not be automatically downloaded
2. DAIP Security Gateways require DNS resolving in order to be configured as MEP Security Gateways.
Configuring MEP
To configure MEP, decide on:
1. The MEP method:
n Explicit MEP.
n Implicit MEP.
2. If required, method for returning reply packets:
n IP Pool NAT
n Route Injection Mechanism (see "Route Injection Mechanism" on page 133).
To configure MEP:
1. In SmartConsole, click Objects menu > Object Explorer.
2. From the left tree, select VPN Communities.
3. Open the Star VPN Community object.
4. From the left tree, click MEP.
5. Select Enable center gateways as MEP.
6. Select the applicable entry point mechanism:
n First to respond
n By VPN domain
n Random selection
n Manual priority list
Notes:
n If you select By VPN domain or Manually set priority list, then in the Advanced section
choose First to respond or Random selection to resolve how more than one Security Gateway
with equal priority should be selected.
n If you select Manually set priority list, then click Set to create a series of MEP rules.
7. Select a Tracking option, if required.
8. Click OK.
9. Install the Access Control Policy.
Configure the VPN Domain that includes the Primary Security Gateway and another VPN Domain that
includes only the Backup Security Gateways.
Configure each Security Gateway as either the Primary Security Gateway, or a Backup Security
Gateway.
Procedure:
Step Instructions
Step Instructions
5 If the Backup Security Gateway does not have a VPN Domain of its own, the VPN Domain
should include only the Backup Security Gateway itself:
1. Click Objects menu > Object Explorer.
2. From the left tree, select Network Objects > Gateways & Servers.
3. Open the Backup Security Gateway object.
4. Click Network Management > VPN Domain.
5. Select Manually defined.
6. Click the [...] button.
7. Select the Network Group object that contains only the Backup Security Gateways.
8. Click OK to close the Backup Security Gateway object.
9. Install the Access Control Policy on the Backup Security Gateways.
6 If the Backup Security Gateway does have a VPN Domain of its own:
1. Click Objects menu > Object Explorer.
2. From the left tree, select Network Objects > Gateways & Servers.
3. Open the Backup Security Gateway object.
4. Click Network Management > VPN Domain.
5. Make sure that the IP address of the Backup Security Gateway is not included in the
VPN Domain of the Primary Security Gateway.
6. For each Backup Security Gateway, define a VPN Domain that does not overlap
with the VPN Domain of other Backup Security Gateways.
7. Click OK to close the Backup Security Gateway object.
8. Install the Access Control Policy on the Backup Security Gateways.
Important - There must be no overlap between the VPN Domain of the Primary Security
Gateway and the VPN Domain of the Backup Security Gateways - no IP address can
belong to both VPN Domains.
Step Instructions
Step Instructions
3 Define the same VPN Domain for all the Security Gateways:
1. Click Objects menu > Object Explorer.
2. From the left tree, select Network Objects > Gateways & Servers.
3. Open each Security Gateway object.
4. Click Network Management > VPN Domain.
5. Select Manually defined.
6. Click the [...] button.
7. Select the Network Group object that contains all the Security Gateways.
8. Click OK to close the Security Gateway object.
Step Instructions
2 For each Security Gateway, configure an object that represents the IP Pool NAT addresses
for that Security Gateway:
1. Click Objects menu > Object Explorer.
2. The object that represents the IP Pool NAT addresses can be one of these objects:
n Network - At the top, click New > Network
n Network Group - At the top, click New > Network Group
n Address Range - At the top, click New > Network Object > Address Range >
Address Range.
3. Configure this object to contain the applicable IP addresses.
4. Click OK to close the object with IP Pool NAT addresses.
Step Instructions
2. Click Advanced to configure the advanced IP Pool NAT settings. Click OK.
3. Click OK to close the Security Gateway object.
5 Edit the routing table for each internal router, so that packets with an IP address assigned from
the IP Pool NAT are routed to the applicable Security Gateway.
Configuring NAT-Traversal
To configure NAT-T for Site to Site VPN:
1. In SmartConsole, from the left navigation panel, click Gateways & Servers.
2. Open the applicable Security Gateway object with enabled IPsec VPN Software Blade.
3. From the left tree, click IPsec VPN > VPN Advanced.
4. Make sure to select Support NAT traversal (applies to Remote Access and Site to Site
connections).
NAT-Traversal is enabled by default when a NAT device is detected.
5. Click OK.
6. Install the Access Control Policy.
Default
Item Description
Value
You can edit these kernel parameters in the Database Tool (GuiDBEdit Tool) (see sk13009):
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
Curly brackets or braces Enclose a list of available commands or parameters, separated by the
{} vertical bar |.
User can enter only one of the available commands or parameters.
Square brackets or Enclose an optional command or parameter, which user can also enter.
brackets
[]
ike debug
Background
Starting in R81.10, separate daemons handle different VPN connections:
n The VPN daemon vpnd.
Handles these VPN connections:
l Site-to-Site connections from peer Security Gateways with a Statically Assigned IP address
l All connections from non-IPsec Remote Access clients (SSL Network Extender)
l Multi-Portal traffic
Listens on these ports on a Security Gateway:
l IKE: 500 (UDP)
l IKE NAT-T: 4500 (UDP)
l TCPT: 444 (TCP)
l Session infrastructure manager: 9996 (TCP)
This process is a child of the FWD process (see the $FWDIR/conf/fwauthd.conf file on a
Security Gateway).
n The IKE daemon iked (introduced in R81.10).
Handles these VPN connections:
l All connections from IKE Remote Access clients clients (for example, Endpoint clients)
l Site-to-Site connections from peer Security Gateways with a Dynamically Assigned IP address
(DAIP)
l Large Scale VPN (LSV) connections
l Connections from SmartLSM ROBO gateways
Listens on these ports on a Security Gateway:
l IKE: 30500 (UDP)
l IKE NAT-T: 34500 (UDP)
l Session infrastructure manager: 9994 (TCP)
l L2TP: 1701 (UDP)
Syntax: vpn iked
This process is a child of the FWD process (see the $FWDIR/conf/fwauthd.conf file on a
Security Gateway).
Step Instructions
1 Connect to the command line on the Security Gateway / each Cluster Member.
To enable the IKE daemon iked after you disable it, run this command:
Step Instructions
1 Connect to the command line on the Security Gateway / each Cluster Member.
To enable the CCC daemon cccd after you disable it, run this command:
Important
n This command makes the required changes in the
$FWDIR/boot/modules/fwkern.conf file.
n This command installs the local policy, which can disconnect your SSH session.
n This change survives reboot.
Description
This "ike debug" command instructs the IKE daemon iked to write debug messages to these log files:
Debugging of the IKE daemon iked is based on Debug Topics and Debug Levels:
n A Debug Topic is a specific area, on which to perform debugging.
Check Point Support provides the specific Debug Topics when needed.
n Debug Levels range from 1 (least informative) to 5 (most informative - write all debug messages).
In addition, see "vpn debug" on page 188.
Syntax
ike debug
on [<Debug_Topic>=<Debug_Level>]
off
ikeon [-s <Size_in_MB>]
ikeoff
trunc [<Debug_Topic>=<Debug_Level>]
truncon [<Debug_Topic>=<Debug_Level>]
truncoff
timeon [<Seconds>]
timeoff
ikefail [-s <Size_in_MB>]
mon
moff
say ["String"]
tunnel [<Level>]
Parameters
Parameter Description
Parameter Description
timeoff Disables the timestamp in the log files every number of seconds.
Parameter Description
say "String" Writes the specified text string in the $FWDIR/log/iked.elg file.
For example, run: ike debug say "BEGIN TEST"
Notes:
n Run this command after you start the VPN debug (with one of these
commands: "ike debug on", "ike debug trunc", or "ike debug
truncon").
n The length of the string is limited to 255 characters.
Return Values
n 0 (zero) for success
n any other value for failure (typically, -1 or 1)
vpn
Description
Configures VPN settings.
Shows VPN information.
Syntax
vpn
check_ttm
compreset
compstat
crl_zap
crlview
debug
dll
drv
dump_psk
ipafile_check
ipafile_users_capacity
macutil
mep_refresh
neo_proto
nssm_topology
overlap_encdom
rim_cleanup
rll
set_slim_server
set_snx_encdom_groups
set_trac
shell
show_tcpt
sw_topology
{tunnelutil | tu}
ver
Parameters
Parameter Description
Parameter Description
crl_zap Erases all Certificate Revocation Lists (CRLs) from the cache.
See "vpn crl_zap" on page 185.
crlview Retrieves the Certificate Revocation List (CRL) from various distribution points
and shows it for the user.
See "vpn crlview" on page 186.
macutil Shows a generated MAC address for each user name when you use Remote
Access VPN with Office Mode.
See "vpn macutil" on page 201.
Parameter Description
set_slim_server Deprecated.
See "vpn set_slim_server" on page 208.
set_snx_encdom_ Controls the encryption domain per usergroup feature for SSL Network
groups Extender.
See "vpn set_snx_encdom_groups" on page 209.
tunnelutil | tu Launches the TunnelUtil tool, which is used to control VPN tunnels.
See "vpn tu" on page 219.
ver Shows the major version number and build number of the VPN kernel module.
See "vpn ver" on page 228.
vpn check_ttm
Description
Makes sure the specified TTM file contains valid syntax.
Syntax
Parameters
Parameter Description
<Path to TTM file> Specifies the full path and name of the TTM file.
Example
[Expert@MyGW:0]#
vpn compreset
Description
Resets compression and decompression statistics counters.
Syntax
vpn compreset
Example
vpn compstat
Description
Shows compression and decompression statistics counters.
Syntax
vpn compstat
Example
Compression:
============
Bytes before compression : 0
Bytes after compression : 0
Compression overhead (bytes) : 0
Bytes that were not compressed : 0
Compressed packets : 0
Packets that were not compressed : 0
Compression errors : 0
Decompression:
==============
Bytes before decompression : 0
Bytes after decompression : 0
Decompression overhead (bytes) : 0
Decompressed packets : 0
Decompression errors : 0
Pure decompression ratio : 0.000000
[Expert@MyGW:0]#
vpn crl_zap
Description
Erases all Certificate Revocation Lists (CRLs) from the cache.
Syntax
vpn crl_zap
Return Values
n 0 (zero) for success
n any other value for failure
vpn crlview
Description
Retrieves the Certificate Revocation List (CRL) from various distribution points and shows it for the user.
Syntax
Parameters
Parameter Description
-obj <Network Object Name> Specifies the name of the CA network object.
-cert <Certificate Object Name> Specifies the name of the certificate object.
-f <Certificate File> Specifies the path and the name of the certificate file.
Return Values
n 0 (zero) for success
n any other value for failure
Example 1
vpn crlview -obj <MyCA> -cert <MyCert>
1. The VPN daemon contacts the Certificate Authority called MyCA and locates the certificate called
MyCert.
2. The VPN daemon extracts the certificate distribution point from the certificate.
3. The VPN daemon goes to the distribution point and retrieves the CRL. The distribution point can be
an LDAP or HTTP server.
4. The VPN daemon shows it to the standard output.
Example 2
vpn crlview -f /var/log/MyCert
1. The VPN daemon extracts the certificate distribution point from the certificate file called MyCert.
2. The VPN daemon goes to the distribution point and retrieves the CRL. The distribution point can be
an LDAP or HTTP server.
3. The VPN daemon shows the CRL to the standard output.
Example 3
vpn crlview -view <Lastest CRL>
If the CRL was retrieved in the past, this command instructs the VPN daemon to show the contents to the
standard output.
vpn debug
Background
Starting in R81.10, separate daemons handle different VPN connections:
n The VPN daemon vpnd.
Handles these VPN connections:
l Site-to-Site connections from peer Security Gateways with a Statically Assigned IP address
l All connections from non-IPsec Remote Access clients (SSL Network Extender)
l Multi-Portal traffic
Listens on these ports on a Security Gateway:
l IKE: 500 (UDP)
l IKE NAT-T: 4500 (UDP)
l TCPT: 444 (TCP)
l Session infrastructure manager: 9996 (TCP)
This process is a child of the FWD process (see the $FWDIR/conf/fwauthd.conf file on a
Security Gateway).
n The IKE daemon iked (introduced in R81.10).
Handles these VPN connections:
l All connections from IKE Remote Access clients clients (for example, Endpoint clients)
l Site-to-Site connections from peer Security Gateways with a Dynamically Assigned IP address
(DAIP)
l Large Scale VPN (LSV) connections
l Connections from SmartLSM ROBO gateways
Listens on these ports on a Security Gateway:
l IKE: 30500 (UDP)
l IKE NAT-T: 34500 (UDP)
l Session infrastructure manager: 9994 (TCP)
l L2TP: 1701 (UDP)
Syntax: vpn iked
This process is a child of the FWD process (see the $FWDIR/conf/fwauthd.conf file on a
Security Gateway).
Step Instructions
1 Connect to the command line on the Security Gateway / each Cluster Member.
To enable the IKE daemon iked after you disable it, run this command:
Step Instructions
1 Connect to the command line on the Security Gateway / each Cluster Member.
To enable the CCC daemon cccd after you disable it, run this command:
Important
n This command makes the required changes in the
$FWDIR/boot/modules/fwkern.conf file.
n This command installs the local policy, which can disconnect your SSH session.
n This change survives reboot.
Description
This "vpn debug" command instructs the VPN daemon vpnd to write debug messages to these log files:
File
VPND Log File IKED Log File CCCD Log File
Description
Debugging of the VPN daemon vpnd is based on Debug Topics and Debug Levels:
n A Debug Topic is a specific area, on which to perform debugging.
For example, if the Debug Topic is LDAP, all traffic between the VPN daemon and the LDAP server is
written to the log file.
Check Point Support provides the specific Debug Topics when needed.
n Debug Levels range from 1 (least informative) to 5 (most informative - write all debug messages).
For more information, see sk180488.
In addition, see "ike debug" on page 172.
Syntax
vpn debug
on [<Debug_Topic>=<Debug_Level>]
off
ikeon [-s <Size_in_MB>]
ikeoff
trunc [<Debug_Topic>=<Debug_Level>]
truncon [<Debug_Topic>=<Debug_Level>]
truncoff
timeon [<Seconds>]
timeoff
ikefail [-s <Size_in_MB>]
mon
moff
say ["String"]
tunnel [<Level>]
Parameters
Parameter Description
off Turns off the VPN debug (in legacy mode, also turns off the IKE debug).
Best Practice - Run one of these commands to stop the VPN daemon debug:
vpn debug off
ikeon [-s Note - Applies only if you disabled the IKE daemon iked to work in the legacy
<Size_in_MB>] mode.
Turns on the IKE trace.
The debug writes the information in the $FWDIR/log/legacy_ike.elg* files.
You can specify the size of the $FWDIR/log/legacy_ike.elg file, when to
perform the log rotation (close the current active file, rename it, open a new active
file).
ikeoff Note - Applies only if you disabled the IKE daemon iked to work in the legacy
mode.
Turns off the IKE trace.
Run this command to stop the IKE trace:
vpn debug ikeoff
Parameter Description
timeoff Disables the timestamp in the log files every number of seconds.
ikefail [-s Note - Applies only if you disabled the IKE daemon iked to work in the legacy
<Size_in_MB>] mode.
Logs failed IKE negotiations.
You can specify the size of the $FWDIR/log/legacy_ike.elg file, when to
perform the log rotation (close the current active file, rename it, open a new active
file).
mon Note - Applies only if you disabled the IKE daemon iked to work in the legacy
mode.
Enables the IKE Monitor.
Writes the IKE packets in the $FWDIR/log/ikemonitor.snoop file.
Warning - The output file may contain user X-Auth passwords. Make sure the
file is protected.
moff Note - Applies only if you disabled the IKE daemon iked to work in the legacy
mode.
Disables the IKE Monitor.
say "String" Writes the specified text string in the $FWDIR/log/vpnd.elg file.
For example, run: vpn debug say "BEGIN TEST"
Notes:
n Run this command after you start the VPN debug (with one of these
commands: "vpn debug on", "vpn debug trunc", or "vpn debug
truncon").
n The length of the string is limited to 255 characters.
Return Values
n 0 (zero) for success
n any other value for failure (typically, -1 or 1)
vpn dll
Description
Works with VPN DNS Lookup Layer:
n Save the DNS Lookup Layer information to the specified file.
n Resolve the specified hostname.
Syntax
vpn dll
dump <File>
resolve <HostName>
Parameters
Parameter Description
dump <File> Saves the DNS Lookup Layer information (DNS Names and IP Addresses) to the
specified file.
vpn drv
Description
Controls the VPN kernel module.
Syntax
Parameters
Parameter Description
Example
vpn dump_psk
Description
Shows hash (SHA256) of peers' pre-shared-keys.
Syntax
vpn dump_psk
vpn ipafile_check
Description
Verifies a candidate for the $FWDIR/conf/ipassignment.conf file.
Syntax
Parameters
Parameter Description
<File> Specifies the full path and name of the candidate file.
{err | warn | detail} Specifies the how much information to show about the candidate file:
n err - Only errors
n warn - Only warnings
n detail - All details
vpn ipafile_users_capacity
Description
n Shows the current capacity in the $FWDIR/conf/ipassignment.conf file.
n Configures the new capacity in the $FWDIR/conf/ipassignment.conf file.
Syntax
Parameters
Parameter Description
set <128-32768> Configures the new capacity to the specified number of users.
Notes:
n The default is 1024 entries.
n This command configures the amount of memory
reserved to store usernames.
Example
vpn macutil
Description
Shows a generated MAC address for each user name when you use Remote Access VPN with Office Mode.
This command is applicable only when allocating IP addresses through DHCP.
Remote Access VPN users in Office Mode receive an IP address, which is mapped to a hardware or MAC
address.
Syntax
Example
# vpn macutil John
20-0C-EB-26-80-7D, "John"
vpn mep_refresh
Description
Initiates MEP re-decision.
Used in "backup stickiness" configuration to initiate MEP re-decision (fail back to primary Security Gateway,
if possible).
Syntax
vpn mep_refresh
vpn neo_proto
Description
Controls the NEO client protocol.
Syntax
Parameters
Parameter Description
vpn nssm_toplogy
Description
Generates and uploads a topology in NSSM format to an NSSM server.
Syntax
vpn nssm_topology -url <"url"> -dn <"dn"> -name <"name"> -pass <"password">
[-action {bypass | drop}] [-print_xml]
Parameters
Parameter Description
-dn <"dn"> Distinguished Name of the NSSM server (needed to establish an SSL
connection).
-action Specifies the action that the Symbian client should take, if the packet is not
{bypass | destined for an IP address in the VPN domain.
drop} Bypass is the default.
vpn overlap_encdom
Description
Shows all overlapping VPN domains.
Some IP addresses might belong to two or more VPN domains.
The command alerts for overlapping encryption domains if one or both of the following conditions exist:
n The same VPN domain is defined for both Security Gateways.
n If the Security Gateway has multiple interfaces, and one or more of the interfaces has the same IP
address and netmask.
Syntax
Parameters
Parameter Description
communities Shows all pairs of objects with overlapping VPN domains, only if the objects (that
represent VPN sites) are included in the same VPN community.
This parameter is also used, if the same destination IP can be reached through
more than one VPN community.
Example
The objects Paris and Chicago have overlapping encryption domains. The overlapping domain is:
10.8.8.1 - 10.8.8.1
- Same destination address can be reached in more than one community (MyIntranet, NewStar). This
configuration is not supported.
vpn rim_cleanup
Description
Cleans RIM routes.
Syntax
vpn rim_cleanup
vpn rll
Description
Controls the VPN Route Lookup Layer:
n Saves the Route Lookup Layer information to the specified file.
n Synchronizes the routing table.
Syntax
vpn rll
dump <File>
sync
Parameters
Parameter Description
dump <File> Saves the Route Lookup Layer information to the specified file:
n ISP Redundancy Default Routes (Next Hop, Interface,
Metric)
n Route Shadow (Interface and Metric, IP/Mask, Next
Hop)
n Monitored IP Addresses (Data, IP/Mask)
vpn set_slim_server
Description
This command is deprecated.
Delete the $FWDIR/conf/slim.conf file and use the Management Server to configure SSL Network
Extender.
As long as the $FWDIR/conf/slim.conf file exists, it overrides the settings you configure on the
Management Server.
vpn set_snx_encdom_groups
Description
Controls the encryption domain per usergroup feature for SSL Network Extender.
Syntax
vpn set_snx_encdom_groups
off
on
Parameters
Parameter Description
vpn set_trac
Description
Controls the TRAC server.
Syntax
vpn set_trac
disable
enable
Parameters
Parameter Description
Example
vpn shell
Description
VPN Command Line Interface.
vpn shell
vpn6 shell
Menu Options
Menu Sub-Options
interface
add
modify
delete
show
show
interface
tunnels
IKE
all
peer <Internal Peer IP>
IPsec
all
peer <Internal Peer IP>
tunnels
show
IKE
all
peer <Internal Peer IP>
IPsec
all
peer <Internal Peer IP>
delete
IKE
peer <Security Gateway>
user <Username>
all
IPsec
peer <Security Gateway>
user <Username>
all
all
IKE
IPsec
license
scm
status
list
Option Description
quit Quits the VPN shell (available only in the main level).
Option Description
on page 223).
l Show all IKE SAs for a specified VPN peer:
show > tunnels > IKE > peer <Internal Peer IP>
Note - This sub-option is the same as:
o In the main "vpn tu" on page 219 menu, the option (1) List all
IKE SAs.
o The "vpn tu [-w] list peer_ike <IP Address>"
IPsec SAs.
o The "vpn tu [-w] list ipsec" command (see "vpn tu
Option Description
IKE SAs.
o The "vpn tu [-w] list ike" command (see "vpn tu list"
on page 223).
l Show all IKE SAs for a specified VPN peer:
tunnels > show > IKE > peer <Internal Peer IP>
Note - This sub-option is the same as:
o In the main "vpn tu" on page 219 menu, the option (3) List all
IPsec SAs.
o The "vpn tu [-w] list ipsec" command (see "vpn tu
Option Description
tunnels > delete > IKE > peer <Internal Peer IP>
l Delete all IKE for a specified user:
tunnels > delete > IKE > user <Username>
l Delete all IKE SAs for all VPN peers and users:
tunnels > delete > IKE > all
vpn show_tcpt
Description
Shows users connected in Visitor Mode.
Syntax
vpn show_tcpt
vpn sw_topology
Note - R81.10 does not support UTM-1 Edge and Safe@Office devices. The information about
this command is provided only to describe the existing syntax option until it is removed
completely.
Description
Downloads the topology for a UTM-1 Edge or Safe@Office device.
Syntax
Parameters
Parameter Description
-profile <profile> Name of the UTM-1 Edge or Safe@Office profile, for which the topology is
created.
vpn tu
Description
Launches the TunnelUtil tool, which is used to control VPN tunnels.
General Syntax
vpn tu
vpn tunnelutil
Menu Options
[Expert@MyGW:0]# vpn tu
(Q) Quit
*******************************************
Note - When you view Security Associations for a specific VPN peer, you must specify the IP
address in dotted decimal notation.
Advanced Syntax
vpn tu
help
del <options>
list <options>
mstats
tlist <options>
Parameters
Parameter Description
mstats Shows distribution of VPN tunnels (SPIs) between CoreXL Firewall instances.
See "vpn tu mstats" on page 225.
vpn tu del
Description
Deletes IPsec Security Associations (SAs) and IKE Security Associations (SAs).
Parameters
Parameter Description
all Deletes all IPsec SAs and IKE SAs for all VPN peers and users.
Note - This command is the same as:
n In the main "vpn tu" on page 219 menu, the option (0) Delete
all IPsec+IKE SAs for ALL peers and users.
n In the "vpn shell" on page 211 menu, the option tunnels >
delete > all > IKE and the option tunnels > delete > all >
IPsec..
Parameter Description
n Delete all IPsec SAs for the specified VPN peer and the specified
user:
vpn tu [-w] del ipsec <IPv4 Address>
<Username>
Notes:
l This command is the same as:
<IP Address> Deletes all IPsec SAs and IKE SAs for the specified VPN peer.
Note - This command is the same as the option (7) Delete all
IPsec+IKE SAs for a given peer (GW) in the main "vpn tu" on
page 219 menu.
<IP Address> Deletes all IPsec SAs and IKE SAs for the specified VPN peer and the
<Username> specified user.
Note - This command is the same as the option (8) Delete all
IPsec+IKE SAs for a given User (Client) in the main "vpn tu" on
page 219 menu.
vpn tu list
Description
Shows IPsec SAs and IKE SAs.
Parameters
Parameter Description
peer_ike <IP Address> Shows all IKE SAs for the specified VPN peer.
Note - This command is the same as:
n In the main "vpn tu" on page 219 menu, the
option (3) List all IKE SAs for a given peer
(GW).
n In the "vpn shell" on page 211 menu, the
option show > tunnels > IKE > peer
<Internal Peer IP> or the option tunnels >
show > IKE > peer <Internal Peer IP>.
Parameter Description
peer_ipsec <IP Address> Shows all IPsec SAs for the specified VPN peer.
Note - This command is the same as:
n In the main "vpn tu" on page 219 menu, the
option (4) List all IPsec SAs for a given
peer (GW).
n In the "vpn shell" on page 211 menu, the
option show > tunnels > IPsec > peer
<Internal Peer IP> or the option tunnels >
show > IPsec > peer <Internal Peer IP>.
vpn tu mstats
Description
Shows the distribution of VPN traffic between CoreXL Firewall instances.
For more information, see sk118097 - MultiCore Support for IPsec VPN in R80.10 and above.
Parameters
Item Description
[Expert@MyGW:0]#
[Expert@MyGW:0]#
vpn tu tlist
Description
Shows information about VPN tunnels.
Parameters
Parameter Description
Parameter Description
vpn ver
Description
Shows the major version number and build number of the VPN kernel module.
Syntax
Parameters
Parameter Description
-k Shows the version name and build number and the kernel build number.
Example
mcc
Description
The VPN Multi-Certificate CA (MCC) commands let you manage certificates and Certificate Authorities on a
Security Management Server or Domain Management Server:
n Shows Certificate Authorities
n Shows certificates
n Adds certificates
n Deletes certificates
Important:
n Before you run this command, you must close all SmartConsole clients, Database Tool
(GuiDBEdit Tool) clients (see sk13009), and "dbedit" clients (see skI3301) to prevent a
lock of the management database. The only exceptions are the "mcc lca" and "mcc
show" commands.
n The mcc commands require the cpca process to be up and running. Run this command:
ps auxw | egrep "cpca|COMMAND"
n 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
mcc
-h
add <options>
add2main <options>
del <options>
lca
main2add <options>
show <options>
Parameters
Parameter Description
Parameter Description
mcc add
Description
Adds a certificate stored in DER format in a specified file, as an additional certificate to the specified CA. The
new certificate receives an index number higher by one than the highest existing certificate index number.
The new certificate receives an index number higher by one than the highest existing certificate index
number.
Syntax
Important - Before you run this command, you must close all SmartConsole clients, Database
Tool (GuiDBEdit Tool) clients (see sk13009), and "dbedit" clients (see skI3301) to prevent a lock
of the management database.
Parameters
Parameter Description
<CA Name> Specifies the name of the CA, as defined in the Management Server
database.
<Certificate Specifies the path and the name of the certificate file.
File> To show the main certificate of a CA, omit this parameter.
Example - Add the certificate stored in the /var/log/Mycert.cer file to the CA called "MyCA"
mcc add MyCA /var/log/Mycert.cer
mcc add2main
Description
Copies the additional certificate of the specified index number of the specified CA to the main position and
overwrites the previous main certificate.
Syntax
Important - Before you run this command, you must close all SmartConsole clients, Database
Tool (GuiDBEdit Tool) clients (see sk13009), and "dbedit" clients (see skI3301) to prevent a lock
of the management database.
Parameters
Parameter Description
<CA Name> Specifies the name of the CA, as defined in the Management Server
database.
mcc del
Description
Removes the additional certificate of the specified index number from the specified CA.
Greater index numbers (of other additional certificates) are reduced by one.
Syntax
Important - Before you run this command, you must close all SmartConsole clients, Database
Tool (GuiDBEdit Tool) clients (see sk13009), and "dbedit" clients (see skI3301) to prevent a lock
of the management database.
Parameters
Parameter Description
<CA Name> Specifies the name of the CA, as defined in the Management Server
database.
mcc lca
Description
Shows all Certificate Authorities (CAs) defined in the Management Server database, with the number of
additional CA certificates for each CA.
Syntax
mcc lca
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>
Example
mcc main2add
Description
Copies the main certificate of the specified CA to an additional position.
The copied certificate receives an index number higher by one than the highest existing certificate index
number.
Syntax
Important - Before you run this command, you must close all SmartConsole clients, Database
Tool (GuiDBEdit Tool) clients (see sk13009), and "dbedit" clients (see skI3301) to prevent a lock
of the management database.
Parameters
Parameter Description
<CA Name> Specifies the name of the CA, as defined in the Management Server database.
Example
The CA called "MyCA" has a main certificate and one additional certificate.
If you run this command, then the CA will have two additional certificates, and additional certificate #2 will be
identical to the main certificate:
mcc main2add MyCA
mcc show
Description
Shows details for a specified certificate of a specified CA.
Syntax
Parameters
Parameter Description
<CA Name> Specifies the name of the CA, as defined in the Management Server
database.
[Expert@MGMT:0]#
Kernel Debug
See the R81.10 Quantum Security Gateway Guide.
Appendix
Configuring specific settings for each VPN
Community
By default, many global VPN settings you configure in SmartConsole (in Global properties) apply to all
managed Security Gateways.
You can override these global settings for a specific VPN Community:
n Time interval, in seconds, for sending life sign packets.
n Maximum number of concurrent Internet Key Exchange (IKE) negotiations that occur at the same
time.
Procedure
1. Back up the Security Management Server / applicable Domain Management Server.
Refer to:
n sk108902 - Best Practices - Backup on Gaia OS.
n sk91400 - System Backup and Restore feature in Gaia.
n sk98153 - How to take a snapshot of Endpoint Security Management Server database.
2. Close all SmartConsole windows.
Note - To make sure there are no active sessions, run the "cpstat mg" command in the Expert
mode on the Security Management Server / in the context of each Domain Management Server.
3. Connect with the Database Tool (GuiDBEdit Tool)to the Security Management Server / applicable
Domain Management Server.
4. In the upper left pane, click Tables > Managed Objects > Communities.
5. In the upper right pane, select the applicable VPN Community.
6. Press CTRL+F (or click Search > Find).
7. Enter the name of the applicable attribute
See the summary table below.
8. Click Find Next.
9. In the lower pane, right click the attribute name.
10. Select Edit.
11. Configure the applicable value.
12. Click OK.
13. Save the changes. Click File > Save All.
14. Close the Database Tool (GuiDBEdit Tool).
15. Connect with SmartConsole to the Security Management Server or the applicable Domain
Management Server.
16. Install the Access Control policy on all Security Gateways and Cluster objects that participate in this
VPN Community.
Attributes
Valid
VPN Feature Attribute Description
Values