On Fri, Sep 11, 1998 at 09:06:59PM -0700, Harondel J. Sibble wrote:

[snip]

> and set the 486 ipmasq box with just a win98 client machine connected 
> directly to it.  The 98 box has the ip address of eth0 (192.168.1.2) as its default 
> gateway and the 98 box is assigned 192.168.1.6
> 
> I am able to use the ip addresses to ping eth0 from the 98 box and ping the 98 
> box from the linux box. 
> 
> Now I enter the rules below
> 
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.1.0/24 - D  0.0.0.0/0
> 
> all the F, I, and O rules has been cleaned out previously as I was working 
> through the firewall setup chapter in Linux Network Toolkit by Paul G. Sery 
> (absolutely excellent book by the way for any new to linux folks)
> 
> this sort of works as I can ping the outside world fine from the masq machine 
> and ping the 98 box also. I can even ping eth1 from the 98 box by typing its 
> dhcp assigned address. Now the problem is that I cannot get out to the net 
> from the 98 box.

It sounds like forwarding isn't enabled. See what's in the file
/proc/sys/net/ipv4/ip_forward. It should be 1. If it's 0, then do this: echo
"1" > /proc/sys/net/ipv4/ip_forward.                            

If that was the problem, then you can enable forwarding at boot time by making
sure the line FORWARD_IPV4=true is in the file /etc/sysconfig/network.                 
                    

Chris  
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]

Reply via email to