{"id":4069,"date":"2017-04-29T03:38:49","date_gmt":"2017-04-29T03:38:49","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/04\/29\/vps-setup-csf\/"},"modified":"2021-08-17T16:20:05","modified_gmt":"2021-08-17T20:20:05","slug":"install-csf","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/","title":{"rendered":"How to Install CSF for Better cPanel Server Security"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-1024x538.jpg\" alt=\"Install CSF Hero Image\" class=\"wp-image-68521\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p><a aria-label=\" (opens in a new tab)\" href=\"https:\/\/configserver.com\/cp\/csf.html\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>ConfigServer Security &amp; Firewall (CSF)<\/strong><\/a><strong> <\/strong>is a stateful packet inspection (SPI) firewall with login\/intrusion detection capabilities for <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting?utm_source=supportcenter&amp;utm_medium=link&amp;utm_campaign=supportcenter\">Linux VPS Hosting<\/a> running CentOS, Ubuntu, and other Unix operating systems. Simply put, CSF simplifies the proactive and reactive processes related to Linux cybersecurity.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#what\">What is CSF?<\/a><ul><li><a href=\"#uninstall\">Uninstall APF from your InMotion cPanel Server<\/a><\/li><li><a href=\"#disable\">Stop APF and Remove Add IP to Firewall from WHM<\/a><\/li><\/ul><\/li><li><a href=\"#install\">Install CSF<\/a><ul><li><a href=\"#nameserver\">Steps when using Custom Nameservers<\/a><\/li><\/ul><ul><li><a href=\"#reseller\">Provide Reseller Rights for cPanel Users<\/a><\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what\">What is CSF?<\/h2>\n\n\n\n<p>Managing firewall settings with iptables commands can get complicated. Also, the active rules for iptables are not persistent. This makes it easy to understand why there are several iptables managers, or <em>wrappers<\/em>, available including <strong>UncomplicatedFirewall (UFW)<\/strong> and <strong>Firewalld<\/strong>. So if CSF is not unique in providing basic iptables rule management, why use it? What helps set it apart from similar applications are its additional built-in features:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The ability to perform a basic server security settings checks<\/li><li><strong>Login Failure Daemon (LFD)<\/strong> to prevent brute-force login attempts<\/li><li>Monitor and search important system log files directly in WebHost Manager (WHM) on cPanel servers<\/li><li>View currently listening ports and what processes are listening on them<\/li><li>Preset configurations, called profiles, to easily switch security settings for different use cases (development, panic mode, etc.)<\/li><li>And lots more\u2026<\/li><\/ul>\n\n\n\n<p>Our cPanel-managed VPS and dedicated server hosting plans start with <strong>Advanced Policy Firewall (APF)<\/strong> installed. However, CSF is more advanced and includes a long list of features in WHM. APF must be uninstalled before you install CSF.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"uninstall\">Uninstall APF from your InMotion cPanel Server<\/h3>\n\n\n\n<p>InMotion Hosting cPanel server administrators must remove APF before you install CSF.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"disable\">Stop and Disable the APF Service<\/h3>\n\n\n\n<ol class=\"article_list wp-block-list\"><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">Log into your server via SSH<\/a> as the root user.<\/li><li>Stop the APF service: <pre>systemctl stop apf<\/pre><\/li><li>Remove symbolic links from chkconfig management:<pre>chkconfig --del apf<\/pre><\/li><li>Remove remaining APF files: <pre>rm -fr \/etc\/init.d\/apf \/usr\/local\/sbin\/apf \/etc\/apf \/usr\/local\/cpanel\/whostmgr\/cgi\/{apfadd,addon_add2apf.cgi}<\/pre><\/li><\/ol>\n\n\n\n<p>Next, remove Add IP to Firewall from WHM.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Uninstall the APF and WHM firewall YUM packages: <pre>yum -y remove apf-ded whm-addip<\/pre><\/li><li>Remove remaining WHM configuration files: <pre>rm -rf \/usr\/local\/cpanel\/whostmgr\/cgi\/apfadd \/usr\/local\/cpanel\/whostmgr\/cgi\/addon_add2apf.cgi<\/pre><\/li><li>Open the pluginscache.yaml file with a file editor (e.g. Nano, VIM, Emacs):<pre>nano \/var\/cpanel\/pluginscache.yaml<\/pre><\/li><li>If you see something similar to the following, remove all the lines except for the <em>uniquekey<\/em> one.<pre>\u2013<br>acllist:<br>\u2013 create-acct<br>cgi: addon_add2apf.cgi<br>icon: \u201d<br>showname: Add IP to Firewall<br>tagname: \u201d<br>target: mainFrame<br>uniquekey: add_ip_to_firewall<\/pre><\/li><li>Save changes. In Nano, type <kbd>Ctrl<\/kbd> + <kbd>X<\/kbd> on your keyboard to save and exit Nano.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Install CSF<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>SSH into your server.<\/li><li>Install CSF from the YUM repository: <pre>yum install -y csf-ded<\/pre><\/li><li>Start the CSF service with Systemd:<pre>systemctl start csf<\/pre><\/li><li>Update the CSF WHM plugin.<br>The quickest method is to use this Perl command:<pre>curl -sL https:\/\/download.configserver.com\/csupdate | perl<\/pre>If you want to be thorough, you can use the manual method instead.<pre>wget https:\/\/download.configserver.com\/csupdate<\/pre><pre>yum install dos2unix<\/pre><pre>predos2unix csupdate<\/pre><pre>chmod +x csupdate<\/pre><pre>.\/csupdate<\/pre><\/li><\/ol>\n\n\n\n<p>Turn on Brute force monitoring for a head start in hardening your system.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Log into your VPS via SSH.<\/li><li>This sed one-liner adds brute force monitoring to your CSF configuration file:<pre>sed \u2018s\/\\(LF_\\(PERMBLOCK\\|SSHD\\|FTPD\\|SMTPAUTH\\|POP3D\\|IMAPD\\|CPANEL\\) *= *\u201d\\)[^\u201d]\\+\/\\11\/;s\/\\(LF_TRIGGER *= *\u201d\\)[^\u201d]\\+\/\\13\/\u2019 -i \/etc\/csf\/csf.conf<\/pre><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"nameserver\">Steps when using Custom Nameservers<\/h3>\n\n\n\n<p>If you are using custom nameservers, you must complete the following section to allow incoming UDP connections.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>While still in SSH, edit your primary CSF configuration file: <pre>nano \/etc\/csf\/csf.conf<\/pre><\/li><li>Find the <em>UDP_IN<\/em> line and add <code>53<\/code> for port 53 (DNS). The result should read:<br><code>UDP_IN = \u201c20,21,53\u201d<\/code>.<\/li><li>Ensure the <em>TCP_IN<\/em> line also includes <code>53<\/code>. It should look similar to:<br> <code>TCP_IN = \u201c20,21,25,53,80,110,143,443,465,587,993,995,2082,2083,2086,2087,2095,2096,3306,587,30000:35000\u201d<\/code>. There may need more or less ports whitelisted depending on software and server hardening requirements.<\/li><li>Save changes. In Nano, type <kbd>Ctrl<\/kbd> + <kbd>X<\/kbd> to save and exit Nano.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"reseller\">Provide Reseller Rights for cPanel Users<\/h3>\n\n\n\n<p>By default, only the root user has rights to edit firewall rules. If you want to allow reseller cPanel users to edit the CSF rules, follow this section.<\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Edit the CSF resellers file:<pre>nano \/etc\/csf\/csf.conf<\/pre><\/li><li>Add the following line, but replace \u201cuserna5\u201d with the actual cPanel username: <pre>userna5:0:USE,ALLOW,DENY,UNBLOCK<\/pre><\/li><li>Save changes. In Nano, type <kbd>Ctrl<\/kbd> + <kbd>X<\/kbd> to save and exit Nano.<\/li><li>Restart CSF: <pre>systemctl restart csf<\/pre><\/li><li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/whm\/log-into-whm\/\">Login to WHM<\/a> as the root user.<\/li><li>Select <strong>Edit Reseller Nameservers and Privileges<\/strong>.<\/li><li>Choose the cPanel user you want to grant CSF privileges to, then click <strong>Submit<\/strong>. If there\u2019s only one cPanel user on the server, you\u2019ll already automatically be redirected to its privileges page.<\/li><li>Check the box for <strong>ConfigServer Security &amp; Firewall (Reseller UI)<\/strong>.<\/li><li>At the bottom, select <strong>Save all Settings<\/strong>.<\/li><\/ol>\n\n\n\n<p>After installing CSF, check your preset profiles or audit your <a href=\"https:\/\/www.inmotionhosting.com\/support\/security\/how-to-view-listening-ports-with-configserver-security-firewall-csf\/\">open ports<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ConfigServer Security &amp; Firewall (CSF) is a stateful packet inspection (SPI) firewall with login\/intrusion detection capabilities for Linux VPS Hosting running CentOS, Ubuntu, and other Unix operating systems. Simply put, CSF simplifies the proactive and reactive processes related to Linux cybersecurity. What is CSF? Uninstall APF from your InMotion cPanel Server Stop APF and Remove<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4299],"tags":[],"class_list":["post-4069","post","type-post","status-publish","format-standard","hentry","category-security"],"acf":[],"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 for Better cPanel Security in 4 Steps - InMotion Hosting Support Center<\/title>\n<meta name=\"description\" content=\"Learn how to setup CSF on your VPS\" \/>\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.inmotionhosting.com\/support\/security\/install-csf\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing CSF For Better cPanel Security: How-To\" \/>\n<meta property=\"og:description\" content=\"Learn how to install CSF (ConfigServer Security &amp; Firewall) on cPanel-managed servers for easier port management and cybersecurity enhancements.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-29T03:38:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T20:20:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Install CSF for Better cPanel Server Security\",\"datePublished\":\"2017-04-29T03:38:49+00:00\",\"dateModified\":\"2021-08-17T20:20:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\"},\"wordCount\":674,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-1024x538.jpg\",\"articleSection\":[\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\",\"name\":\"Install CSF for Better cPanel Security in 4 Steps - InMotion Hosting Support Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-1024x538.jpg\",\"datePublished\":\"2017-04-29T03:38:49+00:00\",\"dateModified\":\"2021-08-17T20:20:05+00:00\",\"description\":\"Learn how to setup CSF on your VPS\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg\",\"width\":1200,\"height\":630,\"caption\":\"How to Install CSF\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install CSF for Better cPanel Server Security\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install CSF for Better cPanel Security in 4 Steps - InMotion Hosting Support Center","description":"Learn how to setup CSF on your VPS","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.inmotionhosting.com\/support\/security\/install-csf\/","og_locale":"en_US","og_type":"article","og_title":"Installing CSF For Better cPanel Security: How-To","og_description":"Learn how to install CSF (ConfigServer Security &amp; Firewall) on cPanel-managed servers for easier port management and cybersecurity enhancements.","og_url":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-04-29T03:38:49+00:00","article_modified_time":"2021-08-17T20:20:05+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Install CSF for Better cPanel Server Security","datePublished":"2017-04-29T03:38:49+00:00","dateModified":"2021-08-17T20:20:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/"},"wordCount":674,"commentCount":2,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-1024x538.jpg","articleSection":["Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/","url":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/","name":"Install CSF for Better cPanel Security in 4 Steps - InMotion Hosting Support Center","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF-1024x538.jpg","datePublished":"2017-04-29T03:38:49+00:00","dateModified":"2021-08-17T20:20:05+00:00","description":"Learn how to setup CSF on your VPS","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2021\/02\/How-to-Install-CSF.jpg","width":1200,"height":630,"caption":"How to Install CSF"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/security\/install-csf\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install CSF for Better cPanel Server Security"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4299,"name":"Security","slug":"security","link":"https:\/\/www.inmotionhosting.com\/support\/security\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4069"}],"version-history":[{"count":14,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4069\/revisions"}],"predecessor-version":[{"id":86723,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4069\/revisions\/86723"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}