Floating IP not forwarding traffic

April 19, 2016 5.7k views
Firewall High Availability Networking Debian Load Balancing

I have ran into an odd issue I haven’t been able to solve when using a Floating IP. I have a Teamspeak 3 server running, binding to for each service (filemanager 30033/tcp, query 10011/tcp and voice 9987/tcp).

I can access this server when connecting to my droplets ip address directly, but not it’s Floating IP address. Other services such as ssh, ftp, http and https work as expected.

  • Could you show the output of iptables-save -c, ip addr and ip route ?

  • Sure, you can view the output here

  • I’m watching this ticket. I’m currently having exactly the same issue.

  • @jimmyb9f8d922f0 Interesting, good to know I’m not the only one experiencing this issue. Are you also getting the issue with a teamspeak server, or some other service?

  • I’m having the same issue. Since teamspeak works fine without the floater ip and other services work fine with the floater ip it seems like it would be a configuration in teamspeak but I have no idea what would be causing this. I’m currently testing out digital ocean and the floating ip is one of the primary features i like about it but its useless if i can’t use it with teamspeak.

3 Answers

I’m encountering the issue with SSH. Anytime I try to ssh to the box using the floating ip address the attempt times out. I can successfully ssh to the non-floating IP address.

I can successfully ssh to the floating ip if I drop the firewall, so I believe the issue is somehow firewall related. I should add, I have the same exact rules in the firewall for both the floating and non-floating ip.

OK I got teamspeak working using the floating ip. Install teampeak in docker using this docker image with the volume method:
You won’t have access to the config files or database but they will be in the ts3-data volume so when there is an update you can load a new docker container with the same data volume.
docker volume create (Since docker-engine 1.9)

docker volume create –name ts3-data
docker run –name=ts3 -p 9987:9987/udp -p 30033:30033 -p 10011:10011 -v ts3-data:/home/ts3/data devalx/docker-teamspeak3:latest


  • As a side note I couldn’t get the mounted host directory option to load without having my own data files and when i tried this from a different docker image of teamspeak the floater ip didn’t work so I suspect there is something devalx changed in his image to make it work.

Have another answer? Share your knowledge.