“Address ranges” module is located in the “Users and statistics” menu. This module contains list of all objects that ICS CUBE takes into consideration for tarification purposes. By default, there are the following object categories:
All object categories except “User address ranges”, are filled automatically from appropriate modules and can't be changed here. The “User address ranges” item is meant for creation of ICS CUBE tarification objects, which can then be used as a unit in rules or used for optimization in other modules. In the main module window there is also a search line and “Add”, “Delete” and “Edit” buttons.
To add a category in the “User address ranges” you can use the “Add” button and choose the appropriate option. Then the window will show up where you can enter: name; choose whether it will be external or internal range; add, delete or import the range.
By default, every created range is internal (therefore, not charged in tarification of traffic). An example of internal range is a range that ICS CUBE uses to provide access to its internal resources, and which, therefore, are free. For the range to become external, you can choose the option “External address range” while setting it up.
The syntax of address field should be any of the following: any random IP-address (for example, 192.168.1.123), subnets (for example, 192.168.1.1/24 or 192.168.1.1/255.255.255.0), domains (for example, ya.ru), ranges (for example 192.168.1.53-192.168.1.87). If the the address range is too large to enter is manually, you can import it from a *.txt file, using the “Import” button. Every item should be placed in it on a new line: IP-addresses, networks, domains or ranges.