• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Question Customized firewall rules and fail2ban jail

OnsEns

New Pleskian
I find the firewall rules names quite confusing. For example, the name of SMPT: SMTP (mail sending) server. Does this mean the smtp ports 25 and 465? I want to create my own custom rules and have some screenshots with settings below. Are these the correct settings?

This is the image of SMTP port 25:

custom_smtp_port_25.png

This is the image of SMTP port 465:

custom_smtp_port_465.png

And is it possible to open both ports in one firewall rule?

custom_smtp_port_25_465.png

I'm also using Fail2Ban and it seems to me that I need to modify the plesk-postfix jail as well. Below the standard jail and the modified jail:

plesk_postfix_default.png

plesk_postfix_customized.png

Will this work?
Thanks in advance !
 
Back
Top