Firewall
From FreeBSDwiki
A firewall is a gateway device which sits between networks and examines the traffic wanting to pass through it, and makes decisions about whether to allow, deny, log, NAT, and/or otherwise fiddle with that traffic on a packet-by-packet basis by consulting a ruleset it's been programmed with.
The main purpose of most firewalls is to protect an internal network from malicious traffic inbound from the outside network(s), but they can also be used to monitor and/or control the types of traffic allowed from the inside network going out, as well.
Under FreeBSD, the kernel firewall available is ipfw.
see also: Firewall, Configuring, Network Address Translation, Gateway