Cloudfare

is it possible to use cloudfare + ts3?

Thats what i found for you, i hope it help you. :slight_smile:

To use Teamspeak behind a Cloudflare protected domain you need to add some additional DNS records:

Add a new DNS A record for your Teamspeak server as a subdomain. Let’s call it: 'ts. ’ and point it to your Teamspeak server IP address. If you are unsure how to do it, have a look at this tutorial. .
Ensure the cloud icon is :orange: image (just click on it, if it’s :grey:) image

Add a new SRV record for this subdomain as follows:

  • select ‘SRV’ from the drop down menu
  • add the following values and save the settings:

Any priority may work. I’ve set mine to 0. Port 9987 is the default port and may vary. Ask your Teamspeak host if you’re unsure

That’s it. You should now be able to connect to your TS Server, using the address ‘ts.yourdomain.com:9987 ’.

Additional info:
You still need to add the port within your Teamspeak Client, to connect to your server:

image

This DNS record will not hide your TS IP address comnpletely even though ‘ts.yourdomain.com ’ is set to :orange:! As soon a someone connects to your server, the origin IP will be revealed . But this setting prevents your server of being detected by DNS scanners, because they would see Cloudflare IPs. This is a snippet from my client logs:

25.01.2019 22:18:48	ClientUI	Info	Connect to server: ts.yourdomain.com
25.01.2019 22:18:48	ClientUI	Info	Trying to resolve ts.yourdomain.com
25.01.2019 22:18:48	TSDNS	Info	A/AAAA DNS resolve for possible TSDNS successful, "yourdomain.com" =(h: 104.20.21.149 p:0)	
25.01.2019 22:18:48	TSDNS	Info	A/AAAA DNS resolve successful, "ts.yourdomain.com" =(h: 104.20.22.149 p:0)	
25.01.2019 22:18:48	TSDNS	Info	A/AAAA DNS resolve for possible TSDNS successful, "ts.yourdomain.com" =(h: 104.20.22.149 p:0)	
25.01.2019 22:18:48	TSDNS	Info	A/AAAA DNS resolve successful, "dc-474e18d1343c.yourdomain.com" =(h: 62.xx.xx.xx p:0)	
25.01.2019 22:18:48	ClientUI	Info	Lookup finished: ip=62.xx.xx.xx port=9987 query=ts.yourdomain.com error=0	
25.01.2019 22:18:48	ClientUI	Info	Resolve successful: 62.xx.xx.xx:9987	

While this one is a Cloudflare IP:

25.01.2019 22:18:48 TSDNS Info A/AAAA DNS resolve for possible TSDNS successful, “ts.yourdomain.com ” = (h: 104.20.22.149 p:0)

the next one will reveal your origin:

25.01.2019 22:18:48 TSDNS Info A/AAAA DNS resolve successful, “dc-474e18d1343c.yourdomain.com ” = (h: 62.xx.xx.xx p:0)

In order to connect to your server without entering the port, you need to add a second SRV for TSDNS. TSNDS needs to be configured seperately on your server and this feature might not be available or you’d probably have to pay an additional fee for it if you’re not running the server on your own machine.

image

If i am wrong or anything else, please correct me!

5 Likes

Just what I wanted is not going to serve me aha. if anyway it resolves the ip of the destination behind the cloud
Thank you very much anyway you should mark this topic in case anyone needs it

1 Like

have i answered your question? :slight_smile:

1 Like

yes

1 Like

Have a nice day. :slight_smile:

TeamSpeak is love :blue_heart: