RedHat 7 and firewalls

G

Guest

Guest
Can anyone point me to some really good instruction on how to get my linux box correctly setup as an internet gateway?

I have eth0 configured to DHCP for my cable modem - this bit works.
I have DHCP running on the server - this bit works
ETH1 is local network - this bit works.
I can access the internet on the linux machine.
I can Ping internet and local IP's form linux.
Local PC's pick up a DHCP address correctly and also gateway info.
I can ping Linux from local PC

How close can you get to success without it slapping you in the face?

Raise a glass to long legs and big T*** :)
 

Kelledin

Distinguished
Mar 1, 2001
2,183
0
19,780
A general firewall HOWTO:

<A HREF="http://www.linuxdoc.org/HOWTO/Firewall-HOWTO.html" target="_new">http://www.linuxdoc.org/HOWTO/Firewall-HOWTO.html</A>

A HOWTO for IP Masquerading, a more transparent firewalling scheme than proxy firewalls:

<A HREF="http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html" target="_new">http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO.html</A> (this is the one I used originally. Once you're through with it, you might want to give this next one a good read.)

A HOWTO for strong IPCHAINS firewalling (used in kernel 2.2):

<A HREF="http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html" target="_new">http://www.linuxdoc.org/HOWTO/IPCHAINS-HOWTO.html</A>

2.4 introduces a new firewall method called IPTables but retains compatibility with IPCHAINS. Don't know where to find an IPTables HOWTO...

Kelledin

"/join #hackerz. See the Web. DoS interesting people."