Translated by Google Translate. Commands and code stay in English.
IPv4Detecting…
IPv6Detecting…
Check Point Firewall Architecture: Components and Design
Last updated:
Introduction to Check Point Architecture
Check Point Security Gateway architecture is built on a modular, multi-layered design that provides comprehensive network security through firewall, VPN, intrusion prevention, anti-malware, and application control capabilities. Understanding the Check Point architecture is essential for proper deployment, management, troubleshooting, and optimization of Check Point security solutions.
Check Point's architecture separates management functions from enforcement functions, allowing centralized policy management while distributing security enforcement across multiple gateways. This separation enables scalability, high availability, and simplified administration in complex enterprise environments.
Check Point Three-Tier Architecture
Check Point solutions are built on a three-tier architecture consisting of Security Management, Security Gateway, and Security Clients.
1. Security Management (Management Server)
The centralized management platform that controls all security policies, objects, and configurations.
SmartConsole: Unified management interface for administrators
Security Management Server: Stores policies, objects, and logs
SmartEvent: Security event correlation and analysis
SmartReporter: Reporting and compliance tools
Multi-Domain Server (MDS): Manages multiple security domains
2. Security Gateway (Enforcement Point)
The enforcement layer where security policies are applied to network traffic.
Security Gateway: Enforces security policies on traffic
VPN Gateway: Provides encrypted tunnels for remote access and site-to-site VPN
Threat Prevention: IPS, Anti-Bot, Anti-Virus, Application Control
ClusterXL: High availability and load balancing
3. Security Clients
Endpoint protection and remote access components.
Endpoint Security: Desktop and laptop protection
Mobile Access: Secure access for mobile devices
Remote Access VPN: Secure connectivity for remote users
Security Management Server Components
Management Server Processes
The Management Server runs several critical processes that handle different aspects of security management:
Process
Function
Port
CPMI (CPM)
Check Point Management Interface - handles SmartConsole connections
19009
FWM
FireWall Module - policy compilation and installation
18190, 18191
CPCA
Certificate Authority - manages SIC certificates
18210
SmartLog
Log indexing and query service
Various
API Server
Management API for automation
443
Check Management Processes
# View all Check Point processes
cpwd_admin list
# Check specific process status
cpwd_admin list | grep -i cpmi
cpwd_admin list | grep -i fwm
Management Database
The Management Server stores all configuration data in a database:
Application Control: Application visibility and control
URL Filtering: Web content filtering
Anti-Bot: Botnet protection
Anti-Virus: Malware detection
Threat Emulation: Sandbox analysis (with separate appliance)
Data Loss Prevention (DLP): Data leakage prevention
Identity Awareness: User-based policies
Gateway Processes
Process
Function
FWD
FireWall Daemon - main firewall process
CPD
Check Point Daemon - handles SIC communication
VPND
VPN Daemon - VPN tunnel management
IPS
Intrusion Prevention System process
DLPU
Data Loss Prevention Update process
Check Gateway Processes
# View gateway processes
cpwd_admin list
# Check firewall status
fw stat
# Verify policy installation
cpstat fw -f policy
Check Point Inspection Engine
SecureXL and CoreXL
Check Point uses acceleration technologies to improve performance:
SecureXL (Hardware Acceleration)
Offloads connection processing to kernel level
Accelerates packet processing for established connections
Maintains connection table in kernel memory
Bypasses firewall daemon for known connections
# Check SecureXL status
fwaccel stat
# View SecureXL statistics
fwaccel stats -s
CoreXL (Multi-Core Processing)
Distributes traffic across multiple CPU cores
Creates multiple firewall worker instances
Each instance processes independent traffic flows
Improves throughput on multi-core systems
# Check CoreXL status
fw ctl multik stat
# View CoreXL configuration
cpconfig
# Display number of firewall instances
fw ctl affinity -l -v
Inspection Points
Traffic passes through multiple inspection points in the Check Point architecture:
Pre-Inbound (i): Packet arrives at interface before any processing
Post-Inbound (I): After inbound processing (NAT, decryption)
Pre-Outbound (o): Before outbound processing
Post-Outbound (O): After outbound processing (NAT, encryption)
# Capture packets at all inspection points
fw monitor -e "accept host(192.168.1.10);"
# Output shows packets at i, I, o, O points
Communication Architecture
Secure Internal Communication (SIC)
SIC provides authenticated and encrypted communication between Check Point components using certificates.
SIC Components
Internal CA: Certificate Authority on Management Server
ICA Certificates: Issued to all Check Point components
Encrypted Communication: All management-gateway communication encrypted
Authentication: Mutual authentication between components
SIC Trust Establishment
# On Management Server - generate one-time password
cpca_client set_cert -g [gateway-name] -p [one-time-password]
# On Gateway - establish trust
cpconfig
# Select option 3: Secure Internal Communication
# Enter one-time password from management
Verify SIC Status
# On Management Server
cpca_client lscert -kind SIC
# Check certificate validity
cpca_client lscert -kind SIC -stat
# View certificate details
cpca_client lscert -kind SIC -dn "CN=[gateway-name]"
Communication Ports
Source
Destination
Port
Purpose
SmartConsole
Management
19009
CPMI communication
Management
Gateway
18190, 18191
Policy push
Gateway
Management
18210
SIC/CPCA
Gateway
Management
257
Log transfer (FWD)
Any
Management
443
Gaia WebUI, API
High Availability Architecture (ClusterXL)
ClusterXL Overview
ClusterXL provides high availability and load balancing for Check Point Security Gateways.
ClusterXL Modes
1. High Availability Mode (Active/Standby)
One gateway actively processes traffic
Second gateway remains in standby
Automatic failover on failure
Virtual IP shared between members
State synchronization via Sync interface
2. Load Sharing Mode (Active/Active)
All cluster members actively process traffic
Traffic distributed across all members
Better resource utilization
Requires Load Sharing Multicast mode or Load Sharing Unicast mode
ClusterXL Components
Cluster Virtual IP (VIP): Shared IP address for the cluster
Cluster Members: Individual gateways in the cluster
Sync Interface: Dedicated interface for state synchronization
CCP (Cluster Control Protocol): Heartbeat and communication protocol
State Synchronization: Connection table replication between members
Check Cluster Status
# View cluster status
cphaprob state
# Detailed cluster information
cphaprob -a if
# View cluster members
cphaprob list
# Check synchronization status
cphaprob syncstat
VPN Architecture
Site-to-Site VPN
Check Point VPN uses IPsec protocol for encrypted tunnels between sites.
VPN Components
VPN Communities: Logical grouping of VPN gateways
IKE (Internet Key Exchange): Key negotiation protocol
IPsec: Encryption and authentication protocol
Encryption Domain: Networks accessible through VPN
Pre-Shared Key or Certificates: Authentication methods
VPN Processes
# Check VPN status
vpn tu
# View tunnel statistics
vpn tu tlist
# IKE debug
vpn debug on TDERROR_ALL_ALL=5
vpn debug trunc
# Stop debug
vpn debug off
Remote Access VPN
Provides secure connectivity for remote users:
SSL VPN (Mobile Access): Browser-based access
IPsec VPN: VPN client software for full tunnel access
Endpoint Security VPN: Integrated with endpoint protection
Logging Architecture
Log Flow
Check Point logging architecture handles security events from all gateways:
Logging Components
FWD (Firewall Daemon): Generates logs on gateway
FWM (Log Server): Receives and stores logs
SmartLog: Indexes and queries logs
SmartEvent: Correlates events and triggers alerts
SmartReporter: Generates reports from log data
Log Types
Traffic Logs: Firewall accept/drop decisions
IPS Logs: Intrusion prevention events
VPN Logs: VPN tunnel establishment and termination
Audit Logs: Administrator actions and changes
Application Control Logs: Application usage
URL Filtering Logs: Web access events
Log Storage
# Log file locations
$FWDIR/log/fw.log # Current firewall log
$FWDIR/log/*.log # Archived logs
$SMARTLOG_DIR/ # SmartLog indexed files
# View current log
fw log -f
# Check log server status
cpstat sml
# View logging statistics
cpstat fw -f log
Policy Architecture
Unified Policy
Check Point R80+ uses unified policy management with multiple policy types:
Policy Types
Access Control Policy: Firewall rules (allow/deny)
# Clish (Default shell - limited commands)
show configuration
set interface eth0 ipv4-address 192.168.1.10 mask-length 24
save config
# Expert Mode (Full Linux access)
expert
Password: [enter expert password]
# Return to Clish
exit
Gaia Configuration
# View current configuration
show configuration
# Network configuration
set interface eth0 ipv4-address 192.168.1.10 mask-length 24
set static-route default nexthop gateway address 192.168.1.1 on
# Save configuration
save config
# Set hostname
set hostname CP-Gateway-01
Check Point File System Structure
Important Directories
Directory
Purpose
$FWDIR
/opt/CPsfw-R81 - Main Check Point directory
$FWDIR/bin
Check Point executables and scripts
$FWDIR/conf
Configuration files and database
$FWDIR/log
Firewall logs and audit trails
$CPDIR
/opt/CPshared - Shared Check Point files
$PPKDIR
/opt/CPshrd-R81 - Shared version-specific files
/var/log
System logs, backups, temp files
Environment Variables
# Display Check Point environment variables
echo $FWDIR
echo $CPDIR
echo $PPKDIR
# View all Check Point variables
set | grep -i cp
Common File Locations
# Main configuration files
$FWDIR/conf/objects_5_0.C # Objects database
$FWDIR/conf/rulebases_5_0.fws # Policy database
$FWDIR/conf/fwauth.NDB* # User database
# Log files
$FWDIR/log/fw.log # Current firewall log
$FWDIR/log/fw.log.1 # Archived log
# Scripts and executables
$FWDIR/bin/fw # Main firewall command
$FWDIR/bin/cpstat # Statistics command
$FWDIR/bin/fwm # Management command
Traffic Flow Through Check Point Gateway
Packet Processing Flow
Understanding how packets flow through a Check Point gateway is crucial for troubleshooting:
Inbound Traffic Flow
Packet arrives at physical interface
SecureXL check: Known connection? → Accelerate
If yes: SecureXL handles packet (fast path)
If no: Pass to firewall for inspection
Firewall inspection:
Anti-spoofing check
State table lookup
Policy evaluation (Access Control)
NAT translation (if configured)
VPN decryption (if encrypted)
Threat Prevention inspection:
IPS signature matching
Application Control
Anti-Bot checks
URL Filtering
Anti-Virus scanning
Accept/Drop decision:
If accepted: Forward to routing decision
If dropped: Log and discard packet
Routing decision: Determine output interface
Outbound processing:
NAT translation (if configured)
VPN encryption (if applicable)
Packet sent out physical interface
Inspection Chain
# View firewall inspection chain
fw ctl chain
# Shows the order of inspection modules:
# in - Inbound
# pre inbound - Before inbound processing
# post inbound - After inbound processing
# pre outbound - Before outbound processing
# out - Outbound
Connection State Table
State Table Overview
Check Point maintains a connection state table tracking all active sessions:
# Follow firewall log
fw log -f
# View system messages
tail -f /var/log/messages
# Check specific service logs
cat $FWDIR/log/cpwd.elg
cat $FWDIR/log/fwd.elg
Gateway Connectivity
# SIC status
cpca_client lscert -kind SIC
# Cluster status (if clustered)
cphaprob state
cphaprob -a if
# VPN tunnels
vpn tu
Best Practices for Check Point Architecture
Design Best Practices
Separate Management Server from Security Gateways in production
Implement ClusterXL for high availability
Use dedicated Sync interface for cluster synchronization
Deploy separate log server for large environments
Implement out-of-band management network
Use VLANs for network segmentation
Enable SecureXL for performance optimization
Configure CoreXL based on CPU core count
Security Best Practices
Enable IPS on all security policies
Implement Application Control for visibility
Use Identity Awareness for user-based policies
Enable logging for all policy rules
Regularly update IPS signatures and software blades
Implement strong authentication for administrators
Use HTTPS for all management access
Enable audit logs for compliance
Performance Best Practices
Enable SecureXL in production environments
Configure appropriate number of CoreXL instances
Optimize connection table size based on traffic
Use policy optimization tools
Monitor CPU and memory usage regularly
Archive old logs to prevent disk space issues
Implement QoS for critical applications
Management Best Practices
Regular backups of Management Server and Gateways
Test restore procedures periodically
Keep systems updated with latest hotfixes
Use SmartProvisioning for standardized deployments
Implement change management procedures
Document network architecture and policies
Use API for automation and orchestration
Quick Reference - Key Commands
# System Information
fw ver # Version
cpinfo -y all # Detailed info
cpstat os -f all # OS statistics
# Process Management
cpwd_admin list # All processes
cpstop # Stop all
cpstart # Start all
# Firewall Status
fw stat # Policy status
fw ctl pstat # Performance stats
fw tab -t connections -s # Connection count
# Gateway Connectivity
cpca_client lscert -kind SIC # SIC status
cphaprob state # Cluster status
vpn tu # VPN tunnels
# Performance
fwaccel stat # SecureXL status
fw ctl multik stat # CoreXL status
top # CPU usage
# Troubleshooting
fw monitor -e "accept;" # Packet capture
tcpdump -i any # Network capture
fw log -f # Live logs
tail -f /var/log/messages # System log
# Network Configuration
show configuration # Show config (Clish)
ifconfig -a # Interfaces (Expert)
netstat -rn # Routing table
Conclusion
Understanding Check Point firewall architecture is fundamental for effective deployment, management, and troubleshooting of Check Point security solutions. The modular architecture—separating management from enforcement, utilizing software blades for different security functions, and providing flexible deployment options—makes Check Point a comprehensive enterprise security platform.
From the three-tier architecture with Management Server, Security Gateway, and Security Clients, to advanced features like SecureXL acceleration, CoreXL multi-core processing, and ClusterXL high availability, each component plays a critical role in delivering robust network security.
Whether deploying standalone gateways for small offices or complex multi-site architectures with centralized management and distributed enforcement, understanding how packets flow through the system, how policies are enforced, and how different components communicate enables administrators to build secure, scalable, and high-performance network security infrastructure.
Regular monitoring using the commands and tools outlined in this guide, combined with adherence to best practices for design, security, and performance, ensures that your Check Point deployment provides optimal protection while maintaining the performance required by modern business applications.