How to Setup a reverse Proxy for TeamSpeak Host?

November 2, 2015 6.9k views
Nginx Security Debian

Hello, how can i setup a Reverse Proxy to safe my droplet against ddos attacks?

For example the teamspeak server use a server from ovh to protect the main server as well, so i you join you get the ip of the ovh server.

I just can find reverse Proxy Setups for Apache

i use Debian 8.1, and i’m on cloudflare with my Domain “Join-FPS.DE” which redirects to my TS3 Server.

btw. i’m new at digitalocean, i love it! :)

i hope someone can help me, thanks

1 Answer
by Jesin A
This tutorial will show you how to configure Nginx as both a web server and as a reverse proxy for Apache – all on one Droplet. Depending on the web application, code changes might be required to keep Apache reverse-proxy-aware, especially when SSL sites are configured. To ensure this, we will install an Apache module named **mod_rpaf** which rewrites certain environment variables so it appears that Apache is directly handling requests from web clients.
  • Thanks, but this is just for Apache, or?

    • The Nginx proxy can serve other web servers as well. What are you using currently for your web server?

      • i will setup a reverse proxy for a voice server (teamspeak 3) no webserver, i know this is possible the teamspeak 3 server use this

        • Ah, Teamspeak is only UDP, which means that most reverse-proxies won’t work for it. You may have some luck writing IPTables after you enable IP forwarding. I’m not sure how this would look specifically for TS though.

Have another answer? Share your knowledge.