Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Feb 2000 20:10:39 -0800 (PST)
From:      Bhishan Hemrajani <bhishan@cytosine.dhs.org>
To:        Peter Schwenk <peterschwenk@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: natd/rc.firewall examples wanted
Message-ID:  <200003010410.UAA13533@cytosine.dhs.org>
In-Reply-To: <38BC81A8.821128C4@home.com> from Peter Schwenk at "Feb 29, 2000 09:34:16 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
You don't really need rules for your internal network.

Here's an example rc.firewall:
$fwcmd -f flush
$fwcmd add 10 divert natd all from any to any via de1
$fwcmd add 65000 allow all from any to any

Change de1 to the ethernet card connected to your modem.

and start natd with:
natd -n de1

again, change de1.

--bhishan

> Hello:
> 
> I've recently gotten cable modem service, and I've got two home PCs
> networked.  The cable modem-connected computer has two NICs (duh.), and
> I was hoping that someone could point me toward a good "starter set" of
> rules for protecting a home network (192.168.1.0/24 addresses used for
> internal network).  The "simple" and "client" sets of rules in
> rc.firewall didn't seem suited.
> 
> Any information/advice would be greatly appreciated.
> 
> --
> - Peter Schwenk
> - peterschwenk@home.com
> 
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



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?200003010410.UAA13533>