On Thu, 21 May 1998, Jim Rainville wrote:
> I'm running RH5 with kernal 2.0.33. I'm also running KDE B4 (if that
> matters) as my Linux machine. With that machine I can connect to my ISP
> (PPP) and get out to the Internet.
>
> I also have a machine running NT 4.0. These two machines are connected with
> an ethernet mini hub.
>
> I followed the mini howto as far as compiling the kernel. That went fine
> and the new kernel is up and running fine. I was unable to compile and
> install the modules (all kinds of compiler errors) but if I understand it
> right this should be ok with the new kernels - at least to do something
> simple like pinging my ISP's main server.
>
> I set up my NT machine by changing the default gateway to the IP address of
> my Linux machine (192.168.0.4) and I changed the DNS to the DNS on my ISP
> (199.4.126.1).
>
> I then entered the following commands on my Linux machine:
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0
>
> As far as I can tell these are the basics and it should work but it
> doesn't. From the NT machine I can ping the Linux machine but I am unable
> to ping anything in the outside world. From the Linux machine I can ping
> anything I want.
>
> Did I miss something?
Yup, one small but important thing. in the second ipfwadm line, change
the -S option to 192.168.0.0/24. That tells ipfwadm to forward anything
from IPs 192.168.0.*. Right now yours is set to forward packets from
192.168.1.*, which my guess, you don't have any machines on that IP range.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]