{"id":14451,"date":"2024-10-04T07:11:28","date_gmt":"2024-10-04T07:11:28","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=14451"},"modified":"2024-10-04T11:24:16","modified_gmt":"2024-10-04T11:24:16","password":"","slug":"how-to-enable-csf-firewall-on-cwp","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/","title":{"rendered":"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP)"},"content":{"rendered":"\n<p><strong>ConfigServer Security &amp; Firewall (CSF)<\/strong> is a powerful firewall application that helps secure your server from unauthorized access and attacks. In <strong>CWP (CentOS Web Panel)<\/strong>, you can easily install, enable, and manage CSF to safeguard your server.<\/p>\n\n\n\n<p>If CSF is not installed or is disabled, you will see the CSF Status as Off, on the landing page of CWP, as shown below;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"448\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png\" alt=\"\" class=\"wp-image-14500\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png 686w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111-300x196.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>CWP (CentOS Web Panel)<\/strong> installed on your server.<\/li>\n\n\n\n<li><strong>Root access<\/strong> to your CWP server.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 1: Log in to the CWP Admin Panel<\/strong> using <strong><a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-cwp-main-whm-panel\/\">these steps<\/a><\/strong>.<\/h5>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 2: Install CSF Firewall<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If CSF Firewall is not already installed, follow these steps to install it.\n<ul class=\"wp-block-list\">\n<li>From the left-hand menu, go to <strong>Security<\/strong>.<\/li>\n\n\n\n<li>Click on <strong>CSF Firewall<\/strong>.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"388\" height=\"544\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-110.png\" alt=\"\" class=\"wp-image-14499\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-110.png 388w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-110-214x300.png 214w\" sizes=\"auto, (max-width: 388px) 100vw, 388px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If CSF is not installed, you will see an option to <strong>Install CSF<\/strong>. Click on the button to begin the installation<\/li>\n\n\n\n<li>Wait for the installation to complete. Once it&#8217;s installed, the page will refresh, and you&#8217;ll be able to manage CSF settings.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 3: Enable CSF and LFD (Login Failure Daemon)<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once CSF is installed, follow these steps to enable it:<\/li>\n\n\n\n<li>Navigate to <strong>Security > CSF Firewall<\/strong>.<\/li>\n\n\n\n<li>On the <strong>CSF Configuration<\/strong> page, scroll down to find a button labled <strong>Firewall<\/strong> <strong>Enable <\/strong>and click o it to enable the firewall.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"882\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-112.png\" alt=\"\" class=\"wp-image-14501\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-112.png 769w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-112-262x300.png 262w\" sizes=\"auto, (max-width: 769px) 100vw, 769px\" \/><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 4: Configure CSF Firewall Settings<\/strong><\/h5>\n\n\n\n<p>After enabling CSF, you can configure specific firewall rules based on your needs:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to <strong>Security > CSF Firewall<\/strong>. You will various tabs and buttons\n<ul class=\"wp-block-list\">\n<li><strong>Firewall Configuration<\/strong>: Allows you to modify CSF firewall settings such as port configuration, IP blocking, and more.<\/li>\n\n\n\n<li><strong>CSF Allow\/Deny IP<\/strong>: Lets you add or remove IP addresses from the allow\/deny list.<\/li>\n\n\n\n<li><strong>Advanced Settings<\/strong>: Provides more granular control over CSF behavior and security measures.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"755\" height=\"807\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-114.png\" alt=\"This image has an empty alt attribute; its file name is image-113.png\" class=\"wp-image-14503\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-114.png 755w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-114-281x300.png 281w\" sizes=\"auto, (max-width: 755px) 100vw, 755px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For basic configuration, start with <strong>Firewall Configuration<\/strong> to define which ports should be open or closed. Common ports you might want to open include:\n<ul class=\"wp-block-list\">\n<li><strong>Port 22<\/strong> for SSH<\/li>\n\n\n\n<li><strong>Port 80<\/strong> for HTTP<\/li>\n\n\n\n<li><strong>Port 443<\/strong> for HTTPS<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>To open or close a port, scroll to the section titled <strong>TCP_IN<\/strong> (incoming ports) and <strong>TCP_OUT<\/strong> (outgoing ports). Enter the port numbers separated by commas (e.g., <code>22,80,443<\/code>).<\/li>\n\n\n\n<li>Click <strong>Save Changes<\/strong> once you&#8217;ve made your adjustments.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"952\" height=\"917\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-115.png\" alt=\"\" class=\"wp-image-14504\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-115.png 952w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-115-300x289.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-115-768x740.png 768w\" sizes=\"auto, (max-width: 952px) 100vw, 952px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Once the changes are saved, the system will automatically restart CSF and LFD services, to apply your changes<\/li>\n\n\n\n<li>You can also access the server<strong> <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-a-server-via-ssh-terminal\/\">via SSH<\/a><\/strong> and restart csf using this command <\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>csf -r<\/code><\/pre>\n\n\n\n<p><strong>Step 5: Testing CSF Firewall<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can also access the server<strong> <a href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-access-a-server-via-ssh-terminal\/\">via SSH<\/a><\/strong> and check the status of the firewall by running the following command from the terminal:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status csf<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"844\" height=\"369\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-116.png\" alt=\"\" class=\"wp-image-14505\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-116.png 844w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-116-300x131.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-116-768x336.png 768w\" sizes=\"auto, (max-width: 844px) 100vw, 844px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You should also confirm that your services, such as SSH, HTTP, and HTTPS, are still accessible after enabling the firewall. Test by accessing your server&#8217;s IP and verifying that it&#8217;s functioning as expected.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Step 6: Managing CSF via CWP<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can manage CSF through the CWP panel or directly via the terminal. Some basic commands for managing CSF from the terminal include:\n<ul class=\"wp-block-list\">\n<li><strong>Enable<\/strong>: csf -e<\/li>\n\n\n\n<li><strong>Disable:<\/strong> csf  -x<\/li>\n\n\n\n<li><strong>Restart CSF<\/strong>: csf -r<\/li>\n\n\n\n<li><strong>Check Status<\/strong>:  systemctl status csf<\/li>\n\n\n\n<li><strong>Start the firewall rules<\/strong><\/li>\n\n\n\n<li><strong>Flush\/Stop firewall rules<\/strong>:  csf -f<\/li>\n\n\n\n<li><strong>Allow an IP<\/strong>: csf -a <em>ip<\/em><\/li>\n\n\n\n<li><strong>Add IP to the temporary deny list<\/strong>: csf -td<\/li>\n\n\n\n<li><strong>Remove IP from temporary ban or whitelist<\/strong>: csf -tr <em>ip<\/em><\/li>\n\n\n\n<li><strong>Delete all IPs from temporary IP entries<\/strong>:  csf -tf<\/li>\n\n\n\n<li><strong>Ban ban IP<\/strong> <strong>(add to \/etc\/csf\/csf.deny)<\/strong>: csf -d <em>ip<\/em><\/li>\n\n\n\n<li><strong>Unblock blocked IP:<\/strong> csf -dr <strong>ip<\/strong><\/li>\n\n\n\n<li><strong>Unblock all IPs in \/etc\/csf\/csf.deny<\/strong>: csf -dr<\/li>\n\n\n\n<li><strong>Search the iptables and ip6tables rules for a match (eg IP, CIDR, Port Number)<\/strong>: csf -g <em>option<\/em><\/li>\n\n\n\n<li><strong>Display a current list of temporary IPs that allow and deny TTLs and comments<\/strong>:  csf -t<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ConfigServer Security &amp; Firewall (CSF) is a powerful firewall application that helps secure your server from unauthorized access and attacks. In CWP (CentOS Web Panel), you can easily install, enable, and manage CSF to safeguard your server. If CSF is not installed or is disabled, you will see the CSF Status as Off, on the [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1820,2120,1824,1835,1879,2128],"doc_tag":[],"class_list":["post-14451","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-cwp-panel","doc_category-dedicated-servers","doc_category-security","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-06","word_count":593,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cloud servers in Kenya","term_url":"https:\/\/truehost.com\/support\/docs-category\/cloud-servers-in-kenya\/"},{"term_name":"CWP Panel","term_url":"https:\/\/truehost.com\/support\/docs-category\/cwp-panel\/"},{"term_name":"dedicated servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/dedicated-servers\/"},{"term_name":"Security","term_url":"https:\/\/truehost.com\/support\/docs-category\/security\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"},{"term_name":"VPS-Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/vps-servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install and Enable CSF Firewall on CentOS Web Panel (CWP) -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP) -\" \/>\n<meta property=\"og:description\" content=\"ConfigServer Security &amp; Firewall (CSF) is a powerful firewall application that helps secure your server from unauthorized access and attacks. In CWP (CentOS Web Panel), you can easily install, enable, and manage CSF to safeguard your server. If CSF is not installed or is disabled, you will see the CSF Status as Off, on the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-04T11:24:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/\",\"name\":\"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP) -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-111.png\",\"datePublished\":\"2024-10-04T07:11:28+00:00\",\"dateModified\":\"2024-10-04T11:24:16+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-111.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/10\\\/image-111.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-enable-csf-firewall-on-cwp\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/www.truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP) -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP) -","og_description":"ConfigServer Security &amp; Firewall (CSF) is a powerful firewall application that helps secure your server from unauthorized access and attacks. In CWP (CentOS Web Panel), you can easily install, enable, and manage CSF to safeguard your server. If CSF is not installed or is disabled, you will see the CSF Status as Off, on the [&hellip;]","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/","article_modified_time":"2024-10-04T11:24:16+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/","name":"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP) -","isPartOf":{"@id":"https:\/\/www.truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png","datePublished":"2024-10-04T07:11:28+00:00","dateModified":"2024-10-04T11:24:16+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/10\/image-111.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-enable-csf-firewall-on-cwp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install and Enable CSF Firewall on CentOS Web Panel (CWP)"}]},{"@type":"WebSite","@id":"https:\/\/www.truehost.com\/support\/#website","url":"https:\/\/www.truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/www.truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/www.truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/www.truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=14451"}],"version-history":[{"count":3,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14451\/revisions"}],"predecessor-version":[{"id":14506,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/14451\/revisions\/14506"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=14451"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=14451"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=14451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}