Find the answer to your Linux question:
Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    lrt
    lrt is offline
    Just Joined!
    Join Date
    Nov 2007
    Location
    Chattanooga, TN
    Posts
    2

    iptables forwarding


    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

  2. #2
    Linux Engineer Thrillhouse's Avatar
    Join Date
    Jun 2006
    Location
    Arlington, VA, USA
    Posts
    1,377
    This topic on an Ubuntu forum might be of some help to you. Let us know how it goes.

  3. #3
    lrt
    lrt is offline
    Just Joined!
    Join Date
    Nov 2007
    Location
    Chattanooga, TN
    Posts
    2
    i'll take a look at it. thanks.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •