Check Point firewalls provide powerful troubleshooting and debugging tools to diagnose connectivity issues, policy problems, and performance bottlenecks. This guide covers essential commands including tcpdump, fw monitor, zdebug, and other critical troubleshooting tools that every Check Point administrator should master.
Understanding these tools helps identify where packets are being dropped, verify NAT translations, debug VPN connections, and troubleshoot application-level issues efficiently.
cpwd_admin list
Displays all Check Point processes and their status.
fw stat
Shows firewall module status and installed policy information.
fw ver
Displays Check Point version, build number, and installed features.
fw stat -l
Shows detailed policy installation information including policy name and installation time.
ifconfig -a ip addr show
Displays all network interfaces and their IP addresses.
netstat -rn ip route show
fw monitor is Check Point's native packet capture tool that shows packets at different inspection points in the firewall kernel. It captures packets at four inspection points: pre-inbound (i), post-inbound (I), pre-outbound (o), and post-outbound (O).
fw monitor -e "accept host(192.168.1.10);"
Captures all traffic to/from host 192.168.1.10
fw monitor -e "accept host(10.1.1.100);"
fw monitor -e "accept (src=192.168.1.10 and dst=10.0.0.5);"
fw monitor -e "accept (port=443 or port=80);"
fw monitor -e "accept net(192.168.10.0/24);"
fw monitor -e "accept host(192.168.1.10);" -o /var/log/capture.cap
fw monitor -e "accept host(192.168.1.10);" -m 1500
Captures full packet (default is 68 bytes)
fw monitor -e "accept host(192.168.1.10);" -i eth0
fw monitor -e "accept (src=192.168.1.0/24 and dst=10.0.0.5 and (port=443 or port=80));"
Each packet appears four times in fw monitor output:
If packet is missing at certain inspection points, it indicates where the packet was dropped.
CTRL + C
or kill the process:
ps aux | grep fw kill -9 <pid>
tcpdump is the standard Linux packet capture tool available on Check Point Gaia OS. Unlike fw monitor, it captures raw packets without showing firewall inspection points.
tcpdump -i any host 192.168.1.10
tcpdump -i any
tcpdump -i eth0
tcpdump -i any host 192.168.1.10
tcpdump -i any port 443
tcpdump -i any src 192.168.1.10 tcpdump -i any dst 10.0.0.5
tcpdump -i any host 192.168.1.10 and host 10.0.0.5
tcpdump -i any icmp tcpdump -i any tcp tcpdump -i any udp
tcpdump -i any -w /var/log/capture.pcap host 192.168.1.10
tcpdump -r /var/log/capture.pcap
tcpdump -i any -vvv host 192.168.1.10
tcpdump -i any -A host 192.168.1.10 tcpdump -i any -XX host 192.168.1.10
tcpdump -i any -tttt host 192.168.1.10
tcpdump -i any -c 100 host 192.168.1.10
Captures only 100 packets then stops
tcpdump -i any 'src 192.168.1.0/24 and dst port 443 and tcp[tcpflags] & tcp-syn != 0'
Captures TCP SYN packets from 192.168.1.0/24 to port 443
zdebug is Check Point's powerful debugging tool that provides real-time troubleshooting for various Check Point components including VPN, NAT, routing, and more.
fw ctl zdebug + drop
Shows all dropped packets with detailed drop reasons
fw ctl zdebug -
fw ctl zdebug + nat
Shows NAT translations in real-time
fw ctl zdebug + vpn
fw ctl zdebug + chain
fw ctl zdebug + conn
fw ctl zdebug + filter
fw ctl zdebug + drop nat vpn
Combine zdebug with fw monitor filter expressions:
fw ctl zdebug + drop | grep 192.168.1.10
Understanding drop reasons helps identify policy or configuration issues:
fw tab -t connections -s
Shows active connections table statistics
fw tab -t connections -f
Displays all active connections
fw tab -t nat -f
Shows NAT translation table
fw ctl debug -buf 32000
Sets kernel debug buffer size (in bytes)
fw tab -t connections -x
Warning: Clears all connection table entries. Use with caution in production.
fw ctl chain
Displays firewall inspection chain modules and their order
fw ctl pstat
Shows packet statistics per interface
cpstat provides real-time statistics for various Check Point components.
cpstat fw -f policy
cpstat vpn
cpstat ips
cpstat mg
cpstat os -f all
cpstat fw -f policy -c
Updates statistics continuously (similar to top command)
vpn tu
Shows all VPN tunnels and their status
vpn debug on TDERROR_ALL_ALL=5
Enables detailed IKE debugging
vpn debug off
vpn debug trunc
Shows and clears IKE debug buffer
fw ctl zdebug + vpn | grep -i 192.168.1.10
vpn shell
Interactive VPN troubleshooting shell
vpn tu tlist
Lists all IPsec security associations
/var/log/messages # System logs /var/log/fw.log # Firewall logs (binary) $FWDIR/log/fw.log # Firewall logs $CPDIR/log/cpwd.log # Check Point daemon logs $FWDIR/log/ike.elg # IKE logs
tail -f /var/log/messages
fw log -f
Follows firewall log in real-time (text format)
grep -i "192.168.1.10" /var/log/messages
top
or Check Point specific:
cpstat os -f cpu
free -m cpstat os -f memory
df -h
netstat -i cpstat os -f ifconfig
cpview
Interactive system monitoring tool
fw ctl multik stat
Shows CoreXL firewall worker instances and their load
fwm load <policy-name> <target-gateway>
fw stat fw stat -l
fw ctl get policy
cpstat fw -f policy
fw ctl arp
fw ctl set int fw_allow_simultaneous_ping 1
Warning: Only for testing. Re-enable after troubleshooting.
# Step 1: Check if packets reach firewall fw monitor -e "accept host(192.168.1.10);" # Step 2: Check for drops fw ctl zdebug + drop | grep 192.168.1.10 # Step 3: Check policy fw stat # Step 4: Check logs fw log -f | grep 192.168.1.10
# Check NAT table fw tab -t nat -f | grep 192.168.1.10 # Debug NAT fw ctl zdebug + nat | grep 192.168.1.10 # Verify with fw monitor fw monitor -e "accept host(192.168.1.10);"
# Check tunnel status vpn tu # Enable IKE debug vpn debug on TDERROR_ALL_ALL=5 # Monitor in real-time vpn debug trunc # Check IPsec fw ctl zdebug + vpn
# Check CPU and memory top cpstat os -f all # Check CoreXL distribution fw ctl multik stat # Check connection table fw tab -t connections -s # Monitor with cpview cpview
# Basic Status cpwd_admin list # Process status fw stat # Firewall status fw ver # Version information # Packet Capture fw monitor -e "accept host(X.X.X.X);" tcpdump -i any host X.X.X.X -w capture.pcap # Debugging fw ctl zdebug + drop # Drop debugging fw ctl zdebug + nat # NAT debugging fw ctl zdebug - # Stop debugging # Connection Tables fw tab -t connections -s # Connection stats fw tab -t nat -f # NAT table # VPN vpn tu # VPN tunnels vpn debug on TDERROR_ALL_ALL=5 # Logs fw log -f # Follow firewall log tail -f /var/log/messages # System log # Performance cpview # System monitoring fw ctl multik stat # CoreXL status
Mastering Check Point troubleshooting commands is essential for effective firewall administration. The combination of fw monitor, tcpdump, zdebug, and other diagnostic tools provides complete visibility into packet flow, policy enforcement, and system behavior. Regular practice with these commands in lab environments builds confidence for production troubleshooting scenarios.
Always approach troubleshooting systematically: verify connectivity, check policy, examine logs, and use packet captures to understand exactly where and why traffic is failing. With these tools and techniques, you can quickly identify and resolve most Check Point firewall issues.