The “Address ranges” module is placed in the “Users and statistics” menu. This module contains the list of all charging objects that ICS CUBE takes into consideration. By default, there are the following object categories: DMZ-networks; external address ranges (ISPs), ICS CUBE, root group (contains all ICS CUBE users and their groups), local networks, users address ranges. All object categories except the “Users address ranges”, are filled automatically from appropriate modules and can't be changed here. The “Users address ranges” item is meant for creation of ICS CUBE charging objects, which can then be 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 “Users address ranges” you can use the “Add” button and choose the appropriate option. Then the window will show up where you will be able to enter: range 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). An example of the internal range can be a range that ICS CUBE use 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 up.
The syntax of the address field can be 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 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.