OS-OE Knowledge/Linux-Unix KB

RHEL6 - IP Forwarding

스쳐가는인연 2011. 4. 16. 16:56
sysctl -w net.ipv4.ip_forward=1

echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf

reference
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Security_Guide/sect-Security_Guide-Firewalls-FORWARD_and_NAT_Rules.html
반응형