Hamburger Icon
  • Labs icon Lab
  • Core Tech
Google Cloud Platform icon
Labs

Linux Security: Implement Firewalls

In this lab, you’ll practice configuring two different firewalls for common use-cases, and will test the results. When you’re finished, you’ll have two hardened Linux systems that are configured using the principle of least privilege to allow only the access required for them to function in a corporate environment.

Google Cloud Platform icon
Labs

Path Info

Rating
(22 reviews)
Level
Clock icon Beginner
Duration
Clock icon 1h 35m
Published
Clock icon Oct 22, 2024

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Get Started in the Lab Environment

    Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!

  2. Challenge

    Activate UFW

    To start the lab, you will learn how to check the status of the firewall UFW, enable it on a Linux system, and configure it using installed defaults.

  3. Challenge

    Configure an Apache Web Server using UFW Profiles

    You will use UFW profiles to configure the allowed ports on a machine using the name of the application you want to run, in this instance Apache.

  4. Challenge

    Add, View, and Delete UFW Rules Manually

    This challenge will teach you how to manually view rules, and configure them in UFW based on port number and IP Address.

  5. Challenge

    Enable FirewallD and Understand Zones

    This challenge will have you enabling FirewallD, listing and modifying the current zones that are in use.

  6. Challenge

    Make Changes to FirewallD by Adding Services

    You can automate the process of changing firewall rules by adding services to a zone. In this challenge, you will modify firewall rules by adding and removing services from your active zone.

  7. Challenge

    Manually Change FirewallD Rules

    You will look at the syntax for manually adding firewall rules to FirewallD.

  8. Challenge

    The Last Challenge

    Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.

Shimon Brathwaite is a seven-year cybersecurity professional with extensive experience in Incident Response, Vulnerability Management, Identity and Access Management and Consulting.

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.