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.
- 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)