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)

Configuring a VPN tunnel

Now that we have covered the basics of VPNs, we can discuss how to set up a VPN tunnel. Both peer-to-peer and client-server VPN tunnels will be covered, and, for client-server tunnels, we will discuss how to configure the tunnel from both the server side and the client side. IPsec is the most difficult to configure, and you might not get it to work the first time, whereas OpenVPN and L2TP are somewhat easier.

IPsec configuration

Depending on your deployment scenario, you may want to configure IPsec as a peer that can connect to or accept a connection from another peer, or you may want to set up IPsec as a server that accepts connections from remote clients. We will cover both cases in this subsection...