Recently had an issue in Debian where syslog was filled with unwanted info from UFW. Found that the file /etc/rsyslog.d/20-ufw.conf has # & ~ at the bottom of the file, remove the # in front of it to uncomment it and refresh rsyslog with the command /etc/init.d/rsyslog restart. Once that is done that should activate…Continue reading Suppressing UFW log messages in Debian 9 syslog
I was getting a strange error in Debian after configuring fail2ban. Mainly around the error | grep -q ‘f2b-postfix-sasl[ \t]’ — stdout: b’. While there was a bunch of errors and warning around it, it was a pretty easy fix. Within the SASL rules in fail2ban, having imap3 in the port sectionw as causing the…Continue reading Debian fail2ban iptables errors
When installing PhpMyAdmin on Debian 9, it will be accessible from any domain on the server. To serve it from a single domain remove from apache.conf in /etc/phpmyadmin. Then add the Alias line above to the domain you want to serve it from in /etc/apache2/sites-available. Restart Apache.