{"id":13668,"date":"2021-08-20T05:11:42","date_gmt":"2021-08-20T05:11:42","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=13668"},"modified":"2026-02-27T13:04:16","modified_gmt":"2026-02-27T07:34:16","slug":"how-to-install-csf-firewall-via-whm-cpanel","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/","title":{"rendered":"How to Install CSF Firewall via WHM\/cPanel?"},"content":{"rendered":"<p>Config Server Firewall or CSF is a Stateful Packet Inspection (SPI) firewall that is a powerful and must-install application that you can install via WHM on cPanel. It works as a system for intrusion detection and a prime security application for your Linux server. As a security tool, CSF protects your server against various common threats such as brute force attacks while improving the overall server security.<\/p>\n<p>The CSF application is also available for other control panel applications to install and deploy.<\/p>\n<h2>To Install CSF Firewall<\/h2>\n<p>To install CSF on cPanel, you have to use your server&#8217;s SSH access.<\/p>\n<p>1. Log in to the WHM panel with the root account.<\/p>\n<p>2. Select the<strong> Server Configuration<\/strong> option from the navigation menu.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11806\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png\" alt=\"\" width=\"1919\" height=\"718\" \/><\/p>\n<p>3. Click on <strong>Terminal<\/strong> to open the WHM terminal window.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11807\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_terminal.png\" alt=\"\" width=\"1445\" height=\"485\" \/><\/p>\n<p>4. Copy\/enter this code in the <strong>Terminal<\/strong> window.<\/p>\n<pre class=\"lang:default decode:true\">cd \/usr\/local\/src\/\r\nwget https:\/\/download.configserver.com\/csf.tgz\r\ntar -xzf csf.tgz\r\ncd csf\r\nsh install.sh<\/pre>\n<p>WHM will run the command and automatically download the compatible version of CSF for cPanel.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12535\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_install_csf.png\" alt=\"\" width=\"1352\" height=\"437\" \/><\/p>\n<p>5. Press <strong>Enter<\/strong> to run the installation.<\/p>\n<p>The WHM panel will begin the installation process of the CSF application and display a success message for the completed installation.<\/p>\n<p>Once you install the CSF application, you will have to configure it.<\/p>\n<h2>To Configure the CSF\u00a0Firewall<\/h2>\n<p>1. Go back to the\u00a0<strong>Home<\/strong>\u00a0of your WHM dashboard and select the <strong>Plugins<\/strong> option from the navigation menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13680\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_plugins.png\" alt=\"\" width=\"1919\" height=\"865\" srcset=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_plugins.png 1919w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_plugins-300x135.png 300w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_plugins-768x346.png 768w, https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_plugins-1024x462.png 1024w\" sizes=\"auto, (max-width: 1919px) 100vw, 1919px\" \/><\/p>\n<p>2. Here, you will see the option\u00a0<strong>ConfigServer Security &amp; Firewall.<\/strong>\u00a0Click on it.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12536\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_configserver_security_firewall.png\" alt=\"\" width=\"601\" height=\"148\" \/><\/p>\n<p>Here, you will find a variety of options to\u00a0configure the <strong>ConfigServer Security &amp; Firewall\u00a0<\/strong>application.<\/p>\n<p>3. Click on the <strong>csf<\/strong> tab.<\/p>\n<p>4. Scroll down a little to the <strong>csf &#8211; ConfigServer Firewall<\/strong> section and click on the <strong>Firewall Configuration<\/strong> button.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12539\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_configserverwhm_configserver_security_firewall_csf-min.png\" alt=\"\" width=\"1371\" height=\"963\" \/><\/p>\n<p>You will find all the options for the firewall configurations. We will see a quick rundown on the important settings to get you started.<\/p>\n<blockquote>\n<h3>1. Settings for Port Filtering Configuration &#8211; IPv4 Port<\/h3>\n<p>For the IPv4 Port, you will notice these ports as open by default:<\/p>\n<ul>\n<li>TCP_IN = &#8220;20,21,22,25,53,80,110,143,443,465,587,993,995,2077,2078,2082,2083,2086,2087,2095,2096,26&#8221;<\/li>\n<li>TCP_OUT = &#8220;20,21,22,25,37,43,53,80,110,113,443,587,873,2086,2087,2089,2703&#8221;<\/li>\n<li>UDP_IN 20,21,53<\/li>\n<li>UDP_OUT 20,21,53,113,123,873,6277<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12544\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_ipv4_port.png\" alt=\"\" width=\"1364\" height=\"1061\" \/><\/p>\n<p>Once you have changed your SSH port number, add this new port on the <strong>IPv4 Port Settings<\/strong>\u00a0and\/or <strong>IPv6 Port Settings<\/strong>. You can also\u00a0add a specific port for a newly\u00a0installed application on the server from\u00a0this section.<\/p>\n<p>We recommend the users who deploy the R1soft\/Idera external backup solution to allow the inbound traffic for TCP port 1167 in the port TCP_IN section.<\/p>\n<blockquote>\n<h3>2. Activate the Syslog Monitoring<\/h3>\n<p>Scroll down to the <strong>General Settings<\/strong> section and set the\u00a0<strong>SYSLOG_CHECK<\/strong>\u00a0 to <strong>1800<\/strong>.<\/p><\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12545\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_syslog_check.png\" alt=\"\" width=\"1338\" height=\"236\" \/><\/p>\n<blockquote>\n<h3>3. Activate the Detection of Suspicious Processes<\/h3>\n<p>Scroll down to the <strong>Process Tracking<\/strong> section.<\/p>\n<ul>\n<li>Set &#8220;<strong>PT_ALL_USERS<\/strong>&#8221; to &#8220;<strong>ON<\/strong>&#8220;<\/li>\n<li>Set &#8220;<strong>PT_DELETED<\/strong>&#8221; to &#8220;<strong>ON<\/strong>&#8220;<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12549\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_pt_settings-min.png\" alt=\"\" width=\"662\" height=\"551\" \/><\/p>\n<blockquote>\n<h3>4. Activate Spam Protection and Detection of Suspicious Emails<\/h3>\n<p>With CSF, you can secure your server from spams and bulk email activity.<\/p>\n<ul>\n<li>Scroll down to the\u00a0<strong>SMTP Settings<\/strong> section.<\/li>\n<li>Switch the <strong>SMTP_BLOCK<\/strong>\u00a0to <strong>On<\/strong>.<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12551\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_smtp_settings.png\" alt=\"\" width=\"661\" height=\"295\" \/><\/p>\n<blockquote>\n<ul>\n<li>Scroll down to the <strong>Login Failure Blocking and Alerts<\/strong> section<\/li>\n<li>Locate the <strong>LF_SCRIPT_LIMIT<\/strong> and set it to <strong>250<\/strong>. It will detect the scripts sending more than 250 emails in an hour.<\/li>\n<li>Switch the <strong>LF_SCRIPT_ALERT<\/strong>\u00a0to <strong>On<\/strong>. It will alert the system administrator via email when the\u00a0<strong>LF_SCRIPT_LIMIT\u00a0<\/strong>is breached.<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12553\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_script_alert.png\" alt=\"\" width=\"645\" height=\"438\" \/><\/p>\n<blockquote>\n<h3>5. Save the Changes and Confirm the Status<\/h3>\n<ul>\n<li>Scroll down to the end of the page and click the <strong>Change<\/strong> button.<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12554\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_change.png\" alt=\"\" width=\"1366\" height=\"235\" \/><br \/>\nIt will save the configurations you made to the firewall application.<\/p>\n<blockquote>\n<ul>\n<li>Click the <strong>Restart csf+isd<\/strong> button. It will restart the csf and isd and apply your firewall configurations.<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12555\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_restart_csf_ifd.png\" alt=\"\" width=\"387\" height=\"213\" \/><\/p>\n<p>Click the <strong>Return<\/strong> button to go back to the main dashboard of the\u00a0<strong>ConfigServer Security &amp; Firewall\u00a0<\/strong>application.<\/p>\n<p>After confirming that you have made all the necessary configurations, you need to:<\/p>\n<blockquote>\n<h3>Disable Testing<\/h3>\n<p>Currently, your CSF application is running in the<strong> Test Mode<\/strong>. You have to deactivate the mode.<\/p>\n<ul>\n<li>Reaccess the\u00a0<strong>csf &#8211; ConfigServer Firewall<\/strong> section and click the <strong>Firewall Configuration<\/strong> button.<\/li>\n<li>Locate the <strong>TESTING<\/strong> option in the <strong>Initial Settings<\/strong> section.<\/li>\n<li>Click on the <strong>Off<\/strong> switch.<\/li>\n<\/ul>\n<\/blockquote>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12550\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_csf_testing.png\" alt=\"\" width=\"1361\" height=\"254\" \/><br \/>\nAgain, you have to repeat the\u00a0process to save the configurations. Click the\u00a0<strong>Change<\/strong>\u00a0button, and then\u00a0the <strong>Restart csf+isd<\/strong> button.<\/p>\n<p>With it, you will have successfully installed and activated the\u00a0CSF Firewall on your cPanel account.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Config Server Firewall or CSF is a Stateful Packet Inspection (SPI) firewall that is a powerful and must-install application that you can install via WHM on cPanel. It works as a system for intrusion detection and a prime security application for your Linux server. As a security tool, CSF protects your server against various common [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3049],"tags":[2404,152,2394,2403,2402,2401,175],"class_list":["post-13668","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-security-and-ssl","tag-configure-csf-firewall","tag-cpanel","tag-cpanel-server","tag-install-csf-firewall","tag-install-csf-firewall-on-cpanel","tag-install-csf-firewall-via-whm","tag-whm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install CSF Firewall on WHM\/cPanel - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"This article will show you how to install CSF Firewall from WHM and configure its settings to protect your cPanel server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install CSF Firewall on WHM\/cPanel - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"This article will show you how to install CSF Firewall from WHM and configure its settings to protect your cPanel server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-20T05:11:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-27T07:34:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/02\/prajakta_marathe-min.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"481\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\"},\"author\":{\"name\":\"Prasad Khartadkar\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"headline\":\"How to Install CSF Firewall via WHM\/cPanel?\",\"datePublished\":\"2021-08-20T05:11:42+00:00\",\"dateModified\":\"2026-02-27T07:34:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\"},\"wordCount\":685,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png\",\"keywords\":[\"configure CSF Firewall\",\"cPanel\",\"cPanel Server\",\"Install CSF Firewall\",\"Install CSF Firewall on cPanel\",\"Install CSF Firewall via WHM\",\"WHM\"],\"articleSection\":[\"Security &amp; SSL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\",\"name\":\"Install CSF Firewall on WHM\/cPanel - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png\",\"datePublished\":\"2021-08-20T05:11:42+00:00\",\"dateModified\":\"2026-02-27T07:34:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"This article will show you how to install CSF Firewall from WHM and configure its settings to protect your cPanel server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install CSF Firewall via WHM\/cPanel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"sameAs\":[\"https:\/\/www.milesweb.in\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install CSF Firewall on WHM\/cPanel - Web Hosting FAQs by MilesWeb","description":"This article will show you how to install CSF Firewall from WHM and configure its settings to protect your cPanel server.","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:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"Install CSF Firewall on WHM\/cPanel - Web Hosting FAQs by MilesWeb","og_description":"This article will show you how to install CSF Firewall from WHM and configure its settings to protect your cPanel server.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-08-20T05:11:42+00:00","article_modified_time":"2026-02-27T07:34:16+00:00","og_image":[{"width":400,"height":481,"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/02\/prajakta_marathe-min.jpeg","type":"image\/jpeg"}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/"},"author":{"name":"Prasad Khartadkar","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"headline":"How to Install CSF Firewall via WHM\/cPanel?","datePublished":"2021-08-20T05:11:42+00:00","dateModified":"2026-02-27T07:34:16+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/"},"wordCount":685,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png","keywords":["configure CSF Firewall","cPanel","cPanel Server","Install CSF Firewall","Install CSF Firewall on cPanel","Install CSF Firewall via WHM","WHM"],"articleSection":["Security &amp; SSL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/","name":"Install CSF Firewall on WHM\/cPanel - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png","datePublished":"2021-08-20T05:11:42+00:00","dateModified":"2026-02-27T07:34:16+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"This article will show you how to install CSF Firewall from WHM and configure its settings to protect your cPanel server.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_server_conf.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-install-csf-firewall-via-whm-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Install CSF Firewall via WHM\/cPanel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2021\/08\/Prasad-K.-1-150x150.jpg","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","sameAs":["https:\/\/www.milesweb.in"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=13668"}],"version-history":[{"count":2,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13668\/revisions"}],"predecessor-version":[{"id":13684,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/13668\/revisions\/13684"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=13668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=13668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=13668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}