Documentation sections
DNS, CDN and perimeter protection#
An operator's domains are vulnerable: they get blocked and attacked. The perimeter hides the servers behind an intermediary, runs DNS and keeps spare addresses.
What is in the code
| Module | Purpose | Status |
|---|---|---|
Cloudflarecloudflare | Puts our domains behind the Cloudflare edge: shows DNS records, switches a record between the edge (orange cloud) and the origin, and reads the zone's attack mode and development mode. | adapter exists, not connected |
Geo-routing / anycast CDN for player trafficgeo_anycast_cdn | Serves players from the nearest point of presence and routes traffic by country. | not connected, planned |
DDoS protection serviceddos_protection | Absorbs attack traffic before it reaches our servers. | not connected, planned |
Mirror domains rotation (automatic switch to a healthy domain)mirror_rotation | Watches the player domains and moves traffic to a healthy mirror when a domain is blocked. | not connected, planned |
Residential/mobile proxy network for availability checks from player countriesresidential_proxy_network | Checks from the outside whether our domains open in the countries of the players. | not connected, planned |
What a connection needs
- Cloudflare
cloudflare - A Cloudflare account with the zone, and an API token limited to this zone with the permissions Zone: Zone: Read, Zone: DNS: Edit and Zone: Zone Settings: Read (the settings permission is optional: without it the zone modes show as unknown).
Fields in the interface:zone_id,zone_name; secrets:api_token - Geo-routing / anycast CDN for player traffic
geo_anycast_cdn - A CDN contract, the player domains delegated to it, and an API key with DNS and routing rights. The connector is not built yet.
- DDoS protection service
ddos_protection - A contract with a protection provider, the player domains routed through it, and an API key to read attack state. The connector is not built yet.
- Mirror domains rotation (automatic switch to a healthy domain)
mirror_rotation - Several registered domains in the Player domains section, a DNS provider with an API (an edge integration such as Cloudflare) and probes from the player countries. The connector is not built yet.
- Residential/mobile proxy network for availability checks from player countries
residential_proxy_network - A contract with a proxy network, a list of target countries, and an API key or gateway address with credentials. The connector is not built yet.
Outbound proxies#
Some vendors accept calls only from certain addresses or regions. A proxy pool routes the platform's own calls to vendors through them.
What is in the code
| Module | Purpose | Status |
|---|---|---|
Outbound proxy poolproxy_pool | Routes the platform's own calls to vendors through proxies (http, https or socks5) and monitors their health. Not used for player traffic. | adapter exists, not connected |
What a connection needs
- Outbound proxy pool
proxy_pool - One or more proxy servers (address, port, login and password) and a health URL that answers with a 2xx status.
Fields in the interface:proxy_urls,health_url,outbound_proxy_for; secrets:credentials
VPN and staff access#
The back office holds personal data and money, so access to it can be limited: only from listed addresses or only through a VPN.
What is in the code
| Module | Purpose | Status |
|---|---|---|
WireGuard (wg-easy API)wireguard_api | Issues and revokes WireGuard profiles for staff on our own wg-easy server and tells the platform which addresses staff traffic comes from, so the back office can require the VPN. | adapter exists, not connected |
Corporate VPN (IPsec/IKEv2 gateway)vpn_ipsec | Staff connect to a company gateway with the built-in VPN client of their devices (for example strongSwan, a firewall or router). | not connected, planned |
Zero-trust access proxy (identity check in front of the back office)zero_trust_proxy | A proxy that lets a staff member reach the back office only after the identity provider (IdP) confirms who they are and which device they use (for example Cloudflare Access, Pomerium). | not connected, planned |
Bastion / jump host for server accessbastion_host | One hardened host through which administrators reach servers over SSH, with session records. | not connected, planned |
What a connection needs
- WireGuard (wg-easy API)
wireguard_api - A server with wg-easy v15 (Docker) reachable over HTTPS from the platform, an administrator account of wg-easy with two-factor sign-in switched off (the API accepts only Basic auth), and the public address of that server.
Fields in the interface:base_url,username,egress_addresses; secrets:password - Corporate VPN (IPsec/IKEv2 gateway)
vpn_ipsec - A gateway with a public address, a certificate or pre-shared keys, and a management API or a way to read active sessions. The connector is not built yet.
- Zero-trust access proxy (identity check in front of the back office)
zero_trust_proxy - An identity provider (SSO), a contract or account with the proxy service, and the back office domain routed through it. The connector is not built yet.
- Bastion / jump host for server access
bastion_host - A separate server with a public address, administrator keys, and an API or log export for sessions. The connector is not built yet.
Domains#
A single registrar for all domains is a single point of failure: a frozen account takes everything at once.
What is in the code
| Module | Purpose | Status |
|---|---|---|
Namecheapnamecheap | Reads the domain portfolio from Namecheap: how many domains the company holds, which ones expire soon, the DNS records of each. Read only: nothing is bought, renewed or changed from here. | adapter exists, not connected |
Domain registrar (second, for redundancy)domain_registrar_second | A second registrar that holds part of the domains (mirrors), so a freeze or block of one account cannot take all of them. | not connected, planned |
What a connection needs
- Namecheap
namecheap - API access enabled in the Namecheap profile (Profile > Tools > API access), the API key, and the address of this server added to the IP allowlist. Enter the same address in the Client IP field.
Fields in the interface:api_user,username,client_ip,sandbox; secrets:api_key - Domain registrar (second, for redundancy)
domain_registrar_second - An account at another registrar with an API, the list of domains to move, and the address of this server in the API allowlist. The connector is not built yet.