QuestionQ134

VerifiedLog Management

Which of the following commands is used to view iptables logs on Ubuntu and Debian distributions?

Explanation

iptables LOG-target output is written to the kernel log; /var/log/kern.log is the relevant log file. Following that file displays new firewall log entries as they are written. Ubuntu’s firewall documentation specifically lists /var/log/kern.log as a location where iptables log output appears.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!