> Hi my english isn't very good but i will try. I have a pc with RH 7.2
> installed. I need to configure it with two network cards. one is to
> get internet conection form an isp that give us internet by cable. the
> other one is to redistribuite ( send ) the internet in to a
> sub-network or a local network.
> i want to put a firewall because i don't want that other pc out of my
> sub-net ( my sub-lan ) get the internet signal, only computers inside
> the linux server.
So your english is about 100% better than the usual spanish spoken here ;)
you want to setup a firewall that can do ip-masquerading or nat.
all you need for it is ipchains or iptables. It depends on your kernel.
if you have a 2.2.x - kernel, you need ipchains. For a 2.4.x-kernel you can
use iptables.
To determine which kernel you are running, type 'uname -r'
for ipchains, you best take a look at the very informative page
http://www.linuxdoc.org
or jump immediatel to the -english- HOWTO:
http://www.tldp.org/HOWTO/IPCHAINS-HOWTO.html
for iptables (or "netfilter" like the whole package is named) go to:
http://www.netfilter.org
or jump immediately to the -spanish- HOWTO :
http://www.netfilter.org/documentation/HOWTO/es/packet-filtering-HOWT...
mucho suerte y si vas a tener mas preguntas, puedes preguntar en este
newsgroup o comp.os.linux.networking (que es mechor ;)
adios,
pedro
--
peter pilsl
http://www.goldfisch.at