Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2000 12:23:13 -0700 (PDT)
From:      Bhishan Hemrajani <bhishan@fusion.unixfreak.org>
To:        Generic Player <generic@unitedtamers.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Firewall + natd, what am I doing wrong?
Message-ID:  <200005281923.e4SJNDD59704@fusion.unixfreak.org>
In-Reply-To: <39316D3C.8461F621@unitedtamers.com> from Generic Player at "May 28, 2000 03:02:20 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
<snip>
> /sbin/ipfw -f flush
> /sbin/ipfw add divert natd all from any to any via ed0
> /sbin/ipfw add pass all from any to any

You might want to change the second line to:
/sbin/ipfw add 10 divert natd all from any to any via ed0

Also, give us a list of "ipfw show".

> 
> I have ed0 as my internet connection, and xl0 as my internal network,
> and I run the command natd -interface ed0 when I first boot up.  I can
> access both the LAN and the internet from this machine, but the rest of
> the LAN can't get internet access.
> 
> Anything I missed?

Did you remember to set the gateway on the computers on the lan to the
fbsd box's ip?

--bhishan


> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


--
Bhishan Hemrajani / bhishan@fusion.unixfreak.org / PGP: 0xFAC75561
Finger bhishan@fusion.unixfreak.org for more information.

The difference between us and a computer is that, the computer is blindingly 
stupid, but it is capable of being stupid many, many million times a second.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005281923.e4SJNDD59704>