O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Network Security with pfSense

Book Description

Use an open source firewall and features such as failover, load balancer, OpenVPN, IPSec, and Squid to protect your network

Key Features

  • Explore pfSense, a trusted open source network security solution
  • Configure pfSense as a firewall and create and manage firewall rules
  • Test pfSense for failover and load balancing across multiple WAN connections

Book Description

While connected to the internet, you're a potential target for an array of cyber threats, such as hackers, keyloggers, and Trojans that attack through unpatched security holes. A firewall works as a barrier (or shield') between your computer and cyberspace. pfSense is highly versatile firewall software. With thousands of enterprises using pfSense, it is fast becoming the world's most trusted open source network security solution.

Network Security with pfSense begins with an introduction to pfSense, where you will gain an understanding of what pfSense is, its key features, and advantages. Next, you will learn how to configure pfSense as a firewall and create and manage firewall rules. As you make your way through the chapters, you will test pfSense for failover and load balancing across multiple wide area network (WAN) connections. You will then configure pfSense with OpenVPN for secure remote connectivity and implement IPsec VPN tunnels with pfSense. In the concluding chapters, you'll understand how to configure and integrate pfSense as a Squid proxy server.

By the end of this book, you will be able to leverage the power of pfSense to build a secure network.

What you will learn

  • Understand what pfSense is, its key features, and advantages
  • Configure pfSense as a firewall
  • Set up pfSense for failover and load balancing
  • Connect clients through an OpenVPN client
  • Configure an IPsec VPN tunnel with pfSense
  • Integrate the Squid proxy into pfSense

Who this book is for

Network Security with pfSense is for IT administrators, security administrators, technical architects, chief experience officers, and individuals who own a home or small office network and want to secure it.

Downloading the example code for this book You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. Network Security with pfSense
  3. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  4. Contributor
    1. About the author
    2. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the color images
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. Introduction to pfSense
    1. What is pfSense?
    2. Benefits of pfSense
    3. Use cases
      1. LAN or WAN router
      2. Wireless hotspot or captive portal
      3. VPN router
      4. Firewall
      5. DHCP or DNS server
      6. Multi-WAN router support for failover or load balancer
      7. Port forwarding or Network Address Translation
    4. pfSense features
    5. Prerequisites for installation
    6. Installing pfSense on a virtual machine
    7. Launching the virtual machine
    8. Configuring VM and completing the installation
    9. Configuring pfSense
    10. pfSense WebGUI walkthrough
    11. Configuring pfSense as a DHCP server
    12. Summary
  7. pfSense as a Firewall
    1. What is a firewall?
    2. Configuring pfSense as a firewall
    3. Setting up firewall rules
      1. Firewall rules in pfSense
        1. Firewall rules for internal LAN networks
          1. Setting up firewall rules for LAN2
    4. Managing firewall rules
    5. Summary
  8. pfSense as a Failover and Load Balancer
    1. Load balancing and failover
    2. Load balancing and failover across multiple WAN connections
    3. Configuring Gateway Groups
    4. Verifying load balancing across WAN connections
    5. Failover across multiple WAN connections
    6. Summary
  9. Remote Connectivity with pfSense and IPsec
    1. What is IPsec?
      1. Transport mode
      2. Tunnel mode
      3. IPsec features
    2. Security Association
    3. IPsec VPN tunnel implementation
    4. Prerequisites
    5. IPsec phases
    6. Configuring IPsec tunnel
    7. Configuring pfSense firewall rules
    8. Summary
  10. Using pfSense as a Squid Proxy Server
    1. The proxy server
      1. The Squid proxy server
    2. Installing the Squid proxy server
    3. Configuring the Squid proxy server
    4. Testing the Squid proxy server
    5. Summary
  11. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think