Skip to main content

Manually Modify IP Filter to Regain AhsayCBS Web Console Access

April 16, 2025

Product Version

AhsayCBS: All

Operating System

All Platforms

Description

This document contains information on how to manually change the IP filter for access to the AhsayCBS web console (e.g. modifying the IP Allowed setting without accessing the AhsayCBS web console).

For example, if you have accidentally changed the IP Allowed setting for access to the AhsayCBS console to 0.0.0.0 to 0.0.0.0 via the AhsayCBS web console:

CBS IP Filter settings on web console

Solution

To manually modify the IP Allowed setting for the AhsayCBS web console, amend the "cbs.json" file located in:

${Install-Home}\conf

Value of ${Install-Home} for various operating system:

  • (Windows) C:\Program Files\AhsayCBS
  • (Linux) /usr/local/cbs
  • (AhsayUBS) /ubs/mnt/eslsfw/obsr/conf

Steps

  1. Open "cbs.json" with a text editor.
  2. Search for the exact phrase "AllowedIPOnServerOptions", then modify the "From" and "To" values to the IP range that you want:

    cbs.json
    ...
    "AllowedIPOnServerOptions": [{
    "Class": "com.ahsay.cbs.system.config.EditConfigBean$AllowedIPOnServerBean"
    "From": "127.0.0.1",
    "To": "255.255.255.255",
  3. Next, search for the exact phrase "AllowedIPOnServerOptionsCol", then modify the "From" and "To" values to the IP range that you want:

    cbs.json
    ...
    "AllowedIPOnServerOptionsCol": [{
    "Class": "com.ahsay.cbs.system.config.EditConfigBean$AllowedIPOnServerBean"
    "From": "127.0.0.1",
    "To": "255.255.255.255"
    The IP range 127.0.0.1 to 255.255.255.255 configured above is for example purposes only, you can change it to another range as required.
  4. Restart the AhsayCBS service afterward.
  5. Try accessing the AhsayCBS web console again:

    CBS Login screen