Fail2Ban for Proxmox Mail Gateway

So I want to ban valid IPs that are trying to brute force on my Proxmox Mail Gateway via SSH, SMTP and GUI
 
SMTP you can find in the search, many people tried different profiles. In my Advancing PMG Thread I just filter two cases, killmasta93 also block some more using redmail fail2ban samples. SSH is shipped in the default settings of fail2ban, you just need to activate, GUI you may find some help in the search for Proxmox VE GUI (which is technically similar). Honestly instead of banning all the script kiddies out there, I would set up a firewall and VPN and allow only connections to SSH and GUI via VPN, for SMTP as well as closing down with VPN SSH and GUI you can find all information in my Advancing PMG Thread.
 
  • Like
Reactions: killmasta93

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!