Article 6DX1X Where is iptables log?

Where is iptables log?

by
Jason.nix
from LinuxQuestions.org on (#6DX1X)
Hello,
I don't know how can I see the firewall log? For example, I want to see the all input attempts.
The new version of Debian has not any /var/log/kern.log file. I guess that I must use the journalctl utility.
Please consider the following iptables rule:
Code:iptables -A INPUT -j LOG --log-prefix='[netfilter]'If any login attempts have occurred from any port, then the following command must show it:
Code:# journalctl -k | grep netfilterAm I right?

Thank you.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments