Check firewall on CentOS
$ su -Password:
# iptables -L
--OR--
# service iptables status
# service iptables stop
# service iptables start
Check firewall on CentOS 7
Disable FirewalldTo disable firewalld, run the following command as root:
# systemctl disable firewalld
Stop Firewalld
To stop firewalld, run the following command as root:
# systemctl stop firewalld
To stop firewalld, run the following command as root:
# systemctl stop firewalld
Check the Status of Firewalld
And finally, to check the status of firewalld, run the following command as root:
# systemctl status firewalld
No comments:
Post a Comment