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)

IPv4 and IPv6 addressing

In order to communicate on a TCP/IP network, a node must have an IP address. TCP/IP currently supports two methods of addressing: IPv4 and IPv6. IPv5 was strictly an experimental addressing standard and was never formally adopted. As mentioned in the previous chapter, IPv4 was the first publicly used version of the Internet Protocol, and it called for addressing using four octets of 8 bits each, for a total of 32 bits. This allows for about 4.3 billion addresses. While this addressing scheme was adequate for its time, by the early 1990s it became clear that as more nodes connected to the internet, IPv4 address exhaustion was inevitable, even after classless addressing and private addresses were introduced to conserve IPv4 address space.

As a result, the IPv6 project began in the 1990s. IPv6 addressing uses 128 bits, and the standard size of an IPv6 subnet...