Temporarily disabling CSF can help isolate a firewall problem during a controlled test. This guide covers CSF and LFD on a WHM server; antivirus products have separate controls and are not disabled by this procedure.
Prepare a short test
Use administrator access, record the issue being tested and keep a recovery console available. First check whether a specific rule or address can be corrected without disabling protection.
Disabling CSF and LFD removes their protection until you enable them again. Restrict the test period and restore protection immediately afterwards.
Disable and restore CSF
- Log in to WHM.
- Open Plugins > ConfigServer Security & Firewall.
- Locate Firewall Disable or the installed version’s equivalent disable action.
- Confirm the action and check its reported state.
- Carry out only the planned connection test.
- Return to the same interface and use Firewall Enable or the equivalent enable action.
- Confirm that CSF is enabled and LFD is running.
- Retest the connection with protection restored.
These controls do not disable a provider firewall or every security component on the server. If disabling CSF changes the result, investigate its relevant rule or log rather than leaving it disabled.