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.
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.