===== [V7] FAQ: How to manually change the IP filter for access to the AhsayCBS web console? ===== This article only applies to Ahsay software version 7

Article ID: 5363
Reviewed: 2019-04-23

Product Version:
AhsayCBS: All
OS: All platforms ATTENTION 1st January, 2022: v7 officially End-of-Life [details] ===== 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:



===== Steps ===== 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:
  1. Open "cbs.json" with a text editor such as Notepad++.

  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"
    ...
    Note: 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 afterward:



===== Keywords ===== cbs, obs, console, admin, administrator, lost, reaccess, recovery, recover, re-access