Site Feed

Wednesday, May 2, 2007

How to Turn on IP Forwardarding

IP Forwarding

  • Effectively makes a Linux box act as a router

  • Is usually used with two network interfaces (one internal, and one external)

  • Can be used with firewall services and is often used for NAT

Steps to Turn on IP Forwarding

 1) Modify /etc/sysctl.conf
     vi /etc/sysctl.conf
     add this line:
 2) Make the Change Active
     sysctl -p
 3) To View Current Settings:
     sysctl -a | grep ipv4

More info can be found on the redhat site:

We'll leave firewall rules for another topic...

No comments: