Skip to main content

ConfigServer Security&Firewall

Comments

2 comments

  • cPanelMichael
    Hello :) You could try searching for the iptables rule directly. EX: iptables -L INPUT -n --line-numbers | grep 1.1.1.1
    Then, delete the line number associated with the block. EX: iptables -D INPUT 2
    Please note that CSF is a third-party application that is not developed by cPanel. Questions pertaining specifiably to this software may get more responses from their own support forums. Thank you.
    0
  • quizknows
    there's a command for checking CSF blocks: csf -g $IP
    This will check perm/temp bans and if i remember right, iptables rules too. You could consider a full disable/re-enable of CSF which should sync your iptables rules to the config files. csf -x && iptables --flush && csf -e
    NEVER FLUSH IPTABLES WHILE CSF IS ENABLED. You can seriously break things requiring physical access to the server to fix it. Running csf -x to disable CSF is mandatory before flushing iptables.
    0

Please sign in to leave a comment.