iptables forwarding

Discussion in 'Server Operation' started by lrt, Nov 27, 2007.

  1. lrt

    lrt New Member

    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
     

Share This Page