Anyone Can Help me with Iptables Working Script?

"T.P.Chan" <[email protected]> Fri, 18 Jul 2003 12:14:30 +0800
Newsgroups gmane.linux.redhat.security.server
Message-ID <009b01c34ce3$15f7bbb0$fb00a8c0@pormania>
Hi,

Currently, I'm switching from using dial up to ADSL. Therefore, I would like
to setup a firewall using running on RedHat 9.0 and iptables-1.2.7a-2. I had
read a lot of documentation on iptables, however I still stuck on come out
with a full set of rules to serve my intended purpose.

My ADSL provider assign 5 fix IP (219.x.x.x) for me. I had 3 server (1 Mail
and 2 web server) stay in DMZ. In my local LAN, I had 5 pc using private ip
(192.168.0.x/24). My iptables box would had 3 network card (eth0-219.x.x.x,
eth1-10.1.1.x/24, and eth2-192.168.0.x/24).

>From my understanding, (forgive me if I'm wrong, I'm newbie), I would need
to do NAT from my public IP to my servers in my DMZ. Can someone, show me
how the rules would look like? Maybe some working rules with the scenario
describe above would be appreciate.

Thank you.

Regards,

Emanduel Chan Tain Por