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 - Linux Tutorial
From the course: Complete Guide to Navigating Linux: Working with Users, Files, and Networks
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
-
-
-
-
-
-
(Locked)
Learning objectives35s
-
(Locked)
Viewing network interfaces3m 10s
-
DNS and name resolution2m 55s
-
(Locked)
Testing network connectivity4m 3s
-
(Locked)
Checking local and remote services3m 59s
-
(Locked)
Managing the firewall2m
-
(Locked)
Managing the boot procedure4m 10s
-
(Locked)
Essential troubleshooting: Recovering the root password1m 16s
-
(Locked)
Command overview45s
-
(Locked)
Lesson 4 lab: Managing networking and services25s
-
(Locked)
Lesson 4 lab solution: Managing networking and services2m 54s
-
(Locked)
-