From Fedora Project Wiki

Revision as of 18:28, 15 March 2012 by Twoerner (talk | contribs) (Created page with "=Description= This is the test case to check if firewalld is able to start and if the firewall setup is working. =How to test= 1. Start firewalld systemctl start firewalld....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

This is the test case to check if firewalld is able to start and if the firewall setup is working.

How to test

1. Start firewalld

 systemctl start firewalld.service

2. Check if it is up and running

 systemctl status firewalld.service

3. Check if the firewall command line tool 'firewall-cmd' is able to connect to the firewall daemon

 firewall-cmd --state && echo "running"

The result should be running

4. Check if zones are set up

 iptables-save | grep ZONE | wc -l
 ip6tables-save | grep ZONE | wc -l

The output of both command should not be null.