I am using Red Hat 5.0 on a AMD K6 with 32 Megs of RAM. I was interested in
working with IP masquerading to provide my home network with shared net access
through my Linux box. I have read the Mini-HOWTO on IP Masquerading. I did
the following:
1. downloaded/uncompressed/installed Kernel 2.0.34 ( It worked too! It wasn't
as hard as I thought it would be :) )
2. downloaded ipfwadm only to find out it won't compile under glibc2! (I
assume that Red Hat 5 uses glibc2???) I wound up using the RPM on the Red Hat
disc. The install seemed to work as well.
3. I issued the commands with 'ipfwadm' that the Mini-HOWTO specified. The
default policy was set to deny. Then I issued a command to allow traffic from
my network: (192.168.1.0/255.255.255.0 ) Again, I assumed that since all of
my machines are in the 192.168.1.1-6 range, that the network number would be
192.168.1.0. Is that correct?
4. I set up all of the machines on my network (all Win95) with 192.168.1.3 as
the gateway. .3 is the address of the linux machine.
5. I issued the command 'ifup ppp0' and got on the net. I was able to ping and
telnet from my Linux machine.
6. Then I went to a Win95 machine and tried pinging the LInux box. That
worked. On the Win95 machine, I ran IE3.0 and tried to hit a familiar web page
by IP address, since I still haven't set up DNS yet. IE3.0 couldn't find
anything. I tried telnet as well. Still failed.
Did I leave anything out? I noticed at boot up that there is a message that
says IP forwarding is off. Does ipfwadm "turn it on" or is there a config I
have to edit to enable it by default? I was also a little confused with the
mention of modules in the Mini-HOWTO. I added these lines to the rc.local file
in /etc: (This is an approximation of what I remember)
/sbin/depmod ( I think there was a parameter here? -a?)
/sbin/modprobe ip_masq_ftp
The rc.local file didn't look like the right place to add these lines. Is there
anywhere else I should look?
Thanks
***********************************************************************
George H. Lenzer
Technology Specialist [EMAIL PROTECTED]
Cleveland Heights-University Heights Public Library
http://www.chuhpl.lib.oh.us
2345 Lee Rd. Voice: (216) 932-3600 X274
Cleveland Hts, OH 44118 Fax: (216) 371-9148
***********************************************************************
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.