Hello Sushy,
Assuming those ip addresses never change (static) then you will probably want to enable IP_Forwarding and make a simple SNAT (secure nat) rule in iptables.
Something along these lines should do it:
Code:
echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf
sysctl -p
iptables -A FORWARD -i eth0 -o eth1 -s 192.168.10.0/24 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -s 192.168.10.0/24 -j SNAT --to-source 0.0.0.1
Obviously you may need to change the ip's if those aren't what you're actually using, and be sure to use iptables-save to keep those settings upon reboot :-)