• 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

Issue Firewall blocks port 22 with "Allow" rule

WhiteTiger

Basic Pleskian
Server operating system version
Ubuntu 22.04.1 LTS
Plesk version and microupdate number
18.0.50
Although the firewall has rules for port 22 "Allow incoming from all" I don't have access to SSH with putty.
If I disable the firewall, access is allowed instead.
This is the screenshot.
Firewall-Plesk.png
 
Did you check if your IP address is banned fail2ban? If not, what's the output of the iptables -L INPUT command after you've enabled the firewall?
 
Did you check if your IP address is banned fail2ban? If not, what's the output of the iptables -L INPUT command after you've enabled the firewall?
My problem is with the firewall, not with Failban.
However, I have no Banned IP and my static IP is in Trusted IP.

Obviously with the firewall activated I can't run the command because I can't access the server.
I ran it on the console of the VPS, but I can't copy its contents there.
This is a screenshot.

Iptables-Plesk.png
 
It's a really strange thing.
Last night I created two VPS by setting them up at the same time using the same commands on both putty sessions.
Everything worked without errors and I finally shut down both.
This morning, I turn them back on, one works and the other doesn't.

Maybe it's better if I reset the VPS and install it again.

Thanks anyway.
 
Back
Top