I would like to install PSAD on a debian server to detect port scans. I found the following guide:
At the end of the installation tutorial there is an update for iptables. I use UFW, and I don't know if I can update iptables, or if I should use a special rule or configuration for UFW.
It has the following rules for iptables
iptables -A INPUT -j LOG
iptables -A FORWARD -j LOG
How can I configure UFW to do this?