Unblock SSHD / SMTP
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?
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
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?
-
Nevermind, I fixed it by using ipmi. Sorry. 0 -
[quote="Mark_CFH, post: 1638471">Nevermind, I fixed it by using ipmi. Sorry.
I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.0
Please sign in to leave a comment.
Comments
2 comments