• TeamSpeak has reported a vulnerability in it's client that can potentially lead to RCE. A new version has been released that fixes it. So please update the client in your bot installation as soon as possible as well. Click here for more information.
  • If you need help or want to discuss things, you now can also join us on our Discord Server!

Which ports are used for SinusBot?

Status
Not open for further replies.

CubeDev

Member
1337 is the web-server port in the login panel. Are any other ports used to use the SinusBot? I have setup a firewall and I need to know all used ports. The bots are joining but radio stations do not start "Failed to stream ...". It doesn't matter which radio station. The server's network is fully configured and working.
 

Xuxe

Containerholic
Staff member
V.I.P.
is awesome!
Contributor
Insider
1337 is the web-server port in the login panel. Are any other ports used to use the SinusBot? I have setup a firewall and I need to know all used ports. The bots are joining but radio stations do not start "Failed to stream ...". It doesn't matter which radio station. The server's network is fully configured and working.
Mhm, the Streams Should be running on Port 80.
Default WebInterface Port ist 8087 not 1337.
And you need to configure your outgoing Ports for TS3 (9987).

But easiest way is to DROP INPUT/FORWARD by default and Accept All Output.
 

CubeDev

Member
Mhm, the Streams Should be running on Port 80.
Default WebInterface Port ist 8087 not 1337.
And you need to configure your outgoing Ports for TS3 (9987).

But easiest way is to DROP INPUT/FORWARD by default and Accept All Output.
Can you share the iptables command for that?
 

Xuxe

Containerholic
Staff member
V.I.P.
is awesome!
Contributor
Insider
Code:
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT

iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m conntrack --ctstate INVALID -j DROP

# ssh
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT

# Sinusbot web ui
iptables -A INPUT -p tcp --dport 8087 -m state --state NEW -j ACCEPT
Should Work out of the box, but keep in mind it's a very basic rule chain.
 

CubeDev

Member
Code:
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT

iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m conntrack --ctstate INVALID -j DROP

# ssh
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT

# Sinusbot web ui
iptables -A INPUT -p tcp --dport 8087 -m state --state NEW -j ACCEPT
Should Work out of the box, but keep in mind it's a very basic rule chain.
And that detects all open ports and blocks others? For e.g. my Minecraft Server (Port: 25565), will it still be running with this chain?
 

zoneX

Member
I installed on a local VMWare to test its on Debian 8. But i cant log from my real "local pc", i think is something blocking the conection because I can trace ping from [My PC] 127.0.0.1 to [VMWare] 192.168.247.1 and i get answer, but i go to chrome and put http://192.168.247.1:8087 and dont show nothing... i accept conections from 8087 like Xuxe said:

iptables -A INPUT -p tcp --dport 8087 -m state --state NEW -j ACCEPT


I wanna manage the panel in all pcs of this intranet, after this I will make "public Acces" to acces from everywhere.
 

Xuxe

Containerholic
Staff member
V.I.P.
is awesome!
Contributor
Insider
and dont show nothing..
Can you connect over SSH to your Virtual Machine? If you can check your config.ini set LogLevel=10 and ListenHost to 0.0.0.0 , Restart and it should work.
If it does not work please poste your config.ini and the Output from your Terminal.
 

zoneX

Member
I already solved connect via internal IP addres :)

But now the bot says:

warning: The VAD has been replaced by a hack pending a complete rewrite

And ignoring all msgs
 

Xuxe

Containerholic
Staff member
V.I.P.
is awesome!
Contributor
Insider
warning: The VAD has been replaced by a hack pending a complete rewrite
Is just a warning, from the Client self not the Bot. You have registered your UID to the admin Account? Or Configured a Group for Command Access?
 

zoneX

Member
I've done a user for all "admins" of my teamspeak. Registring group ID

EDIT: I have another problem, i add users like "manager" "user" "zonex" "pakito" on panel and give to them permisions to LOG IN to the panel, and when we try to login with these users says: Unauthorized, onlie the "admin" user can enter to the panel, what can i do?
 
Last edited:

zoneX

Member
2015-10-08T22:21:40+02:00 LOGIN [Narco] FAIL [IP:XXX.XXX.XXX.XXX:50368]

Should I open port 50368 to my vmware?
 

Xuxe

Containerholic
Staff member
V.I.P.
is awesome!
Contributor
Insider
2015-10-08T22:21:40+02:00 LOGIN [Narco] FAIL [IP:XXX.XXX.XXX.XXX:50368]

Should I open port 50368 to my vmware?
This Port is random.

Login Fail means username and or password missmatch.

Because your credentials are correct?
 
Status
Not open for further replies.

Similar threads

Top