---
title: How to Fix “RESTRICT_SYSLOG is disabled” in CSF
description: "**In short:** The warning **\"RESTRICT_SYSLOG is disabled\"** appears in ConfigServer Security & Firewall (CSF) after installation. Fix it by setting **RESTRICT_SYSLOG = 3**, either in WHM under **Plugins → ConfigServer Security & Firewall → Firewall Configuration**, or in **/etc/csf/csf.conf** over…"
url: "https://www.hyyat.com/en/knowledgebase/fix-restrict-syslog-csf-warning/"
updated: "2026-10-21"
category: Server management / whm/cpanel control panels
---

# How to Fix “RESTRICT_SYSLOG is disabled” in CSF

**In short:** The warning **"RESTRICT_SYSLOG is disabled"** appears in ConfigServer Security & Firewall (CSF) after installation. Fix it by setting **RESTRICT_SYSLOG = 3**, either in WHM under **Plugins → ConfigServer Security & Firewall → 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 is disabled. See SECURITY WARNING in Firewall Configuration
```

## Fix from WHM

1. Log in to WHM at **https://your-server-hostname:2087** (or https://your-server-IP:2087). Using the hostname is better.
   ![login WHM](https://www.hyyat.com/wp-content/uploads/2019/02/1_whm_firewall.png)
2. Go to **Home → Plugins**.
   ![Home Plugins](https://www.hyyat.com/wp-content/uploads/2019/05/Home-Plugins.png)
3. Click **ConfigServer Security & Firewall**.
   ![انقر على الخيار "ConfigServer Security & Firewall"](https://www.hyyat.com/wp-content/uploads/2019/05/ConfigServer-Security-Firewall.png)
4. Click **Firewall Configuration**.
   ![انقر على الخيار "Firewall Configuration"](https://www.hyyat.com/wp-content/uploads/2019/05/Firewall-Configuration.png)
5. Find **RESTRICT_SYSLOG** and set it to **3**.
   ![نبحث عن  RESTRICT_SYSLOG ونحدد القيمه علي 3](https://www.hyyat.com/wp-content/uploads/2019/05/RESTRICT_SYSLOG.png)
6. Scroll down and click **Change**.
   ![نضغط علي cahnge](https://www.hyyat.com/wp-content/uploads/2019/05/cahnge.png)
7. Click **Restart csf+lfd**, then **Return**.
   ![نقوم بالضغط علي "restart csf+ifd"](https://www.hyyat.com/wp-content/uploads/2019/05/restart-csfifd.png)

## Fix over SSH

1. Connect to the server over SSH.
2. Open the CSF configuration file:
   ```
   nano /etc/csf/csf.conf
   ```
3. Find the line `RESTRICT_SYSLOG = "0"` and change it to `RESTRICT_SYSLOG = "3"`.
4. Save the file and restart CSF and LFD:
   ```
   csf -ra
   ```

**What does 3 mean?** It restricts access to the syslog/rsyslog socket to members of the RESTRICT_SYSLOG_GROUP, which is the setting CSF recommends.

Related service: [server management and security](https://www.hyyat.com/en/server-management/) from Hyyat Host, with support that replies within 24 hours.

 **Related guides**

- [Limiting the number of mails sent per hour in WHM?](https://www.hyyat.com/knowledgebase/%d8%aa%d8%ad%d8%af%d9%8a%d8%af-%d8%b9%d8%af%d8%af-%d8%a5%d8%b1%d8%b3%d8%a7%d9%84-%d8%b1%d8%b3%d8%a7%d8%a6%d9%84-%d8%a7%d9%84%d8%a8%d8%b1%d9%8a%d8%af-%d8%a8%d8%a7%d9%84%d8%b3%d8%a7%d8%b9%d8%a9-%d9%81/)
- [The most common problems faced by WHM / cPanel users](https://www.hyyat.com/knowledgebase/%d8%a3%d8%b4%d9%87%d8%b1-%d8%a7%d9%84%d9%85%d8%b4%d8%a7%d9%83%d9%84-%d8%a7%d9%84%d8%aa%d9%8a-%d8%aa%d9%88%d8%a7%d8%ac%d9%87-%d9%85%d8%b3%d8%aa%d8%ae%d8%af%d9%85%d9%8a-%d9%84%d9%88%d8%ad%d8%a9-%d8%a7/)
- [Optimizing Apache web server on WHM?](https://www.hyyat.com/knowledgebase/%d8%aa%d8%ad%d8%b3%d9%8a%d9%86-%d8%ae%d8%a7%d8%af%d9%85-%d8%a7%d9%84%d9%88%d9%8a%d8%a8-%d8%a7%d8%a8%d8%a7%d8%aa%d8%b4%d9%8a-%d8%b9%d9%84%d9%8a-whm%d8%9f/)

  **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[Server Management](https://www.hyyat.com/en/server-management/)[dedicated server](https://www.hyyat.com/en/dedicated-server/)
