01-10-2022, 08:32 AM
https://forum.teamspeak.com/threads/6928...-linux-vps - prawdopodobnie sa objasnienia
Decided to bash my head and learn how to configure iptables..
First you type:
netstat -ant | grep LISTEN
To see what ports your server is listening To.
Then you type (if you don't know already/didn't read Ts docs)
netstat -lnp | grep ts3
To know which ports the TS3 needs to use. (for me its a different port than the default 9987 port)
Then you add an exception to that voice port (or any other port your server listed that isn't on your firewall).
iptables -I INPUT -p tcp --dport *Your teamspeak PORT/needed ports to open* -j ACCEPT
You add all three ports if needed, and then on..
service iptables restart
service iptables save.
Service Protocol Local Port (Server)
Voice UDP 9987
Filetransfer TCP 30033
ServerQuery (raw) TCP 10011
ServerQuery (SSH) TCP 10022
Sewrver w tle juz dziala - lecz nie ma mozliwosci sie z nim polaczyc, prawdopodobnie firewall na serwerze odrzuca polaczenia przychodzace od klientow.
Decided to bash my head and learn how to configure iptables..
First you type:
netstat -ant | grep LISTEN
To see what ports your server is listening To.
Then you type (if you don't know already/didn't read Ts docs)
netstat -lnp | grep ts3
To know which ports the TS3 needs to use. (for me its a different port than the default 9987 port)
Then you add an exception to that voice port (or any other port your server listed that isn't on your firewall).
iptables -I INPUT -p tcp --dport *Your teamspeak PORT/needed ports to open* -j ACCEPT
You add all three ports if needed, and then on..
service iptables restart
service iptables save.
Service Protocol Local Port (Server)
Voice UDP 9987
Filetransfer TCP 30033
ServerQuery (raw) TCP 10011
ServerQuery (SSH) TCP 10022
Sewrver w tle juz dziala - lecz nie ma mozliwosci sie z nim polaczyc, prawdopodobnie firewall na serwerze odrzuca polaczenia przychodzace od klientow.