Skip to main content

IP whitelist

IP_WHITELIST_MIDDLEWARE_SETTINGS limits which client addresses can use the call service on the DMZ: agent sign-in and the agent pages and their requests. Changes apply without a restart.

Field What it does
isEnabled Turns the whitelist on.
ipWhitelistRanges Allowed addresses, one entry each: an IPv4 address (10.1.2.3), a CIDR range (10.0.0.0/8) or a range (10.0.0.1-10.0.0.50). IPv6 entries are ignored.
isWebUserInterfaceEnabled The call pages and their files load from any address. Turn it on when customers use the web call page. Agent sign-in is still checked.
unauthorizedHttpResponse, redirectUrl Refused requests are redirected to redirectUrl instead of getting 403. Fill in the address when you turn this on.

Always let in

  • Loopback and the server's own addresses.
  • Customer API requests (dial, waiting, room requests). They are never checked.
  • Everyone, while the list is empty.

Behind a proxy

The check uses the client address after forwarded headers. The proxy must send X-Forwarded-For; when FORWARDED_KNOWN_PROXIES or FORWARDED_KNOWN_NETWORKS is set, the proxy must be listed there; DISABLE_FORWARDED_HEADERS must be off. Otherwise every request seems to come from the proxy.

Turning it on

  1. Add your own address and every agent network to the list.
  2. Check the proxy settings above.
  3. Turn isEnabled on and save.
  4. Check the agents' IP whitelist log for refused sign-ins.

If you locked yourself out

  1. Open the admin panel from an allowed address, or from the server itself (loopback is always allowed). When the admin panel runs on a separate LOCAL server, the whitelist does not limit it.
  2. Add the missing address, or turn isEnabled off, and save.
  3. If the panel cannot be reached: in the ConfigOverrides table, set "isEnabled": false in the value of the IP_WHITELIST_MIDDLEWARE_SETTINGS row, then restart the DMZ service.