The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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:
    16
    iptables is blocking cPanel and WHM ports, install csf and it will make rules for iptables which will enable these ports
     
  3. assassin85

    assassin85 Active Member

    Joined:
    Jul 24, 2007
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    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