From the course: Linux System Engineer: iSCSI Storage Area Networks

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure Firewalld

Configure Firewalld

From the course: Linux System Engineer: iSCSI Storage Area Networks

Start my 1-month free trial

Configure Firewalld

- [Instructor] Before our target is fully functional, we'll need to allow traffic through the firewall. Let's make sure our target service is answering on port 3260 first. We'll use netstat for this. Type into a terminal sudo space netstat space dash at, and hit enter. Type in your password if prompted. Here we can see that the iSCSI target is listening. If we want to see the port number it's listening on, add dash n to netstat. So bring your line back and make the options dash ant and hit enter. We can see that it's port 3260. To allow traffic for port 3260, we will add the iSCSI target service to our firewall rules. Type in clear, type in sudo space firewall dash cmd space dash dash permanent space dash dash add dash service space iSCSI dash 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 dash cmd…

Contents