Hands-On LabIntermediate

Linux Networking and Firewall Configuration on Azure

Configure network interfaces, firewall rules with iptables and UFW, harden SSH, and troubleshoot with Linux networking tools.

60 minEstimated time
5Guided steps
AutoVerification
IsolatedSandbox
Linux Networking and Firewall Configuration on Azure

Lab overview

Understanding Linux networking and firewall configuration is essential for securing and maintaining servers in any cloud or on-premises environment. In this lab, you will connect via lab Code-IDE to a pre-provisioned Ubuntu Server virtual machine running on Azure and perform hands-on network configuration and security hardening tasks. You will inspect and configure network interfaces using ip, nmcli, and netplan, create host-based firewall rules with both iptables and ufw, harden the SSH server to restrict unauthorized access, manage local hostname resolution through /etc/hosts, and diagnose connectivity issues using standard Linux networking tools. These skills align directly with the BCIT ACIT 2420 curriculum and prepare you for real-world network administration responsibilities.

Objectives

Upon completing this intermediate level lab, you will be able to:

  • Inspect and configure network interfaces using ip addr, nmcli, and netplan YAML configuration files
  • Create and manage firewall rules using both iptables and ufw for host-based packet filtering
  • Harden an SSH server configuration by disabling root login, enforcing key-based authentication, and restricting access
  • Diagnose network connectivity and DNS resolution issues using ping, traceroute, ss, dig, and nslookup
  • Manage local hostname resolution by editing /etc/hosts and verify DNS behavior with query tools

Who is this lab for?

This lab is designed for:

  • Linux system administration students studying networking fundamentals, particularly those enrolled in BCIT ACIT 2420 or equivalent courses
  • Junior system administrators who want hands-on experience configuring firewalls and hardening SSH on Linux servers
  • DevOps engineers looking to deepen their understanding of Linux network configuration and security in cloud-hosted environments

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed, not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
60 min
Steps
5

Environment

Live Cloud EnvironmentBrowser Code IDE

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Logging into Azure Account using Azure Portal

  2. 02

    Inspecting Network Interfaces and Routing Tables on Linux

  3. 03

    Configuring iptables and UFW Firewall Rules

    1 automated check

  4. 04

    Hardening SSH Server Configuration and Security

    1 automated check

  5. 05

    Troubleshooting DNS and Network Connectivity Issues

    1 automated check

Skills validated

Server Administration

Not the lab you were looking for?

Browse 200+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog