{"id":18288,"date":"2026-09-26T10:42:56","date_gmt":"2026-09-26T07:42:56","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/fix-restrict-syslog-csf-warning\/"},"modified":"2026-09-26T10:42:56","modified_gmt":"2026-09-26T07:42:56","password":"","slug":"fix-restrict-syslog-csf-warning","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/fix-restrict-syslog-csf-warning\/","title":{"rendered":"How to Fix &#8220;RESTRICT_SYSLOG is disabled&#8221; in CSF"},"content":{"rendered":"<div class=\"hy-tldr\" style=\"background:#f6f7fb;border-left:4px solid #d83954;border-radius:10px;padding:14px 18px;margin:0 0 20px;line-height:1.8\"><strong>In short:<\/strong> The warning <strong>&#8220;RESTRICT_SYSLOG is disabled&#8221;<\/strong> appears in ConfigServer Security &amp; Firewall (CSF) after installation. Fix it by setting <strong>RESTRICT_SYSLOG = 3<\/strong>, either in WHM under <strong>Plugins \u2192 ConfigServer Security &amp; Firewall \u2192 Firewall Configuration<\/strong>, or in <strong>\/etc\/csf\/csf.conf<\/strong> over SSH, then restart CSF.<\/div>\n<p>The full warning shown when you open CSF is:<\/p>\n<pre><code>WARNING: RESTRICT_SYSLOG is disabled. See SECURITY WARNING in Firewall Configuration<\/code><\/pre>\n<h2>Fix from WHM<\/h2>\n<ol>\n<li>Log in to WHM at <strong>https:\/\/your-server-hostname:2087<\/strong> (or https:\/\/your-server-IP:2087). Using the hostname is better.\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-9762\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/02\/1_whm_firewall.png\" sizes=\"(max-width: 458px) 100vw, 458px\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/02\/1_whm_firewall.png 458w, https:\/\/www.hyyat.com\/zasogooh\/2019\/02\/1_whm_firewall-300x255.png 300w\" alt=\"login WHM\" width=\"382\" height=\"325\" title=\"\"><\/p>\n<\/li>\n<li>Go to <strong>Home \u2192 Plugins<\/strong>.\n<p><img decoding=\"async\" class=\"alignnone wp-image-10216\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Home-Plugins.png\" alt=\"Home Plugins\" width=\"626\" height=\"252\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Home-Plugins.png 982w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Home-Plugins-300x121.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Home-Plugins-768x309.png 768w\" sizes=\"(max-width: 626px) 100vw, 626px\"><\/p>\n<\/li>\n<li>Click <strong>ConfigServer Security &amp; Firewall<\/strong>.\n<p><img decoding=\"async\" class=\"alignnone wp-image-10217\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/ConfigServer-Security-Firewall.png\" alt=\"\u0627\u0646\u0642\u0631 \u0639\u0644\u0649 \u0627\u0644\u062e\u064a\u0627\u0631 &quot;ConfigServer Security &amp; Firewall&quot;\" width=\"689\" height=\"155\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/ConfigServer-Security-Firewall.png 1038w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/ConfigServer-Security-Firewall-300x67.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/ConfigServer-Security-Firewall-768x172.png 768w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/ConfigServer-Security-Firewall-1024x230.png 1024w\" sizes=\"(max-width: 689px) 100vw, 689px\"><\/p>\n<\/li>\n<li>Click <strong>Firewall Configuration<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10218\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Firewall-Configuration.png\" alt=\"\u0627\u0646\u0642\u0631 \u0639\u0644\u0649 \u0627\u0644\u062e\u064a\u0627\u0631 &quot;Firewall Configuration&quot;\" width=\"716\" height=\"516\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Firewall-Configuration.png 858w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Firewall-Configuration-300x216.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/Firewall-Configuration-768x553.png 768w\" sizes=\"(max-width: 716px) 100vw, 716px\"><\/p>\n<\/li>\n<li>Find <strong>RESTRICT_SYSLOG<\/strong> and set it to <strong>3<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10219 \" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/RESTRICT_SYSLOG.png\" alt=\"\u0646\u0628\u062d\u062b \u0639\u0646\u00a0 RESTRICT_SYSLOG \u0648\u0646\u062d\u062f\u062f \u0627\u0644\u0642\u064a\u0645\u0647 \u0639\u0644\u064a 3\" width=\"590\" height=\"256\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/RESTRICT_SYSLOG.png 684w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/RESTRICT_SYSLOG-300x130.png 300w\" sizes=\"(max-width: 590px) 100vw, 590px\"><\/p>\n<\/li>\n<li>Scroll down and click <strong>Change<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10220\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/cahnge.png\" alt=\"\u0646\u0636\u063a\u0637 \u0639\u0644\u064a cahnge\" width=\"840\" height=\"183\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/cahnge.png 1158w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/cahnge-300x65.png 300w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/cahnge-1024x223.png 1024w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/cahnge-768x167.png 768w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/cahnge-360x78.png 360w\" sizes=\"(max-width: 840px) 100vw, 840px\"><\/p>\n<\/li>\n<li>Click <strong>Restart csf+lfd<\/strong>, then <strong>Return<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10221\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/restart-csfifd.png\" alt=\"\u0646\u0642\u0648\u0645 \u0628\u0627\u0644\u0636\u063a\u0637 \u0639\u0644\u064a &quot;restart csf+ifd&quot;\" width=\"362\" height=\"248\" title=\"\" srcset=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/restart-csfifd.png 526w, https:\/\/www.hyyat.com\/zasogooh\/2019\/05\/restart-csfifd-300x205.png 300w\" sizes=\"(max-width: 362px) 100vw, 362px\"><\/p>\n<\/li>\n<\/ol>\n<h2>Fix over SSH<\/h2>\n<ol>\n<li>Connect to the server over SSH.<\/li>\n<li>Open the CSF configuration file:\n<pre><code>nano \/etc\/csf\/csf.conf<\/code><\/pre>\n<\/li>\n<li>Find the line <code>RESTRICT_SYSLOG = \"0\"<\/code> and change it to <code>RESTRICT_SYSLOG = \"3\"<\/code>.<\/li>\n<li>Save the file and restart CSF and LFD:\n<pre><code>csf -ra<\/code><\/pre>\n<\/li>\n<\/ol>\n<p><strong>What does 3 mean?<\/strong> It restricts access to the syslog\/rsyslog socket to members of the RESTRICT_SYSLOG_GROUP, which is the setting CSF recommends.<\/p>\n<p>Related service: <a href=\"https:\/\/www.hyyat.com\/en\/server-management\/\">server management and security<\/a> from Hyyat Host, with 24\/7 support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In short: The warning &#8220;RESTRICT_SYSLOG is disabled&#8221; appears in ConfigServer Security &amp; Firewall (CSF) after installation. Fix it by setting RESTRICT_SYSLOG = 3, either in WHM under Plugins \u2192 ConfigServer Security &amp; Firewall \u2192 Firewall Configuration, or in \/etc\/csf\/csf.conf over SSH, then restart CSF. The full warning shown when you open CSF is: WARNING: RESTRICT_SYSLOG [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","inline_featured_image":false,"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2734],"doc_tag":[],"class_list":["post-18288","docs","type-docs","status-publish","hentry","doc_category-whm-cpanel-control-panels"],"year_month":"2026-09","word_count":188,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"whm\/cpanel control panels","term_url":"https:\/\/www.hyyat.com\/en\/kb\/whm-cpanel-control-panels\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=18288"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/18288\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=18288"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=18288"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=18288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}