RHEL check the firewall status code example
Example 1: RHEL check the firewall status
[root@rhel7 ~]# systemctl status firewalld
Example 2: RHEL check the firewall status
[root@rhel7 ~]# systemctl enable firewalld
Example 3: RHEL check the firewall status
[root@rhel7 ~]# systemctl disable firewalld