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
- Add your own address and every agent network to the list.
- Check the proxy settings above.
- Turn
isEnabledon and save. - Check the agents' IP whitelist log for refused sign-ins.
If you locked yourself out
- 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.
- Add the missing address, or turn
isEnabledoff, and save. - If the panel cannot be reached: in the
ConfigOverridestable, set"isEnabled": falsein the value of theIP_WHITELIST_MIDDLEWARE_SETTINGSrow, then restart the DMZ service.
No comments to display
No comments to display