iptables help - Questions

This is a discussion on iptables help - Questions ; newbe here... thanks in advance for any help... installed redhat 9 on a machine to use as a gateway for a small home lan... read the manual but am confused as to how to set up ip tables to allow ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: iptables help

  1. iptables help

    newbe here... thanks in advance for any help...

    installed redhat 9 on a machine to use as a gateway for a small home
    lan... read the manual but am confused as to how to set up ip tables to
    allow traffic through the linux box for a couple of windows boxes

    have rp-pppoe installed and used lokkit to configure firewall but no
    traffic goes in and out the the internet and windows boxes do not get mail

    eth0 is the nic connected to the internal lan and eth1 is connected to
    the dsl modem...

    if i understand the manual i need to add two lines like:

    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

    and

    iptables -t nat -A PREROUTING -i eth0 -j

    am i even close here... or more confused then i thought


    thanx in advance

    graf


  2. Re: iptables help

    grafyt wrote:

    http://www.tldp.org/HOWTO/IPCHAINS-HOWTO.html
    ..
    --
    /// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
    \\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
    "The State of California has no business subsidizing
    intellectual curiosity." - Ronald Reagan


+ Reply to Thread