Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
pfSense Fundamentals - Secure Networks With pfSense Firewall
Rating: 4.6 out of 5(671 ratings)
3,836 students

pfSense Fundamentals - Secure Networks With pfSense Firewall

Learn to secure your home or business with the free, feature rich, enterprise grade pfSense Firewall
Created byTed LeRoy
Last updated 6/2025
English

What you'll learn

  • How to protect your home or business with a pfSense Firewall
  • Introduction to pfSense
  • Firewall Refresher
  • pfSense as a Perimeter Firewall
  • pfSense Installation Options
  • pfSense Hardware Requirements
  • Initial Setup
  • Adding DNS Servers to DHCP
  • Enabling SSH
  • Adding a User
  • Disabling IPv6
  • Customizing the GUI Dashboard
  • Changing Your pfSense Theme
  • Firewall Considerations
  • Whitelist vs. Blacklist
  • Where to Place Rules
  • Floating Rules
  • Adding a New Rule
  • Adding Aliases
  • Adding ICMP Message Types Outbound
  • Strategy for Whitelisting Outbound
  • Tuning Egress Rules
  • Firewall Rule Order
  • Adding Rule Separators
  • pfBlockerNG
  • Snort IDS/IPS
  • Suricata IDS/IPS
  • Configuring a DMZ
  • pfSense Troubleshooting
  • Backing Up and Restoring Your Firewall
  • Updating Your Firewall

Course content

11 sections62 lectures3h 55m total length
  • Introducing pfSense4:20

    Introduction - Introducing pfSense

    Welcome!

    This lesson introduces you to pfSense.

    pfSense is a free, open source, feature rich firewall. Along with firewall services, it will also perform a variety of network and security related functions.

    Although pfSense runs on FreeBSD, practically all management of the firewall after initial configuration is done through a nicely laid out web interface.

    Initial setup is done with a convenient setup routine. Once you assign the interfaces and, if needed, IP addresses, you’ll be good to manage via the web.

    You can see a complete list of applications and features at http://www.pfsense.org. Scroll to the bottom and select Features from the footer menu.


    • Virtual Private Networking or VPN Server

    • High Availability

    • Load Balancing

    • Traffic Shaping

    • Unified Threat Management (UTM) Device

    • Firewall / Router

    • Domain Name System (DNS) and Dynamic Host Configuration Protocol (DHCP) Server

    • Intrusion Detection System and Intrusion Prevention System (IDS / IPS)

    • Transparent Caching Proxy

    • Web Content Filter

    • Stateful Packet Inspection (SPI)

    • GeoIP blocking

    • Anti-spoofing

    • Virtual Local Area Network (VLAN) support

    • Virtual Private Networking (VPN) with many options

    • Snort or Suricata based IPS/IDS

    • Emerging Threats Database

    • IP Blacklist Database

    • Deep Packet Inspection

    • Open source add-ons

    • Many enterprise reliability and user authentication options

    • Web content filtering options including Domain Name blacklisting (DNSBL)

    • Great web based configuration management console

    • System security options

    • Copious reporting options

    Many, many enterprise products from companies like Cisco, Juniper, Fortinet, WatchGuard, and Palo Alto to name just a few would charge you huge money to license these features on their devices. Depending on the size of the infrastructure you want to protect, licensing could range from thousands to hundreds of thousands of dollars!

    Earlier in my information technology career, I installed, configured, and maintained firewalls by several of those vendors for customers as a consultant.

    Later, after finally learning of the outstanding benefits of open source software, and discovering pfSense, I installed pfSense virtual appliances in front of our entire IT infrastructure.

    Whether you’re a home user who enjoys learning about security, a network or system administrator at a Small to Medium Business (SMB) or want a flexible, free tool to secure your enterprise infrastructure or parts of it, pfSense is worth your consideration.

    pfSense provides a free firewall in the form of software for your home or office that you can run on old hardware or virtualize, or if you want a preinstalled, cost effective offering direct from netgate, pfSense has you covered.

    I have an ST-1100 on its way for my home. This would be adequate for a home or very small business of up to about 10 people. If you have a larger office, you could get an SG-3100, or SG-5100. If you have a large business, consider the full-fledged, High Availability XG series.

    In the coming lessons, you’ll learn how to download, install, and configure pfSense to protect your home or business.

  • How to Use This Course2:36

    pfSense

    Introduction - How to use this course

    This lesson is very similar across all of my courses, so if you’ve already seen it, this can be safely skipped.

    The course progressively builds on knowledge gained in previous lessons. Unless you know the course topic pretty thoroughly, you’re encouraged to go through the lessons as they’re presented.

    In some courses, I provide background information after the main course so those with an understanding of some fundamentals won’t have to wade through material they already know.

    Where this is the case, it will be clearly stated.

    To help you learn the material, there are:

    Quizzes after each section

    A downloadable .pdf file you can use to follow each lesson

    Assignments to complete

    Mini assignments or tasks within lessons

    Links to further information in the downloadable material and lesson descriptions.

    If anything is unclear to you as you progress through the course, please reach out in the course Question and Answer (Q&A).

    To get to the Q&A section, click on Go to Dashboard in the upper right of the screen while taking a lesson. 

    I’ll respond quickly, usually within hours, but definitely within 24 hours unless I’m without Internet access for some reason.

    Very often, searching for help on Google will get your question answered most quickly. Be pretty specific about what you’re looking for and it’s almost always the case that someone else has experienced the same or has written about how to do or fix it.

    You’re encouraged to do what is being demonstrated while taking the course whenever possible. Just watch how to do something, pause the lesson, do it on your computer, then continue.

    If this isn’t your learning style, you may want to watch the lesson through once, and try doing it along with the download for that lesson. Or, you could watch it through once to take it in, then watch again with pauses while doing what’s presented.

    My speaking tone is pretty clear and measured, which I hope you’ll find helpful in learning a new topic, but I can be a bit slow for some people’s taste. You can increase the speed of presentation if it suits you.

    Enjoy the course and I look forward to hearing from you!

  • Ratings1:31

    pfSense

    Introduction - Ratings

    A quick word on ratings.

    Although I’m a Udemy Instructor, like you, I’m also a student. I take courses here in a broad range of topics that interest me.

    Also like you, I look closely at ratings and what people have said about a course when deciding whether to spend my valuable time and money on a course.

    You’ll be asked very early in the course to leave a rating by Udemy. Usually within the first 3 to 5 lessons.

    You likely won’t have any idea whether the course is good for you or not by that point in time. Please decline at that time and say you’ll leave a rating later.

    After you’ve taken a sufficient number of lessons to form an opinion, please leave a review when prompted or click on Go To Dashboard in the upper right of a lesson and click on Reviews in the dashboard.

    When leaving a review, please select the number of stars you feel the course deserves, and choose aspects of the course that led you to want to leave that rating.

    It is also helpful if you say what you did or did not like about the course.

    Always feel free to reach out to me in the course Q&A or through Udemy’s messaging system to ask for improvements, additions, or changes that will make this a 5 star course for you. That’s my goal with every course.

    Thank you for your time and patience.

    See you in the next lesson!

Requirements

  • Access to a computer
  • Basic understanding of networking
  • Knowledge of networking terms (DHCP, DNS, TCP/IP, etc.)

Description

==========================Student Reviews======================

This is a great course for anyone needing to understand the pfSense firewall system. It was well worth both time and money. The presentation of the instructor was very professional, well thought out and the demonstrations were extremely relevant and easy to follow. -- David S. ★★★★★

This an excellent course, i started knowing nothing. Now I am no longer the one i was before starting and every topic is well organized... Hats off Ted, The instructor Ted made it become very easy for someone to learn. By the end of the course i feel very happy and ready to continue learning and keep practicing what I've learned from you. -- Hermann S.F. ★★★★★

Excellent overview, and quick initial setup of pfSense. Good coverage on mentioning you can set it up in monitor mode to observe your traffic for a few weeks, after basic rules are in place; then review the logs to put in place any remaining necessary rules. I've studied firewalls before; but first foray into pfSense. I like it. -- Kevin S. ★★★★★

=============================================================

pfSense is a full featured, open source firewall specific BSD build. You can download an image for free, and install it on your own hardware, or in your virtualized environment of choice, or purchase a very reasonably priced pre-configured device.

Even though pfSense is built on FreeBSD, you don't have to know BSD or Linux to manage your firewall. You are encouraged to do everything you need through the browser based Graphical User Interface (GUI).

As with all Udemy courses:

  • You have a 30 day, no questions asked, money back guarantee if you're not fully satisfied with the course.

  • You have lifetime full access to the course and all updates and additions.

In this course, you'll learn:

  • The fundamentals of what a firewall is

    • Overview

    • Interfaces

      • Outside (Untrusted)

      • Demilitarized Zone (Medium Trust)

      • Internal (Trusted)

    • Stateful Packet Inspection (SPI)

    • Application Layer Firewall

  • Why you need a firewall

  • What pfSense is

    • The operating system it's built on

    • Pro's and con's of open source

  • The main features included with pfSense

    • Overview

    • Management through the Web based Graphical User Interface (GUI)

    • Firewall

    • Network Address Translation (NAT)

    • User Management

  • Configure pfBlockerNG

    • Installing pfBlockerNG

    • Which traffic to analyze for pfBlockerNG

    • Configuring pfBlockerNG

  • Install Snort IDS/IPS

    • Install Snort

    • Choose Snort Rule Sets

    • Download Rule Set updates

    • Assign Rule Sets to interfaces

  • Install Suricata IDS/IPS

    • Install Suricata

    • Choose Suricata Rule Sets

    • Download Rule Set updates

    • Assign Rule Sets to interfaces

  • Configure a DMZ

    • Create a DMZ

    • Configure Firewall Rules

    • Configure Port Forwarding Rules

    • Configure Inbound Rules (HTTP)

    • Configure Snort or Suricata to protect DMZ

    • Test to Ensure Protection Works

  • Maintaining Your Firewall

    • Backing up and restoring from backup

    • Updating

    • Troubleshooting Issues

Dive in and learn pfSense today!

Who this course is for:

  • Network and system administrators for Small to Medium sized Businesses (SMBs)
  • Home users who want to learn pfSense
  • People who want to understand firewalls
  • Network and system administrators for enterprises that may want pfSense