Which of the following command is used to enable logging in iptables?

Posted by: Pdfprep Category: 312-39 Tags: , ,

Which of the following command is used to enable logging in iptables?
A . $ iptables -B INPUT -j LOG
B . $ iptables -A OUTPUT -j LOG
C . $ iptables -A INPUT -j LOG
D . $ iptables -B OUTPUT -j LOG

Answer: B

Explanation:

Reference: https://tecadmin.net/enable-logging-in-iptables-on-linux/

Leave a Reply

Your email address will not be published.