• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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