Advice on which FreeBSD firewall package to choose.

Thomas Mullins tsmullins at
Thu Jan 4 23:03:03 UTC 2007

I have not used iptables or ipfw.  But, pf is very easy to use, and has
lots of options.  I would give it a try.  I can send some sample configs
if you need.


-----Original Message-----
From: owner-freebsd-questions at
[mailto:owner-freebsd-questions at] On Behalf Of Brett Davidson
Sent: Thursday, January 04, 2007 4:26 PM
To: questions at
Subject: Advice on which FreeBSD firewall package to choose.

Before I start, I'm familiar with IPTables from Linux but am wanting to
use FreeBSD as a firewalling router after seeing it in action on a
heavily-loaded webserver. I like the efficiency of the TCP stack.

Upon reading the handbook I found that I can have my choice of three
firewalls; pf, iptables and ipfw.

What would be the most useful (and easiest) package to use given the
following scenario:

A FreeBSD router comprising of four physical interfaces -
	Eth0 is the outside 10Mbyte/s cable connection to the Internet.
	Eth1 is a 100Mbit DMZ housing a webserver.
	Eth2 is a 100Mb DMZ housing a 802.11g Wireless Access Router. 
	(My normal preference is to isolate Wireless LANs from physical
	Eth3 is the inside LAN. 

Software-based VPN connections out from both the Inside LAN and Wireless
DMZ are required. (Allowing VPN tunnels through the firewall; not
tunnels terminated at the firewall).

Against prudence, they wish to allow torrent connections to the inside
lan and ICQ connections to both the Inside LAN and the Wireless DMZ. The
torrent and ICQ connections will need to be bandwidth-managed so that is
a major consideration for the choice of which firewall to use. Is there
an equivalent to HTB on FreeBSD?

I look forward to your answers...

freebsd-questions at mailing list
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list