Mark_CFH

Well-Known Member
Apr 2, 2013
64
0
6
cPanel Access Level
Root Administrator
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:

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
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
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.
 
Thread starter Similar threads Forum Replies Date
L Security 15
J Security 4
M Security 7
H Security 4
D Security 6