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)

Routing

pfSense does most of its routing transparently. For example, if we have two local networks, LAN and DMZ, the firewall rules allow traffic between the networks. If a node on LAN tries to establish a session with a node on DMZ, pfSense will send packets to the right network, assuming that the network is directly connected to pfSense. If a node on LAN is trying to establish a session with a remote node, then packets that have the remote node as their destination will be sent to a gateway. There are some special cases, however, where this form of transparent routing isn't enough, and we will discuss them in this section.

Static routes

We may have local networks that are reachable through a router other than pfSense...