I have setuped my RPI following the post Sharing the Pi's WiFi connection through the Ethernet port
I want to be able to have to source ip, source port, source mac, dest ip, dest port logged by iptables
I already add the command : iptables -A FORWARD -p tcp --syn -j LOG --log-prefix "iptables: "
and create a rule for syslog touch /etc/rsyslog.d/10-iptables.conf nano /etc/rsyslog.d/10-iptables.conf :msg, contains, "iptables: " -/var/log/iptables.log & ~
but my /var/log/iptables.log is still empty thx in advance
/etc/rsyslog.conf
(it sounds like you are just using the stock version), and/etc/systemd/journald.conf
(there is a relationship between them as the log stream is provided by journald). – goldilocks Dec 17 '19 at 14:37