0

I'm trying to install teamspeak3 server on my VPS (CentOS 7). Everything seems to be installed correctly, it says the server is running when I try to run the startscript again, however I can't connect to the IP that I find in ifconfig. Anyone who could help me out here?

jvh
  • 49
  • 1
  • 7
  • Are you connecting from your external IP? Are your ports forwarded correctly? – Eric F Nov 11 '15 at 12:26
  • @EricF i am connecting from my external IP, yes. About the ports, I followed a guide and it says little to nothing about port forwarding. I'm still pretty new to linux too so honestly I wouldn't know. Thank you for the reply – jvh Nov 11 '15 at 12:27
  • That is my guess as to why it is not working then. Your router is blocking the incoming traffic. Which brand router do you have? – Eric F Nov 11 '15 at 12:28
  • Also port forwarding has nothing to do with linux. It all happens in your router settings. If you tell me your router model I can help tell you how to do this – Eric F Nov 11 '15 at 12:29
  • @EricF My home router? It shouldn't be a problem with my home router because I can connect to other teamspeak servers on the same port just fine. It's not a brand, it's a router I got from my ISP, I can do port forwarding manually through their website – jvh Nov 11 '15 at 12:29
  • Connecting to other servers has nothing to do with it. When connecting to other servers you don't need ports open. Whenever expecting others (including yourself) to connect to your own IP address you need to forward that data past your firewall. You will have to look up the port that TS uses and forward that to your own internal IP address. – Eric F Nov 11 '15 at 12:35
  • @EricF The default port that teamspeak uses is 9987, however the linux server is not on my network. It's on a VPS that I rent. How would I go about port forwarding on a network I don't have access to? – jvh Nov 11 '15 at 12:37
  • Ask the owner of that server to ensure that port 9987 is open then – Eric F Nov 11 '15 at 12:40
  • @EricF I'll check with the helpdesk. Thank you – jvh Nov 11 '15 at 12:42
  • @EricF I was just checking things out some more. Could it be related to iptables? – jvh Nov 11 '15 at 12:51
  • @EricF I figured it out. iptables -A INPUT -p tcp --dport 9987 -j ACCEPT did the trick – jvh Nov 11 '15 at 12:59
  • Glad I could help then – Eric F Nov 11 '15 at 13:01

1 Answers1

0

Had to change my firewall (iptables) to allow input from the port.

iptables -A INPUT -p tcp --dport 9987 -j ACCEPT
jvh
  • 49
  • 1
  • 7