Okay so, I was doing some reading up on blocking IPs from SSH access... And I think I "over did it".
I can access WHM and cPanel just fine. I seen there was an IP that logged into SSH, so I blocked that IP (No, it wasn't my IP). But when I ran this script, now I cant access SSH or FTP at all.
I ran the following:
And since I did that, now I cant access SSH or FTP at all (I used the IP that I seen that had accessed the server via SSH).
Is there something in WHM that I can use to "unlock" what I did?
I can access WHM and cPanel just fine. I seen there was an IP that logged into SSH, so I blocked that IP (No, it wasn't my IP). But when I ran this script, now I cant access SSH or FTP at all.
I ran the following:
Code:
iptables -I INPUT 1 -p tcp -m tcp -s 123.123.123.123 --dport ssh -j ACCEPT
iptables -I INPUT 2 -p tcp -m tcp --dport ssh -j DROP
Is there something in WHM that I can use to "unlock" what I did?