From the course: Red Hat Enterprise Linux 8 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Configure firewalld
From the course: Red Hat Enterprise Linux 8 Essential Training
Configure firewalld
- [Instructor] Type into a terminal, "sudo", space, "netstat", space, "-at" and hit enter. Type in your password if prompted. Here, we can see that the iscsi target is listening. If you want to see the port numbers listing on, add "-n" to "netstat". So bring your line back and make the options "-ant" and hit enter. We can see that it's port 3260. To allow traffic for port 3260, we'll add the iscsi target service to our firewall rules. Type in "clear", type in "sudo", space, "firewall-cmd", space, "--permanent", space "--add-service", space, "iscsi-target" and hit enter. If you're using Enterprise Linux 7.1 or older, this service doesn't exist and you'll need to specify the port directly. Now we need to reload the firewall rules for this to take effect. Type in "sudo", space, "firewall-cmd", space, "--reload" and hit enter. Now we should be ready to connect our initiator to our target.
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
-
-
-
-
-
(Locked)
iSCSI target introduction19s
-
(Locked)
Install and configure packages2m 50s
-
(Locked)
Create an iSCSI backstore3m 26s
-
Create iSCSI target2m 43s
-
(Locked)
Create an iSCSI LUN1m 31s
-
(Locked)
Create access control3m 20s
-
(Locked)
Configure firewalld58s
-
(Locked)
Create an iSCSI initiator5m 54s
-
(Locked)
Mount target automatically4m 8s
-
(Locked)
Challenge: iSCSI target and initiator43s
-
(Locked)
Solution: iSCSI target and initiator8m 27s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-