cross-posted from: https://programming.dev/post/38002596

Private front-end.

Hello, I am a guy that makes a funny rhythm game called Project Heartbeat. I’m based in Spain.

Recently, I got a home server, and decided to throw in a status report software on it that would notify me through a telegram channel whenever my game’s server is unreachable.

Ever since then I’ve noticed my game’s server is seemingly unplayable at times, which was strange because as far as I could tell the server was fine, and I could even see it accepting requests in the log.

Then it hit me: I use cloudflare

Turns out, the Spanish football league (LaLiga) has been given special rights by the courts to ask ISPs to block any IPs they see fit, and the ISPs have to comply. This is not a DNS block, otherwise my game wouldn’t be affected, it’s an IP block.

When there’s a football match on (I’m told) they randomly ban cloudflare IP ranges.

Indeed every single time I’ve seen the server go down from my telegram notifications I’ve jumped on discord and asked my friends, who watch football, if there’s a match on. And every single time there was one.

Wild.

Comments
  • blob42@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    1 day ago

    Solution:

    Use a VPS somewhere that will act as a proxy to your home server.

    Connect the VPS to your home with wireguard/tailscale and do reverse proxy to your game server.

    Now the public IP will be your VPS. Host it in an other close by country.

    Of the IP does get flagged, change the VPS provider and keep the exact same setup.

    Read /r/selfhosted or use GPT for a step by step guide