WebSocket reverse proxy for browser games
Browser games normally connect straight to your game server, which puts its IP address in every player's dev tools. With a proxy, they connect to us instead, and we forward the connection to you.
What you get
- A hidden server IP: players connect to
wss://yourcode.hanarchy.net/, so your server's address isn't in the client. - A valid certificate: players always see ours. Your server can use plain WebSocket, or TLS with any certificate, including self-signed or expired ones.
- Long-lived connections: tunnels can stay open for up to 24 hours.
- Players' real IPs: your server gets them in the
X-Forwarded-ForandX-Real-IPheaders. - Paths and query strings: these are passed through to your server. Extra ports use
/a,/band so on. - Automatic failover: if a proxy server goes down, your ports move to a backup and your hostname follows. Players may need to reconnect once.
How to set it up
- Pick a plan and a region close to your players.
- Choose WSS and enter your game server's IP and port.
- Replace the WebSocket address in your game client with your new
wss://address. - If your server has a firewall or checks allowed origins, allow our IP from your dashboard and keep your site's origin allowed.
- If your server trusts forwarded headers, read the player's IP from
X-Real-IP, and only accept that header from our proxy.
What it isn't
- Website hosting: only WebSocket upgrades are forwarded. Other requests are redirected to our site, so keep your website somewhere else.
- DDoS protection: hiding your IP helps, but a large attack can still take a proxy server offline until failover moves you. If you expect big attacks, use a dedicated protection service.
- UDP: we only handle WebSocket and TCP.
Limits and price
Every plan has a connection limit per port. The free plan gives you one WebSocket port in Europe with up to 10–15 connections, 5 Mbit/s and 50 GB a month, renewed with one click every 3 days. See paid plans for more. Also read how to keep your server's IP hidden, because a proxy alone won't hide an address that's already public.