Book Image

Learn pfSense 2.4

By : David Zientara
Book Image

Learn pfSense 2.4

By: David Zientara

Overview of this book

As computer networks become ubiquitous, it has become increasingly important to both secure and optimize our networks. pfSense, an open-source router/firewall, provides an easy, cost-effective way of achieving this – and this book explains how to install and configure pfSense in such a way that even a networking beginner can successfully deploy and use pfSense. This book begins by covering networking fundamentals, deployment scenarios, and hardware sizing guidelines, as well as how to install pfSense. The book then covers configuration of basic services such as DHCP, DNS, and captive portal and VLAN configuration. Careful consideration is given to the core firewall functionality of pfSense, and how to set up firewall rules and traffic shaping. Finally, the book covers the basics of VPNs, multi-WAN setups, routing and bridging, and how to perform diagnostics and troubleshooting on a network.
Table of Contents (14 chapters)

Firewall and NAT

Regardless of your deployment scenario, there is a good chance you will want to utilize pfSense to filter network traffic, as having control over traffic entering and leaving our networks is one of the main functions of a pfSense firewall. The primary mechanism that we employ for filtering traffic is the creation of firewall rules, and we will detail the process in this chapter. We will also introduce some real-world examples of using pfSense to selectively block traffic, or to allow certain traffic only during certain hours via scheduling.

Another component that we sometimes use in filtering traffic is Network Address Translation (NAT). NAT played an important role in forestalling IPv4 address exhaustion, as it enabled a network to have one IP address for the public internet and many private addresses, with NAT directing traffic in both directions to the correct...