• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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