Chapter 26 Firewalls

Table of Contents
26.1 Introduction
26.2 Firewall Concepts
26.3 Firewall Packages
26.4 The OpenBSD Packet Filter (PF) and ALTQ
26.5 The IPFILTER (IPF) Firewall
26.6 IPFW
Contributed by Joseph J. Barbish. Converted to SGML and updated by Brad Davis.

26.1 Introduction

Firewalls make it possible to filter incoming and outgoing traffic that flows through your system. A firewall can use one or more sets of “rules” to inspect the network packets as they come in or go out of your network connections and either allows the traffic through or blocks it. The rules of a firewall can inspect one or more characteristics of the packets, including but not limited to the protocol type, the source or destination host address, and the source or destination port.

Firewalls can greatly enhance the security of a host or a network. They can be used to do one or more of the following things:

After reading this chapter, you will know:

Before reading this chapter, you should:

This, and other documents, can be downloaded from ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/.

For questions about FreeBSD, read the documentation before contacting <[email protected]>.
For questions about this documentation, e-mail <[email protected]>.