On Wed, Aug 18, 2004 at 08:37:34AM -0500, James A. Coulter typed:
> On Wed, Aug 18, 2004 at 03:36:31PM +0800, AETCH wrote:
> > I have install freebsd 4.x,and have two netcards.
> > I want it as getway.
> > I have config "gateway_enable=YES"  in rc.conf,and then reboot.
> > [a pc]--------[freebsd]-------[b pc]
> > After reboot , I try to use a pc to ping b pc ,it`s not work ,but a pc and
> > b pc can ping freebsd successful,why?
> > Please give me a hand.
> > Thanks!!
> >  
> > aetch
> Have you built a kernel with IPFW enabled and have you enabled natd in
> your rc.conf?

For what he wants to do (connecting two LANs via a FreeBSD gateway, you
don't need a firewall nor nat.
All you need to do is enable FreeBSD as a gateway, which he did, and tell
both pc's what gateway to use to reach the other LAN, eg. on "a pc":

C:\ route add mask

(that is, if "a pc" is windows, in network 192.168.0.x, "b pc" is in 
network 192.168.1.x and the gateway's IP address on the "a pc" side has


[EMAIL PROTECTED] mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to