Overview

Introduction

Welcome to the Configure UFW and DenyHosts Practice Lab. In this module you will be provided with the instructions and devices needed to develop your hands-on skills.

Learning Outcomes

In this module, you will complete the following exercises:

  • Exercise 1 - Install and Configure UFW
  • Exercise 2 - Install and Configure DenyHosts

After completing this lab, you will be able to:

  • Log into a Linux System
  • Configure Network on CentOS
  • Install UFW
  • Set UFW Default Policy
  • Configure Advanced UFW Rules
  • Block ICMP Requests
  • Reset UFW
  • Configure Network on Ubuntu
  • Install and Configure DenyHosts

Exam Objectives

The following exam objectives are covered in this lab:

  • LPI: 110.1 Perform security administration tasks
  • CompTIA: 3.5 Given a scenario, implement and configure Linux firewalls.

Lab Duration

It will take approximately 1 hour to complete this lab.

Exercise 1 - Install and Configure UFW

UFW originated from Ubuntu, and it provides an interface to iptables, which is a host-based firewall. It is also known as Uncomplicated Firewall, which means that the users who are not familiar with the firewall concepts can still use it.

In this exercise, you will learn to install and configure UFW.

Learning Outcomes

After completing this exercise, you will be able to:

  • Log into a Linux System
  • Configure Network on CentOS
  • Install UFW
  • Set UFW Default Policy
  • Configure Advanced UFW Rules
  • Block ICMP Requests
  • Reset UFW

Exercise 2 - Install and Configure DenyHosts

DenyHosts is a Python-based firewall that is mainly used for monitoring the SSH server. It can prevent the SSH server from any intruding IP address by adding it in the /etc/hosts.deny file.

In this exercise, you will learn to install and configure DenyHosts.

Learning Outcomes

After completing this exercise, you will be able to:

  • Configure Network on Ubuntu
  • Install and Configure DenyHosts

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.