Using RedHat, edit the "/etc/sysconfig/network" script.
Look for the line with FORWARD_IPV4 and set it to yes.
When you reboot, IPv4 forwarding will be enabled.
by hand, the command
echo 1 > /proc/sys/net/ipv4/ip_forward
will do the trick.
I hope I could helped.
|