If you are trying to forward packets from a client through your Linux box, you will need to enable forwarding
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
However, you may also want to use NAT to share the same IP address as your Linux box. You can do that with iptables. It might look similar to this:
Code:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT