Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Unblock SSHD / SMTP

Discussion in 'Security' started by Mark_CFH, May 6, 2014.

  1. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    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?
     
  2. Mark_CFH

    Mark_CFH Well-Known Member

    Joined:
    Apr 2, 2013
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Nevermind, I fixed it by using ipmi. Sorry.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    I am happy to see you were able to resolve the issue. Thank you for updating us with the outcome.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice