http://lmgtfy.com/?q=2+card+nat+iptables
There are millions of examples of doing this with IPtables. 100's of them are on this forum.
Try and do some research before asking a question that has already been asked and answered over and over again.
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
I wouldnt bother using iptables. Get OpenBSD and use pf(). Of course, that would mean reading the manual though.