Hey,

3 lines that will let all computers on the 10.0.0.x network talk to the
internet.

modprobe iptable_nat
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Roger Simmons
Sent: Saturday, 6 April 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: Redhat 7.2 and home networking

I have Linux Redhat 7.2 connected to the internet via dialup.  I have
several machines all connected to a hub, each have an ethernet card
and is assigned an address in the range 10.0.0.x.  I want a simple howto

on how to make one of my linux boxes that is connected to an ISP
via dialup a gateway.  All I should have to do with the other machines
is point the gateway to this box.

I was able to get this configuration working under ipchains but now
7.2 has something different (netfilter) after all the reading I have
done
there is nothing that says "this is what you need to do for home
netoworking)
I do not want to read or understand all aspects of packet filtering.  I
want a simple
one paragraph explanation on how to get this working.

any help would be appreciated.

r





Reply via email to