On Thu, 21 Mar 2002, James Marcinek wrote:

> I'm a newbie at setting up a linux firewall router and
> I'm running into some issues. I have a couple of books
> that I got just to help me out in the Linux world;
> however they don't seem to cover the topic's
> adequately.If anybody can help me out I'd appreciate
> it.

A place where I can see what others have tried/done...

http://www.linuxguruz.org/iptables/

Oskar Andreasson script for your situation is available...
http://www.linuxguruz.org/iptables/scripts/rc.DHCP.firewall.txt


> 
> I have installed RH 7.2 using the custom setting and
> selected Router/Firewall role. I also disabled
> IPCHAINS and made sure that IPTABLES is running in all
> of the init levels.
> 
> One of the major problems I'm running into is that my
> outbound NIC eth1 is using dhcp from the internet
> provider and I don't have static settings and cannot
> determine my default gateway on this card. I'm not
> sure how to configure my
> /etc/sysconfig/network-scripts/ifcfg-eth1 file
> 

??? I have not done this, 

If you are a dhcp client the default gateway will be set automatically.

I think ifcfg-eth1 should be boot=dhcp


> Do I have to use the route command to set up routes or
> do I use IPTABLES to accomplish this?
> 
Check the scripts and tailor for your situation...


> Basically what I want to accomplish is to use NAT
> internally (I set up a 192.168.2.0 network
> internally)and IP masquarading. I'm not currently
> using a DNS server internally (I plan to use one as a
> forwarder), so I have to use the ISP's. 
> 
> I plan to set up a web server and would allow incoming
> port 80 traffic to be directed to this server.
> 
> I also would like to allow all traffic going from my
> internal LAN to go out.
> 
> Any suggestions would be greatly appreciated. I've
> been looking forward to setting up rules and getting
> familiar with this but I'm not at that point yet.
> 
> Thanks!
> 
> James
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Movies - coverage of the 74th Academy Awards�
> http://movies.yahoo.com/
> 

-- 
Tony Zafiropoulos
FixMyVirus.com
Cel: 314-504-3974
[EMAIL PROTECTED]
Best way to reduce your virus exposure?
Run Linux - Replace Windows one system at a time.


Reply via email to