Exam EX200 All QuestionsBrowse all questions from this exam
Question 75

SIMULATION -

The firewall must be open.

    Correct Answer:

    To ensure that the firewall is open and properly configured, start the iptables service, then flush and delete any current rules, and finally save the configuration and enable iptables to start at boot. Here are the steps: 1) Start the iptables service using `/etc/init.d/iptables start`. 2) Flush all current rules with `iptables -F`. 3) Delete any user-defined chains with `iptables -X`. 4) Zero all packet and byte counters in all chains with `iptables -Z`. 5) Save the new configuration using `/etc/init.d/iptables save`. 6) Enable iptables to start at boot with `chkconfig iptables on`.

Discussion
Jojo02

if not installed: yum install -y firewalld else: systemctl enable --now firewalld.service firewall-cmd --state

Sz0p3n

systemctl disable --now firewalld.service firewall-cmd --state

markeloff23

Firewall must be open... Disable o enable?

ly01

in my ignorance "must be open" -> "must be installed but not block anything" sudo firewall-cmd --set-default-zone=trusted sudo firewall-cmd --reload sudo firewall-cmd --list-all