Firewall Setup on Ubuntu: Secure Your Server with UFW @TonyTeachesTech
Firewall Setup on Ubuntu: Secure Your Server with UFW  @TonyTeachesTech
Uploaded May 2025 | Updated December 2026, 3 hours ago
Protect your Ubuntu server from unwanted traffic by setting up a firewall with UFW — the Uncomplicated Firewall. In this beginner-friendly guide, you’ll learn how to allow only connections — like SSH (port 22), HTTP (port 80), and HTTPS (port 443) — while blocking everything else. Whether you're hosting your website on a VPS or a local server, securing it with a firewall is an essential step you can complete in just minutes.

⏩ Watch next (SSH security): youtu.be/8ugcUTNoGj4
⏪ Watch previous (domain + SSL): youtu.be/Pv9Nwwx_P3Y
📺 Full Playlist – Deploy & Secure Your VPS Website: youtube.com/playlist?list=PL_vyuxE-AO-CuU7E2KfT2bDwVL63v28JZ

What You’ll Learn
✅ Install and enable UFW
✅ Allow SSH, HTTP, and HTTPS traffic
✅ Block all other unwanted traffic automatically
✅ Verify firewall rules works

⏱️ Chapters
00:00 Why a firewall is important
00:20 Demo open port with netcat
01:03 Install UFW
01:29 Allow SSH
02:31 Enable the firewall
03:28 Allow HTTP and HTTPS
04:37 Verify blocked port
Firewall Setup on Ubuntu: Secure Your Server with UFWHow to Easily Recover a DigitalOcean Droplet After You Get Locked OutSecure Your Domain Name Before Its Too LateWhere the Heck Are Microsoft Azure Data Centers Actually Located?How to Get a Free Google Voice Phone NumberI Load Tested a Website with 30,000 requests/minMy Web Hosting Was Hacked (it was 100% my fault)How to Speed Up WordPress (6× Faster, Step by Step)How to Make a Website with Python (Django hello world tutorial)How to Buy a Domain Name (Step-by-Step for Beginners)How to Set Up Your Website Using Dynadot’s FREE Hosting10 Ways to Try Rocky Linux Right Now (on a VPS)
Tony Teaches Tech |

Firewall Setup on Ubuntu: Secure Your Server with UFW

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER