{"id":1741,"date":"2012-05-26T09:12:06","date_gmt":"2012-05-26T09:12:06","guid":{"rendered":"http:\/\/www.serverslot.com\/?p=1741"},"modified":"2015-01-29T20:25:17","modified_gmt":"2015-01-29T20:25:17","slug":"how-to-install-lfd-firewall-on-linux-cpanelwhm-server-through-putty-commands","status":"publish","type":"post","link":"https:\/\/serverslot.com\/hosting-issues\/how-to-install-lfd-firewall-on-linux-cpanelwhm-server-through-putty-commands\/","title":{"rendered":"How to install lfd firewall on linux Cpanel\/WHM server through putty commands"},"content":{"rendered":"<p><script type=\"text\/javascript\">\/\/ < ![CDATA[\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/ ]]><\/script><br \/>\n<script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\">\/\/ < ![CDATA[\n\n\/\/ ]]><\/script><br \/>\nBefore the installation of firewall you must check whether pearl modules are installed or not! you must login to your server as root through putty and then use below given command to check and install pearl modules<\/p>\n<p><strong>yum install -y perl-libwww-perl<\/strong><\/p>\n<p>Then downland csf from the website http:\/\/www.configserver.com through these commands<\/p>\n<p><strong>cd \/usr\/local\/src<br \/>\nwget http:\/\/www.configserver.com\/free\/csf.tgz<\/strong><\/p>\n<p>Then you must unpack files using this command<\/p>\n<p><strong>tar -zxvf csf.tgz<\/strong><\/p>\n<p>Here are the final steps of installation.<\/p>\n<p><strong>cd csf<\/strong><\/p>\n<p><strong>sh install.sh<\/strong><\/p>\n<p>Then you must clean up source install files using this command<\/p>\n<p><strong>rm -Rf \/usr\/local\/src\/csf* &amp;&amp; cd<\/strong><\/p>\n<p>If you want to backup the original CSF file then use below command<\/p>\n<p><strong>cp \/etc\/csf\/csf.conf \/etc\/csf\/csf.conf.bak<\/strong><\/p>\n<p>You can also edit the configuration files of firewall through running this command<\/p>\n<p><strong>nano -w \/etc\/csf\/csf.conf<\/strong><\/p>\n<p>Now firewall on your dedicated server is installed, you may view it on the interface of WHM\/Cpanel here Main &gt;&gt; Plugins &gt;&gt;ConfigServer Security&amp;Firewall<\/p>\n<p><script type=\"text\/javascript\">\/\/ < ![CDATA[\ngoogle_ad_client = \"ca-pub-6441688276343625\";\n\/* serverslot small horizontal *\/\ngoogle_ad_slot = \"7309259884\";\ngoogle_ad_width = 468;\ngoogle_ad_height = 60;\n\/\/ ]]><\/script><br \/>\n<script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\">\/\/ < ![CDATA[\n\n\/\/ ]]><\/script><\/p>\n<p>After installation of fire wall, it is running on test mode by default, you need to make it active by clicking on the option firewall configuration, here you will find the first option as Testing=1 do make it testing=1 then your fire wall would be active and running.<br \/>\nThen there is a time to istall csf+lfd to your server, use below command to install<\/p>\n<p><strong>cd csf<br \/>\n.\/install.sh<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Before the installation of firewall you must check whether pearl modules are installed or not! you must login to your server as root through putty \u2026 <a href=\"https:\/\/serverslot.com\/hosting-issues\/how-to-install-lfd-firewall-on-linux-cpanelwhm-server-through-putty-commands\/\">more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts\/1741"}],"collection":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/comments?post=1741"}],"version-history":[{"count":0,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/posts\/1741\/revisions"}],"wp:attachment":[{"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/media?parent=1741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/categories?post=1741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serverslot.com\/hosting-issues\/wp-json\/wp\/v2\/tags?post=1741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}