Thursday, December 23, 2004

IP Forwarding

OK. Here is a simple way to do IP Forwarding if its not enabled by default. Put this in rc.local.

echo "1" /proc/sys/net/ip4/ip _forward

Or you can use the file /etc/sysctl.conf and add the following entry

net.ipv4.ip_forward= 1

No comments: