Linux firewall

From thelinuxwiki
Revision as of 19:01, 25 February 2013 by Nighthawk (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

check ip forwarding status

cat /proc/sys/net/ipv4/ip_forward

set ip forwarding ON

echo 1 > /proc/sys/net/ipv4/ip_forward
*** does not survive reboot***

set ip forwarding ON during BOOT

add line to /etc/sysctl.conf:

net.ipv4.ip_forward = 1