Learn Linux Security – Firewalls

Go from Novice to Expert at Setting Up and Configuring a Linux-Based Firewall

What you’ll learn

  • Learn to setup and configure the UFW firewall.
  • Manage inbound and outbound traffic with firewall rules.
  • Learn how to create Application Profiles to simplify firewall management.
  • Walkthrough example configurations for desktops and servers.
  • Learn how to use Python to control your firewall.

Course Content

  • Introduction –> 1 lecture • 4min.
  • Concepts –> 1 lecture • 9min.
  • Installing UFW –> 2 lectures • 7min.
  • Managing Firewall Status –> 2 lectures • 14min.
  • Writing and Managing Firewall Rules –> 2 lectures • 18min.
  • Application Profiles –> 5 lectures • 23min.
  • Rate Limits –> 1 lecture • 2min.
  • Logging and Monitoring –> 1 lecture • 4min.
  • Example Configurations –> 6 lectures • 18min.
  • Testing Your Firewall Rules –> 1 lecture • 5min.
  • Scripting UFW with Python –> 2 lectures • 22min.
  • Conclusion –> 1 lecture • 2min.

Auto Draft


  • Basic IT skills.


Take a Deep Dive into Linux Firewalls!

This course will teach you how to setup and operate your own host-based firewall to protect Linux systems.  UFW acts as an easy to use wrapper around netfilter and iptables.  Take a deep dive into firewall configuration and rule management.  Go from novice to expert!

We’ll teach you how to quickly get UFW setup and configured.  Then we’ll start working through writing rules to manage traffic.  We’ll go from the fundamentals all the way through advanced topics like Application Profiles and integration with Python.


You’ll learn how to:

  • Allow or Deny traffic based on port and protocol
  • Manage the flow of inbound and outbound traffic to you system by adding and removing custom rules
  • Use Application Profiles to more easily build rule sets
  • Walkthrough example configurations for workstations and servers
  • Implement a custom policy to enable base services but restrict chat and file sharing
  • Learn how you can use Python to control your firewall
  • Handle operational aspects of the firewall like logging and monitoring
  • Develop a game plan for testing the firewall


Key elements of the course that you can take from the classroom to the real world:

– Real world case study of applying a base configuration to allow core services, but restrict chat and file sharing applications

– Several configuration templates to help get you started with base setups for desktops, developer workstations, web servers, and more

– A complete live code walkthrough which provides in-depth coverage of how you can script UFW with Python


Most lessons also include a live hands-on demonstration where you can see UFW in action.  Go ahead and get started learning Linux security with this complete course on Linux Firewalls!



Get Tutorial