EX200 Exam QuestionsBrowse all questions from this exam

EX200 Exam - Question 75


SIMULATION -

The firewall must be open.

Show Answer
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

3 comments
Sign in to comment
Jojo02
Jul 12, 2021

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

Sz0p3n
May 26, 2021

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

markeloff23
Nov 21, 2021

Firewall must be open... Disable o enable?

ly01
Jul 13, 2024

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