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!

problem with login to whm or cpanel

Discussion in 'General Discussion' started by assassin85, Nov 14, 2008.

  1. assassin85

    assassin85 Active Member

    Joined:
    Jul 24, 2007
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    51
    hello,

    i have a problem with my box .. after i reboot the server the login to whm or cpanel didn't work ... everytime i must use this command


    Code:
    /etc/rc.d/init.d/iptables stop
    then the logins work successfully

    so .. what's the problem with the iptables with me?
     
  2. MMarko

    MMarko Well-Known Member

    Joined:
    Apr 18, 2005
    Messages:
    316
    Likes Received:
    0
    Trophy Points:
    166
    iptables is blocking cPanel and WHM ports, install csf and it will make rules for iptables which will enable these ports
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. assassin85

    assassin85 Active Member

    Joined:
    Jul 24, 2007
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    51
    how about thoes commands

    Code:
    /sbin/iptables -A VZ_INPUT -p tcp -m tcp --dport 2082 -j ACCEPT
    /sbin/iptables -A VZ_INPUT -p tcp -m tcp --dport 2083 -j ACCEPT
    /sbin/iptables -A VZ_INPUT -p tcp -m tcp --dport 2086 -j ACCEPT
    /sbin/iptables -A VZ_INPUT -p tcp -m tcp --dport 2087 -j ACCEPT
    /sbin/iptables -A VZ_INPUT -p tcp -m tcp --dport 2095 -j ACCEPT
    /sbin/iptables -A VZ_INPUT -p tcp -m tcp --dport 2096 -j ACCEPT
    
    these commands for Virtuozzo server if for deteciated servers modify those commands to

    Code:
    /sbin/iptables -A INPUT -p tcp -m tcp --dport 2082 -j ACCEPT
    /sbin/iptables -A INPUT -p tcp -m tcp --dport 2083 -j ACCEPT
    /sbin/iptables -A INPUT -p tcp -m tcp --dport 2086 -j ACCEPT
    /sbin/iptables -A INPUT -p tcp -m tcp --dport 2087 -j ACCEPT
    /sbin/iptables -A INPUT -p tcp -m tcp --dport 2095 -j ACCEPT
    /sbin/iptables -A INPUT -p tcp -m tcp --dport 2096 -j ACCEPT
    
     
    #3 assassin85, Nov 14, 2008
    Last edited: Nov 14, 2008
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