[CentOS] Stupid C7 firewall question

Gordon Messmer gordon.messmer at gmail.com
Tue Oct 23 23:34:55 UTC 2018


On 10/23/18 11:05 AM, mark wrote:
> Been looking, and haven't found the answer: in c7, is there a firewall-cmd
> command, or a systemctl cmd, to check whether ip6tables firewall is
> running


"firewall-cmd --state" will tell you if the daemon is running. If it is, 
then there should be both IPv4 and IPv6 rules.

You can use "ip6tables -L" to view the active rule set that firewalld 
has built.




More information about the CentOS mailing list