On Sat, Aug 22, 1998 at 03:57:21PM -0400, Kevin wrote:
> I've read through the IP masquerading mini-howto
> quite a few time and am still lost because well,
> it doesn't work. My setup goes like so. (incoming
> bad ascii art!)
>
>
> |internet|--(eth0)|linux box|(eth1)--|hub|--|win95
> box|
>
>
> The plan is to have the win95 box use the linux
> box's internet connection (cable modem, yes I know
> I'm lucky) to do whatever...surf the web and
> whatnot.
>
> Here's what I have going on so far on the linux
> box.
> ------
> in /etc/rc.d/rc.local down at the bottom
>
> ipfwadm -F -p deny
> ipfwadm -F -a m -S 192.168.1.2/24 -D 0.0.0.0/0 -W
> eth1
There are a couple of things wrong here. One is that 192.168.1.2 should be
192.168.1.0 - that's your network address. But the big thing is that -W eth1
should be -W eth0 -- the interface you name after -W is the interface to the
outside world, out through which packets will be masqueraded.
(Also, I assume that the line break between -W and eth1 isn't really there and
that it was inserted by your MUA.)
Try making those changes and see if things work out.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For daily digest info, email [EMAIL PROTECTED]