본문 바로가기
OS-OE Knowledge/Linux-Unix KB

RHEL6 - IP Forwarding

by 스쳐가는인연 2011. 4. 16.
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
반응형