My server has private IP address(es) only

You are here:
Estimated reading time: 1 min

By default, WAF 2.0 will only create port redirections for public IPs. However, it can be set to observe on the private interface. It can happen, that your server does not have a public interface, in this case, there are more possibilities

Private IP addresses
192.168.0.0 – 192.168.255.255
172.16.0.0 – 172.31.255.255
10.0.0.0 – 10.255.255.255 
The server is used in an internal network only
If the server is used only in an internal network then please note that the WAF 2.0 module was not made for that. So the WAF module might not be triggered.

It is also required if there is a gateway in front of the server, which accepts the requests from outside and forwards the requests to the appropriate destination.

You can check the network interfaces of your server with the ifconfig commnad.
  1. Open the Configuration menu on your BitNinja dashboard.
  2. Select the setting level on the left side. (server-level, server group-level, account-level)
  3. Select the WAF 2.0 module on the left side.
  4. Under the “Interface for the server’s IPv4 address” you have to click Add new
  5. You have to input the name of the interface.
    For example, let’s say the name of your private interface is enp1s then it has to look like in the picture below.
  6. After that is done you’ll see a Save button on the top right corner, make sure to save this.
  7. The last step is to restart BitNinja with service bitninja restart command.
Was this article helpful?
It was not helpful
Views: 779