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)

Traffic shaping fundamentals

Traffic shaping allows us to manage network traffic in a way that prioritizes some traffic over other traffic in order to conform to specific predefined constraints. These constraints are known as a traffic profile or agreement. For an example of such an agreement, consider looking at your contract with your ISP. Most likely, it contains a service level agreement (SLA), a traffic conditioning agreement (TCA), or both. These agreements define what traffic your ISP will accept. If packets are sent from your local network to the ISP that violate these agreements, the ISP may block them from being forwarded upstream, or, at the very least, forwarding may not be guaranteed. As a result, we generally want to make sure that traffic leaving our network is in compliance with these agreements. One of the ways we can do this is with a traffic shaper.

The traffic...