From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Managing the firewall

Managing the firewall

- In this lesson, we'll talk about managing the firewall. Ubuntu uses the Uncomplicated Firewall as a default firewall configuration. And on Ubuntu Desktop, it's disabled by default. If you want to use it, you can start by using sudo ufw status to show current configuration, and sudo ufw enable to enable it. Next, you can use sudo ufw app list for a list of firewall applications, and let me just show you how it works. So, let me start by checking ufw status. And as you can see, it's inactive. And if you don't like that, well, we are going to start by doing an enable. And now I can use sudo ufw app list, which is listing a couple of applications, which are a complete profile that open multiple ports. So, I am going to use sudo app install openssh-server to install the ssh server, which allows me to remotely access this Ubuntu machine. Now, that's not obvious that you want to do that, because don't forget, this is a desktop system, but what happens if you use this ufw app list again? As…

Contents