iptables help

From: grafyt (vze2bd6u_at_verizon.net)
Date: 10/12/03


Date: Sun, 12 Oct 2003 00:33:43 GMT

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



Relevant Pages

  • iptables help
    ... installed redhat 9 on a machine to use as a gateway for a small home ... 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 ...
    (alt.os.linux.redhat)
  • iptables help
    ... installed redhat 9 on a machine to use as a gateway for a small home ... 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 ...
    (comp.os.linux.networking)
  • Re: Wireless router?
    ... I decided to go the standalone wireless router ... I set a normal LAN ip for the wifi router - as well as ips to the FreeBSD gateway and dns. ... This is for the LAN part of the router - then another internal LAN ip for the wifi part. ...
    (freebsd-questions)
  • Re: DHCP serveing two subnets from the SBS Server
    ... From your response it appears that the SBS server can ... not serve a scope for both the DMZ / Perimeter LAN in front of the SBS ... future running some wireless workstations on the internal LAN, ...
    (microsoft.public.windows.server.sbs)
  • Re: Sharing a printer to external LAN
    ... What protocol are they using to get access to the internal LAN? ... a print server defined on the SBS server for it. ... I wish to be able to let those laptops hooked to the external lan use ...
    (microsoft.public.windows.server.sbs)