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)

Summary

In this chapter, we introduced you to the world of firewall rules and NAT. We briefly discussed some basics of firewalls, including pfSense’s default behavior, and also mentioned firewall best practices and why both ingress and egress filtering are a good idea. We walked through the process of creating firewall rules, and also introduced some example rules. Finally, we discussed NAT. The form of NAT you are most likely to use is port-forwarding, but we also briefly discussed Outbound NAT and 1:1 NAT.

You will want to review this chapter if you haven’t fully grasped the concepts discussed within it, as the next chapter builds heavily on what was covered here. We will discuss traffic-shaping in the next chapter, which, to a large degree, relies on firewall rules.