• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Server Iptables Firewall

dumpmyself

Active member
Premium User
Hello,

I had make an iptables rules, blocking all ports and allow only 9987.
But i need to know what is the ip of license server to allow connection.


[DEBUG] GLOBL | Failed to resolve hostname for license server: result is null
[CRITICAL] GLOBL | Failed to validate license:
[CRITICAL] GLOBL | result is null
[CRITICAL] GLOBL | Stopping server!
[INFO ] GEN | Stopping all server instances!
[INFO ] GEN | Stopping application
[DEBUG] GLOBL | Stopping all virtual servers
 

Vafin

TeaFanatic
You must open these ports

ServiceProtocolLocal Port (Server)Remote Port (Client)
Voice UDP 9987 1024-65535
Filetransfer TCP 30033 1024-65535
ServerQuery (raw) TCP 10101 1024-65535
ServerQuery (SSH) TCP 10022 1024-65535
TSDNS (optional) TCP 41144 1024-65535
 

REDOSS

TeaSpeak Team
Staff member
TeaTeam
I understand the issue has been resolved? In fact, I would fix this post as informative, since this question has been met many times, but what will @WolverinDEV say to this?
 

WolverinDEV

TeaSpeak Team
Staff member
Administrator
@Vafin
TeaSpeak has no SSH protocol only SSL which is on the same port as raw (which may change in the future, but not now)
As well you're missing the default WebClient port range (TCP).
Port 9987 is also UDP and TCP due to the web client.

There will also be some outgoing connections to license.teaspeak.de (ATTENTION: The server behind this address may change without any notification!)
 

farhadhelix

TeaFanatic
Hello,

I had make an iptables rules, blocking all ports and allow only 9987.
But i need to know what is the ip of license server to allow connection.


[DEBUG] GLOBL | Failed to resolve hostname for license server: result is null
[CRITICAL] GLOBL | Failed to validate license:
[CRITICAL] GLOBL | result is null
[CRITICAL] GLOBL | Stopping server!
[INFO ] GEN | Stopping all server instances!
[INFO ] GEN | Stopping application
[DEBUG] GLOBL | Stopping all virtual servers
you even closing outbound port?thats not really neseccery
 

dumpmyself

Active member
Premium User
@farhadhelix I do what i want ok?
@REDOSS Im checking waiting to a new loop of verification on license, the last time had crash again, after i had make an few more modification's now im waiting again. After if i resolve it i will let everyone know here and maybe post what i had done.
@WolverinDEV I had open all bandwidth to license.teaspeak.de IP, but it work's on a specified port?
Bash:
hostname="license.teaspeak.de"
ip=$(dig +short $hostname)


if [ -n "$ip" ]; then
    iptables -t raw -A OixB.run_vps43 -s $ip -j ACCEPT
    iptables -t raw -A OixB.run_vps43 -d $ip -j ACCEPT
else
    echo Could not resolve hostname.
fi
@farhadhelix First ask what i want to do, then u give your opinion. :censored::eek::eek: