Skip to main content

Custom Locations

Define custom locations using country, CIDR and a range of internal IP's.

Maxmind GeoIP database (<https://www.maxmind.com/en/geoip-demo>) is used to lookup public IP's and map them to a country, if they are not mapped to custom location.

Accessing

Using the dropdown menu, navigate to Administration -> Custom Locations.

Create Custom Location

To create a new custom location entry, click the green "Add new location" button, at the upper right corner. Once clicked, a popup window will be shown, fill out the required fields.

IP range is automatically created based on the provided CIDR, see CIDR examples for explanation.

Edit Custom Location

To modify a custom location, click the "Edit" option under the "Actions" column, at the corresponding location row you wish to edit.

Once clicked, a popup window will be displayed, proceed with editting and saving the changes.

Delete Custom Location

Select "Edit" the custom location, a popup window will be shown, press the "Delete" button. 

CIDR to IP Range (Example)

You can use an online calculator, if you only have the start and end ip scope.

  1. Map Single Host CIDR

Use /32 to map a single host, is written as x.x.x.x/32

  1. Map Range

CIDR = 192.168.3.55/28

IP ADDRESS = 192.168.3.55

192168355
11000000101010000000001100110111

NET MASK 28 bits turned on

11111111111111111111111111110000

IP ADDRESS AND NET MASK

11000000101010000000001100110111
11111111111111111111111111110000
11000000101010000000001100110000

Start IP = 192.168.3.48 (11000000.10101000.00000011.00110000)

Last octet in the NET MASK: 11110000

11111111111111111111111111110000

Last bit turned on in last octect: 16

11110000
1286432168421

48-16-1=63

End IP = 192.168.3.63

IP RANGE = 192.168.3.48 - 192.168.3.63