i need to know how i can forward all internet traffic from eth0 to eth1 (two nics on the same machine) using iptables. eth0 is connected to my router (internet connection) and eth1 is connected to a switch. eth1 will act as a gateway for my dhcp clients.
i'm not very familiar with iptables, but i know this can be done fairly easily. could someone show me how? thanks
This topic on an Ubuntu forum might be of some help to you. Let us know how it goes.
i'll take a look at it. thanks.