Difference between revisions of "Linux firewall"

From thelinuxwiki
Jump to: navigation, search
(Pushed from thelinuxwiki.com.)
 

Latest revision as of 19:01, 25 February 2013

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