ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 352 - XK0-005 discussion

Report
Export

A Linux administrator needs to remove all local firewall rules on a Linux system. Which of the following commands should the administrator run?

A.

iptables -D

Answers
A.

iptables -D

B.

iptables -L

Answers
B.

iptables -L

C.

iptables -F

Answers
C.

iptables -F

D.

iptables -A

Answers
D.

iptables -A

Suggested answer: C

Explanation:

The iptables -F command flushes all the firewall rules, effectively removing them from the system. This command clears out all existing rules from all chains (INPUT, OUTPUT, and FORWARD), leaving the system with no active iptables rules.

asked 09/10/2024
Peter Unterasinger
42 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first