Skip to content

Instantly share code, notes, and snippets.

View Kodashas's full-sized avatar
💭
I may be slow to respond.

KALASHAS Kodashas

💭
I may be slow to respond.
View GitHub Profile
@Euro-pol
Euro-pol / AC_DDoS_Protection.md
Last active May 2, 2025 19:50
Assetto Corsa self-hosted DDoS protection tutorial (reverse proxy)

Introduction

Hey guys, I've been hosting an Asseto Corsa server on my Raspberry Pi 4, but been wondering how to set up DDoS protection. I've been searching for any self-hosted proxies for AC, but couldn't find any so I dug deeper. I found out that nginx can work with UDP and TCP connections, so I'm writing this little guide.

Requirements

  • A VPS with Ubuntu Server (or similar)
  • Nginx with stream (on Ubuntu, install libnginx-mod-stream)
  • An already setup Asseto Corsa server
  • Your home server's ports open (for the AC server to be accessible)

How-to