Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 182185

PMG 7/Debian 11 with fail2ban

$
0
0
If you enable PMG's webUI access from the public internet, you may notice alot of authentication failure in /var/log/daemon.log.
Setup fail2ban to block/ban suspicious authentication failure attempts.

Code:
Sep 13 11:39:00 pmg pmgdaemon[32409]: authentication failure; rhost=::ffff:183.253.84.171 user=root@pam msg=auth failed: Authentication failure

1. Install fail2ban

Code:
apt-get install fail2ban

2. Edit /etc/fail2ban/jail.d/defaults-debian.conf with below...

Read more

Viewing all articles
Browse latest Browse all 182185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>