IP Whitelist
Overview
The IP Whitelist is a security feature that ensures only authorized backend IP addresses are allowed to access the casino API. To ensure secure communication, agents must register their backend IP addresses into the IP Whitelist page. This process allows the Web Application Firewall (WAF) rule to validate and approve access to the API server from those specific IP addresses.
https://{SERVER}/app/cloudflare
How it Works:
Agent IP Registration: Agents need to register their backend IP (either IPv4 or IPv6) on the IP Whitelist page in the API panel to enable access to the casino API.
WAF Validation: The Web Application Firewall (WAF) will verify the registered IP address. Once validated, the agent's backend can successfully communicate with the API server.
Duplicate IP Handling: If an agent tries to register an IP address that is already whitelisted, an error message will appear indicating the IP is duplicated. In this case, no further registration is necessary.
IPv4/IPv6 Requirement: It is mandatory that the agent's backend IP is either IPv4 or IPv6. Agents can obtain their server’s IP by running the following command in the CLI of their server system:
curl -X POST https://gateway.bet4wins.org/api/ip
This command will return the server’s IPv4 or IPv6 address, which should then be registered on the whitelist.
Last updated