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.

after every reboot, IPTables denied all visitors

Discussion in 'General Discussion' started by basketmen, Apr 23, 2014.

  1. basketmen

    basketmen Well-Known Member

    Joined:
    Sep 9, 2010
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    Hi guys,

    i am using vps with WHM/cPanel

    after every reboot, IPTables denied all visitors, including me

    so i cant access the sites, whm, cpanel, ftp, or ssh at all
    so i need to create webhosting support ticket to help disable IPTables from they side, everytime after rebooted


    this just suddenly hapenned in the last 7 days, as i remember no settings i changed before


    please help guys, how to fix this


    nb.
    - i already change my ip address, still same, the IPTables denied all visitors
    - i already tried uninstall csf firewall, but still same, looks like this is IPTables from linux/whm, not from csf firewall?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    671
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You may want to reinstall CSF so that it will manage your firewall rules. Otherwise, you can empty the rules and save the empty firewall ruleset via:

    Code:
    iptables -F
    /etc/init.d/iptables save
    
    However, ensure you only use the above commands if CSF is not installed. Using the above commands with CSF installed will result in your system failing to respond.

    Thank you.
     
Loading...

Share This Page