{"id":1357,"date":"2014-11-28T02:01:38","date_gmt":"2014-11-28T02:01:38","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=1357"},"modified":"2014-11-28T02:01:38","modified_gmt":"2014-11-28T02:01:38","slug":"install-csf-config-server-firewall-whm","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/11\/28\/install-csf-config-server-firewall-whm\/","title":{"rendered":"How To Install CSF (Config Server Firewall) for WHM"},"content":{"rendered":"\n<p>Login as the root user to SSH and run the following commands to install CSF:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwget https:\/\/download.configserver.com\/csf.tgz\ntar -xzf csf.tgz\ncd csf\nsh install.sh\n<\/pre><\/div>\n\n\n<p>If you would like to disable APF+BFD (which you will need to do to avoid conflicts):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsh disable_apf_bfd.sh\n<\/pre><\/div>\n\n\n<p>Now, you can then configure csf and lfd in WHM, or edit the files directly in \/etc\/csf\/*<\/p>\n\n\n\n<p>T<strong>o Configure the CSF Firewall<\/strong><\/p>\n\n\n\n<p>Go to the Home of your WHM dashboard and select the Plugins option from the navigation menu.<\/p>\n\n\n\n<p>You will see the option ConfigServer Security &amp; Firewall. Click on it.<\/p>\n\n\n\n<p>Here, you will find a variety of options to configure the ConfigServer Security &amp; Firewall application.<\/p>\n\n\n\n<p>Click on the csf tab.<\/p>\n\n\n\n<p>Scroll down a little to the csf \u2013 ConfigServer Firewall section and click on the Firewall Configuration button.<\/p>\n\n\n\n<p>Configure as needed.<\/p>\n\n\n\n<p>Disable Testing<br>Currently, your CSF application is running in the Test Mode. You have to deactivate the mode.<\/p>\n\n\n\n<p>Reaccess the csf \u2013 ConfigServer Firewall section and click the Firewall Configuration button.<br>Locate the TESTING option in the Initial Settings section.<br>Click on the Off switch.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Login as the root user to SSH and run the following commands to install CSF: If you would like to disable APF+BFD (which you will need to do to avoid conflicts): Now, you can then configure csf and lfd in WHM, or edit the files directly in \/etc\/csf\/* To Configure the CSF Firewall Go to &#8230; <a title=\"How To Install CSF (Config Server Firewall) for WHM\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/11\/28\/install-csf-config-server-firewall-whm\/\" aria-label=\"Read more about How To Install CSF (Config Server Firewall) for WHM\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,40,123],"tags":[],"class_list":["post-1357","post","type-post","status-publish","format-standard","hentry","category-cpanel","category-firewall","category-whm"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=1357"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/1357\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=1357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=1357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=1357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}