From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Unlock the full course today
Join today to access over 23,300 courses taught by industry experts.
Manage firewalls with firewalld
From the course: Red Hat Certified System Administrator (EX200) Cert Prep: 2 File Access, Storage, and Security
Manage firewalls with firewalld
- [Instructor] In Enterprise Linux 8, the firewall administration tool is firewalld. Although the iptable service cannot be running at the same time as firewalld as they are not compatible. To make sure firewalld is running type into a terminal, sudo systemctl start firewalld and hit Enter, to make it persistent, bring your line back and change start to enable and hit Enter again. The command we use to interact with firewalld is firewall-cmd. To verify the status, let's use the --state option. Type in sudo firewall-cmd --state and hit Enter. Note that if you're editing the firewall rules remotely, you can use the --timeout= option, which will revert the rules back after the specified timeout. Anyone who has written shell scripts to do the same with iptables in the past will appreciate this feature. This is useful if your rules lock you out so you can't fix them, after the timeout expires firewalld will roll back your changes which is great for remote firewall development. Also note…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Set enforcing and permissive modes for SELinux5m 13s
-
(Locked)
List and identify SELinux file and process context3m 28s
-
(Locked)
Restore SELinux default file contexts4m 11s
-
(Locked)
Use Booleans to modify SELinux behavior2m 33s
-
(Locked)
Diagnose routine SELinux policy violations6m 57s
-
(Locked)
Maintain security context when managing files1m 6s
-
(Locked)
Manage firewalls with firewalld2m 58s
-
(Locked)
Challenge: Manage security3m 55s
-
(Locked)
Solution: Manage security6m 18s
-
-
-
-
-