-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get built-in STUN/TURN server to work #113
Comments
Hi, I think your old: ports:
- "5222:5222"
- "5223:5223"
- "5269:5269"
- "5280:5280"
- "5443:5443"
- "3478:3478" # stun/turn
- "5349:5349" # stuns/turns
- "49152-49500:49152-49500" # turn new: ports:
- "5222:5222"
- "5223:5223"
- "5269:5269"
- "5280:5280"
- "5443:5443"
- "3478:3478/udp" # stun/turn
- "5349:5349" # stuns/turns
- "49152-49500:49152-49500/udp" # turn |
Unfortunately, that still doesn't work. :/ |
Although not recommended from Docker best practices, could you give it a try to run it in the host network instead with Docker port forwarding? (although I am not convinced it is the problem). instead of the network_mode: "host" |
Just tried it, and that doesn't seem to work either. My tests involved starting video calls between two different accounts on different devices and different networks, a PC running It is possible that I am doing something wrong with the configuration outside of Ejabberd (DNS or port forwarding), but I've tried all the ideas I had and double-checked everything and nothing worked. I might try setting up a If anyone has any pointers of where I might be doing something wrong or any advice, that would be greatly appreciated. |
Hm.. I will need to test it myself locally, because I do not spot anything obvious in your configuration. P.S. I tested icetest.info with the following podman run --rm --name ejabberd -d -p 3479:3478/udp -v $PWD/ejabberd.yml:/home/ejabberd/conf/ejabberd.yml docker.io/ejabberd/ecs For When configuring icetest with P.S. 2: I added the following -
port: 3478
ip: "::"
transport: udp
module: ejabberd_stun
use_turn: true
auth_type: anonymous When running icetest.info with Note: |
Thank you. I will go over my configuration one more time. |
Hello! I recently installed and set up the docker version of Ejabberd from
docker.io/ejabberd/ecs
. Here is mydocker-compose.yml
file:All the chat functions seem to work great. I then tried to set up the built-in STUN/TURN server to enable voice and video calls. I added/edited the following in my
ejabberd.yml
file:I have the following ports forwarded on my router:
I also have the following DNS records set up:
I haven't been able to get the STUN/TURN server to work. Any advice would be greatly appreciated!
It is also worth noting that I have a Nginx Proxy Manager reverse proxy setup that manages my SSL certificates and through which all the HTTP/HTTPS traffic gets routed. However, the XMPP and STUN/TURN traffic should not get routed through it since (as far as I'm aware) they don't use ports 80/443.
The text was updated successfully, but these errors were encountered: