Configuring BitNinja under Enhance control panel

You are here:
Estimated reading time: 1 min

Introduction:
When configuring BitNinja on servers using the Enhance control panel, several key adjustments are needed to ensure smooth operation. This guide walks through the essential configuration steps, including handling Docker-specific settings, manually selecting webserver types, and accurately configuring network interfaces for BitNinja’s Web Application Firewall (WAF) module.

Step 1: Disable Close Direct Access for Docker Compatibility

Since Enhance uses Docker, it’s essential to turn off BitNinja’s “Close Direct Access” setting to prevent access issues. Follow these steps: link

Recommendation: Apply this setting at the User Level for granular control and optimal compatibility.

Step 2: Manually Configure the Webserver in Protection on HTTPS

Introduction:
To ensure BitNinja functions correctly with your SSL configuration, select the appropriate webserver in the “Protection on HTTPS” settings. BitNinja needs to recognize which server manages SSL certificates, which could be one of the following: Nginx, Apache, OpenLiteSpeed (OLS), or LiteSpeed (LS).

Recommendation: Apply this setting at the Server level for optimal compatibility.

To Confirm and set up Detected Webservers:

  1. Check BitNinja’s webserver detection file located at /var/lib/bitninja/ConfigParser/getWebservers-report.json
  2. Verify which webserver is handling SSL certificates.
  3. Select that webserver in the BitNinja dashboard Configuration menu: Advanced Modules -> Protection on HTTPs -> Set up your backend server -> SelectYourWebserver

Step 3: Configure the Network Interface in BitNinja WAF Module

Introduction:
For BitNinja’s WAF module to filter traffic effectively, the correct network interface label must be set. Use the ifconfig Output to determine available interfaces and configure them as in the below example:

Please use your server interface label names, the below is just an example!
Recommendation: Apply this setting at the Server level for optimal compatibility.
If you are still experiencing issues with BitNinja, please contact us on chat, open a ticket, or write to info@bitninja.io.


Was this article helpful?
It was not helpful
Views: 77