Home firewall with DLink router and FreeBSD

Leonardo M. Ramé martinrame at yahoo.com
Fri May 6 01:37:05 UTC 2011

--- On Thu, 5/5/11, Jon Radel <jon at radel.com> wrote:

> From: Jon Radel <jon at radel.com>
> Subject: Re: Home firewall with DLink router and FreeBSD
> To: freebsd-questions at freebsd.org
> Date: Thursday, May 5, 2011, 9:50 PM
> On 5/5/11 8:37 PM, Leonardo M. Ramé wrote:
> > 
> > Hi, at home I have a DLink Dir 300 router to provide
> internet access for my home network. The network is composed
> by two Windows PCs, one Linux laptop and one FreeBSD server
> we use mainly for storage and as web/database server.
> > 
> > I must add, the server only have one network card.
> It becomes difficult to use a server as a firewall unless
> you have an "inside" and an "outside" network.  Easiest
> is to simply add another network card, should that be
> possible on your server.  Another possibility is to use
> VLAN taggging and connect the server to a switch that
> understands VLANs.
> > 
> > I would like to know if its possible to use the
> FreeBSD server as a Firewall for the whole network, securing
> LAN and WiFi connections. If this can be done, then how?
> could you point me to some howto?.
> > 
> Yes.  I'd start on the FreeBSD website and start
> reading things that look useful.  If you're thinking
> about using pf as your firewall, which I'd personally
> recommend though other options are perfectly workable also,
> there's a nice document on the OpenBSD web site, IIRC.

Thanks, I think I better add a 2nd network card, as Daniel suggested. Then I'll try this again.

Leonardo M. Ramé

More information about the freebsd-questions mailing list