Not sure what you are asking, but if the the title is the question then machine doing forwarding needs this - in a nutshell:
Change the line net.ipv4.ip_forwarding /etc/sysctl.conf to =1, then restart.
(Or you can just echo 1 > /proc/sys/net/Ipv4/ip_forward and no reboot
This command to make the appropriate entry in iptables.
/sbin/iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
Be sure to update the GATEWAY= eth1 line in ifcfg-eth0 where eth1 is the route out to net.
Now any non-local traffic will wind up going out eth1 as its the default gateway for eth0.
keep warm.