Base de connaissances

How do I add an IP to my TeamSpeak Whitelist?

Adding IP addresses to your whitelist lets that IP address connect to your ServerQuery with as many connections as it wants. You need to be very careful with this setting since if that IP becomes compromised there is nothing stopping it from continually attempting to log into the serveradmin account and finally getting in resulting in you losing all control over your server. Please only add IP addresses that you full trust and know are secure. As soon as you no longer trust whoever owns that IP make sure you remove it right away. Before you add any IP to your whitelist ask yourself the following questions.

  • Does this IP really need to be whitelisted? - The only time you really need to whitelist an IP is if the IP will send lots of commands continually to the server, a bot is one good example, but something like a viewer is not.
  • Do I know without a doubt that this IP is secure secure? - Even some major TeamSpeak viewers don't have secured IP addresses yet have thousands of users. Be very careful who has real control since it gives someone full access to your server.
  • Are all the other IP's in the list still secure? - Whenever you update the list make sure you take careful note of any IP addresses that aren't needed anymore always make sure only the absolute necessary IP addresses are added.

How to add the IP into your server whitelist

  1. Log into your VPS via SSH
  2. Navigate to the TeamSpeak 3 folder and show all the files.- If you followed our setup for the server then the commands will be:
    cd /home/ts3/teamspeak3-server_linux_amd64
    ls -la
  3. Open your file for editing- by default the following will be the name of your whitelist file
    nano query_ip_whitelist.txt
  4. Add each IP on its own line - Each IP will be on its own line be careful to not have any other spaces or line breaks in the file.
  5. Save and exit - in nano to save and exit you press ctrl+x. It will ask you if you want to save the buffer and you say yes.
  6. Allow the IP in all firewalls - It is important to make sure you make sure the IP is whitelisted in your firewall. This will make sure that even during attacks where the firewall is working extra hard your IP whitelisted IP always gets through.
  7. You're all done! - The server will automatically get the new IP from the whitelist after a short period usually an hour or so. If you don't want to wait then you can simply restart your TeamSpeak 3 server.
  • 3 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

How Do I Protect My TeamSpeak Server From DDoS Attacks?

Notice: If you have our Fully Managed Support all of this will be done for you by one of our...

Important ServerAdmin Security Notice

There are a lot of guides out there that will tell you to use their script/bot/service with your...

How do I use the ts3server.ini file?

By Default when TeamSpeak is first started it starts with all the defaults. Most users like to...

How do I install TeamSpeak 3 on my server?

1. Log into your VPS with an SSH client. If you don't know how read this guide 2. Install and...

How to automatically restart TeamSpeak after rebooting your server.

Warning!!! Please read! If you have our Fully Managed Support the custom scripts that the our...