I have an
Alpine 3.13.5 VM
freshly installed and iptables v1.8.6 (legacy)
is working properly.
However when I try to log the packets with this command, it's not generating any:
iptables -A INPUT -j LOG
I have tried changing log levels and creating custom /etc/syslog.conf
:
user.* /var/log/user.log
kern.* /var/log/kern.log
user
logs are redirected to the proper file but there's still no kern.log
.
Same thing is working out of box on other distros such as Debian.
Asked by d9ngle
(357 rep)
May 5, 2021, 01:36 PM
Last activity: Jul 5, 2025, 09:23 PM
Last activity: Jul 5, 2025, 09:23 PM