teamspeak-linux-docker-images icon indicating copy to clipboard operation
teamspeak-linux-docker-images copied to clipboard

wrong IP in client information (teamspeak)

Open keigel2001 opened this issue 6 years ago • 19 comments

When showing the client information of connected clients in teamspeak, it's showing the wrong ip. It's showing 172.17.0.1. All clients are connecting from 172.17.0.1. This is actually the gateway-ip of docker (you can look it up with docker inspect containername)

docker run --detach \
   --publish 9987:9987/udp --publish 10011:10011 --publish 30033:30033 --publish 41144:41144 \
   --name teamspeak \
   --restart unless-stopped \
   --env TZ=Europe/Berlin \
   --volume /srv/teamspeak:/var/ts3server \
   teamspeak:latest
uname -a
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
docker version
Client:
 Version:       18.03.0-ce
 API version:   1.37
 Go version:    go1.9.4
 Git commit:    0520e24
 Built: Wed Mar 21 23:10:06 2018
 OS/Arch:       linux/amd64
 Experimental:  false
 Orchestrator:  swarm

Server:
 Engine:
  Version:      18.03.0-ce
  API version:  1.37 (minimum version 1.12)
  Go version:   go1.9.4
  Git commit:   0520e24
  Built:        Wed Mar 21 23:08:35 2018
  OS/Arch:      linux/amd64
  Experimental: false

I had the same problem with multiple other teamspeak docker images for the last months. I even installed a VM with just debian stretch and docker on it to test if another application is interfering. Same problem. It's not happening everytime, but very often. Seems like a round-robin thing or sth.

Only solution I've found was changing the docker --network to host. But that's not the greatest solution in terms of security.

keigel2001 avatar Mar 22 '18 17:03 keigel2001