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!

How to clear blocked ips in iptables from the node

Discussion in 'General Discussion' started by Ahmed Hany, Apr 20, 2016.

  1. Ahmed Hany

    Ahmed Hany Member

    Joined:
    Apr 8, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a list of blocked vps's for my clients they can't access the ssh from the putty terminal i think i have blocked their ips from the main node

    can any one help me i suffered from searching online
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Ahmed Hany likes this.
  3. Ahmed Hany

    Ahmed Hany Member

    Joined:
    Apr 8, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    Hi Michael,

    This tip doesn't work with me i want to delete all blocked ips through the main node can you please tell me which command should i use since i'm using cpanel/WHM for some vps servers and i'm afraid of blocking more ips
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you elaborate further on how you are attempting to unblock the IP addresses? For instance, are you referring to the VPS hardware node that's purely on the CentOS environment? Are you seeking a way to do this outside of the command line?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Ahmed Hany likes this.
  5. Ahmed Hany

    Ahmed Hany Member

    Joined:
    Apr 8, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    That's right michael i'm seeking a way to find a command that will help me to remove all ips that i have added to iptables i'm using centos on my node
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you elaborate on which part of the URL referenced in my earlier post is not working? You should be able to use those instructions to find and remove IP addresses blocked through iptables.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Ahmed Hany

    Ahmed Hany Member

    Joined:
    Apr 8, 2016
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    I have tried to follow instructions from this link i have followed all possible solutions there but nothing removed from the blocked list
    cyberciti.biz/faq/linux-howto-check-ip-blocked-against-iptables/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #7 Ahmed Hany, May 4, 2016
    Last edited by a moderator: May 4, 2016
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Could you provide an example of the output you are looking at that shows blocked IP addresses?

    Thank you.
     
    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