Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Ubuntu Networking & Firewall: Netplan, DNS, UFW, LACP
New
8 students

Ubuntu Networking & Firewall: Netplan, DNS, UFW, LACP

Master Ubuntu networking and firewall configuration: Netplan, DNS, LACP bonding, gateways, UFW and troubleshooting labs.
Created byACHRAF ER-RAYA
Last updated 10/2026
English

What you'll learn

  • Configure static IPs, custom DNS resolvers, default gateways, and LACP bonding in Ubuntu using Netplan YAML files.
  • Troubleshoot network bottlenecks, packet loss, and DNS resolution failures using native Linux diagnostic tools.
  • Harden host security by implementing advanced Uncomplicated Firewall (UFW) rules, rate limiting, and port policies.
  • Build, secure, and deploy a complete production-grade Ubuntu server network configuration from scratch.

Course content

5 sections • 9 lectures • 2h 12m total length
  • Configuring Network Interfaces & DNS in Ubuntu Linux11:19
  • Configuring Network Interfaces & DNS in Ubuntu Linux (PART220:04

Requirements

  • Basic command-line familiarity and an installed Ubuntu Linux environment (Virtual Machine, WSL, or Cloud Instance).

Description

This course contains the use of artificial intelligence.

One wrong Netplan change over SSH can take a production server offline, and this course shows you how to configure, troubleshoot and secure Ubuntu networking without that risk.

Who this course is for

  • Linux beginners who want to move from “it works on my VM” to confident network configuration

  • Junior sysadmins and DevOps engineers responsible for Ubuntu servers

  • Self-taught IT professionals preparing for sysadmin or cloud infrastructure roles

  • Developers who deploy to Ubuntu VPS or cloud servers and want to secure them properly

  • Homelab enthusiasts building multi-NIC, bonded or firewalled setups

What you will learn

  • Configure static IP, DHCP and custom DNS with Netplan and systemd-resolved

  • Apply network changes safely using netplan try, with automatic rollback

  • Diagnose connectivity problems with a repeatable 9-step ladder using ip, ping, mtr, ss, nc and tcpdump

  • Fix DNS failures by reading resolvectl and per-link resolver settings

  • Build a default-deny firewall with UFW, including admin-only SSH and rate limiting

  • Read UFW logs and trace blocked traffic to the rule responsible

  • Create and verify LACP (802.3ad) bonds and test NIC failover

  • Configure primary and backup default gateways with route metrics

  • Audit exposed services with ss and nmap and close unneeded ports

  • Document and hand over a hardened server using ready-made templates

Requirements

  • Basic comfort with the Linux terminal (cd, ls, nano or vim)

  • A free VM (VirtualBox, VMware, Proxmox or KVM) running Ubuntu 22.04 or 24.04, ideally with two virtual NICs

  • No prior networking or firewall experience required

Final project
Build a hardened two-NIC Ubuntu server with a static IP, an LACP bond (or active-backup in a VM), primary and backup default gateways, custom DNS, and UFW allowing admin-only SSH plus one public web port. You then break three things on purpose, fix them with the diagnosis ladder, and submit your final YAML and ufw status output as proof. Six downloadable PDFs are included: scripts and templates, cheat sheet, FAQ, swipe file, action plan worksheet and lab workbook.

Who this course is for:

  • Linux sysadmins, DevOps engineers, cloud administrators, and IT pros who want to master production network setup, Netplan, and UFW security on Ubuntu.