Enable ufw logging
enable ufw logging | ufw log blocked packets | ufw logging levels | ufw | firewall | loggingCaution: This command changes the system. Understand what it does before you run it.
ufw logging lowSets the ufw logging level: off, low, medium, high or full. At low, blocked packets that match no rule are logged, while the higher levels produce many more entries. The messages carry the prefix [UFW BLOCK] and go to the kernel log, and with rsyslog also to /var/log/ufw.log.
Note: medium and higher can make the log grow very quickly on heavily attacked servers.
Also searched as
- enable ufw logging
- ufw log blocked packets
- ufw logging levels