{"id":1,"date":"2021-11-11T06:43:50","date_gmt":"2021-11-11T06:43:50","guid":{"rendered":"http:\/\/localhost\/2\/wp\/?p=1"},"modified":"2025-11-03T17:26:05","modified_gmt":"2025-11-03T11:56:05","slug":"how-to-install-csf-on-hestia-cp-config-firewall","status":"publish","type":"post","link":"https:\/\/vvcares.com\/blog\/how-to-install-csf-on-hestia-cp-config-firewall\/","title":{"rendered":"How to install CSF on Hestiacp web ui [config firewall]"},"content":{"rendered":"\r\n<h3>1. How To Install HestiaCP Free Panel:<\/h3>\r\n<pre><code>wget https:\/\/raw.githubusercontent.com\/hestiacp\/hestiacp\/release\/install\/hst-install.sh<\/code><br \/><code>bash hst-install.sh --force<\/code><\/pre>\r\n<p>Ref: <a href=\"https:\/\/forum.hestiacp.com\/t\/how-to-csf-support-in-hestia-cp\/227\">Hestia Control Panel (hestiacp.com)<\/a><\/p>\r\n<p><strong><em><span style=\"color: #b8312f;\">CAUTION:<\/span><span style=\"color: #b8312f;\">\u00a0<\/span><\/em><\/strong>Check &amp; understand the scripts before you proceed.<\/p>\r\n<h3>2. How To Install CSF into UBUNTU + HestiaCP Web UI: (Auto Installer)<\/h3>\r\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-760 size-full\" src=\"http:\/\/vvcares.com\/blog\/wp-content\/uploads\/2021\/11\/csf-firewall-ui.webp\" alt=\"CSF Web UI - Customised\" width=\"1276\" height=\"360\" srcset=\"https:\/\/vvcares.com\/blog\/wp-content\/uploads\/2021\/11\/csf-firewall-ui.webp 1276w, https:\/\/vvcares.com\/blog\/wp-content\/uploads\/2021\/11\/csf-firewall-ui-300x85.webp 300w, https:\/\/vvcares.com\/blog\/wp-content\/uploads\/2021\/11\/csf-firewall-ui-1024x289.webp 1024w, https:\/\/vvcares.com\/blog\/wp-content\/uploads\/2021\/11\/csf-firewall-ui-768x217.webp 768w\" sizes=\"auto, (max-width: 1276px) 100vw, 1276px\" \/><\/p>\r\n<blockquote>\r\n<p><span style=\"color: #800080;\">** IMPORTANT NOTE :<\/span>\u00a0This script using Active-Community-Scripts from <a href=\"https:\/\/github.com\/Aetherinox\/csf-firewall\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/Aetherinox\/csf-firewall<\/a><\/p>\r\n<\/blockquote>\r\n<p>CSF (ConfigServer Security &amp; Firewall) is a commonly used firewall for Linux servers. It provides an easy-to-use interface for managing firewall rules and can help improve the security of your server.<\/p>\r\n<p>Just run this below command as ROOT user from your linux terminal. (Tested with HestiaCP v1.7.3 &amp; Ubuntu 20.x)<\/p>\r\n<pre><code>rm -f hestia_csf_install.sh* &amp;&amp; wget -q https:\/\/raw.githubusercontent.com\/vvcares\/hestia\/master\/hestia_csf_install.sh &amp;&amp; bash hestia_csf_install.sh<br \/><\/code><\/pre>\r\n<p><span style=\"text-decoration: underline;\">The above command will do as below:<\/span><\/p>\r\n<ol>\r\n<li><em>Download the script from <a href=\"https:\/\/github.com\/vvcares\/hestia\">vvcares-github<\/a> repo (Updated on 02Nov2025)<\/em><\/li>\r\n<li><em>It will check if there is an existing CSF installation in &#8216;\/etc\/csf\/&#8217;.<\/em><\/li>\r\n<li><em><span style=\"text-decoration: underline;\">If exists<\/span>, it will proceed to Step#5<\/em><\/li>\r\n<li><em><span style=\"text-decoration: underline;\">If not exist<\/span>, it will install fresh\/new CSF firewall<\/em><\/li>\r\n<li><em>It will automatically add the hestiacp backend port into &#8216;<span style=\"text-decoration: underline;\">CSF.CONF &gt; TCP_IN&#8217;<\/span><\/em><\/li>\r\n<li>Create an additional folder called &#8216;csf folder&#8217; inside &#8216;\/usr\/local\/hestia\/web\/list\/&#8217;<\/li>\r\n<li><em>Add the CSF link button into your &#8216;hestiacp panel &gt; in main <span style=\"text-decoration: underline;\">admin<\/span> dashboard only&#8217; &amp; Exit.<\/em><\/li>\r\n<\/ol>\r\n<p>It is important to note that CSF should not be your only line of defense for securing your server. You should also follow best practices for server security, such as keeping your server software up-to-date, using strong passwords, and limiting access to only necessary users and services.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>1. How To Install HestiaCP Free Panel: wget https:\/\/raw.githubusercontent.com\/hestiacp\/hestiacp\/release\/install\/hst-install.shbash hst-install.sh &#8211;force Ref: Hestia Control Panel (hestiacp.com) CAUTION:\u00a0Check &amp; understand the scripts before you proceed. 2. How To Install CSF into UBUNTU + HestiaCP Web UI: (Auto Installer) ** IMPORTANT NOTE :\u00a0This script using Active-Community-Scripts from https:\/\/github.com\/Aetherinox\/csf-firewall CSF (ConfigServer Security &amp; Firewall) is a commonly used [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":79,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,1,4],"tags":[25],"class_list":["post-1","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-ubuntu","category-servers","category-softwares","tag-hestiacp"],"_links":{"self":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":10,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions\/763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/media\/79"}],"wp:attachment":[{"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vvcares.com\/blog\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}