Categories
Check Point Debian

Enable IP Forwarding

By default, Checkpoint firewalls will not let pings pass through them. However, when you first setup a network, it’s useful to be able to test wide open through the firewall to verify routing and connectivity. Here is how to enable IP forwarding.

Permanent Changes, Survives Reboot (sysctl)

Check IP Forwarding using sysctl
sysclt net.ipv4.ip_forward
Enable IP Forwarding using sysctl

sysctl -w net.ipv4.ip_forward=1
sysctl -p /etc/sysctl.conf

Temporary Changes, Does not Survive Reboot (/proc)

Check IP Forwarding using /proc
cat /proc/sys/net/ipv4/ip_forward
Enable IP Forwarding using /proc
echo 1 > /proc/sys/net/ipv4/ip_forward

Other OS Notes:

RHEL
service network restart
Various Linux
edit /etc/sysconfig/sysctl:

IP_FORWARD="yes"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.