Hi,
My longer term goal is to set up a private group Jami network.
Hypothetically consider a group of people have just arrived on Mars and want to set up Jami to communicate between several bases. There is no Internet back to Earth to reach existing Jami infrastructure.
Step 1 is to have a dhtnode (which I installed and seems to be working well)
Step 2 is to have a TURN server (which I have installed and is not working well with Jami)
If anyone can, please offer helpful suggestions on setting up a coturn TURN server.
I have followed: (Note: I used ring instead of sf1 to save retyping this info while testing)
https://docs.jami.net/en_US/developer/going-further/setting-up-your-own-turn-server.html
Setting up your own TURN server
nano /etc/turnserver.conf
listening-port=10000
listening-ip=0.0.0.0
min-port=10000
max-port=30000
lt-cred-mech
realm=ring
turnadmin -a -u ring -p ring -r ring
When testing with:
turn:myturn.mydoman.com:10000 [ring:ring]
All (Gather candidates)
Time Type Foundation Protocol Address Port Priority URL (if present) relayProtocol (if present)
0.001 host 0 udp 0ce2351c-4419-4933-98ce-dd7bfcd99d03.local 58678 126 | 32512 | 255
0.001 host 3 udp 601eb8c2-83be-45be-b956-f15140e4e27a.local 59173 126 | 32256 | 255
0.001 host 6 tcp 0ce2351c-4419-4933-98ce-dd7bfcd99d03.local 9 125 | 32704 | 255
0.001 host 7 tcp 601eb8c2-83be-45be-b956-f15140e4e27a.local 9 125 | 32448 | 255
0.001 host 0 udp 0ce2351c-4419-4933-98ce-dd7bfcd99d03.local 33374 126 | 32512 | 254
0.001 host 3 udp 601eb8c2-83be-45be-b956-f15140e4e27a.local 48514 126 | 32256 | 254
0.001 host 6 tcp 0ce2351c-4419-4933-98ce-dd7bfcd99d03.local 9 125 | 32704 | 254
0.001 host 7 tcp 601eb8c2-83be-45be-b956-f15140e4e27a.local 9 125 | 32448 | 254
0.296 srflx 4 udp zz.zz.zz.zz 59173 100 | 32287 | 255
0.297 relay 5 udp xx.xx.xx.xx 11802 5 | 32287 | 255
0.307 Done
All seems to work well.
However when connecting two Jami users (both behind different NAT firewalls) things did not work:
- sent text was not received
- audio / video calls could not be established
When using turn.jami.net, the two Jami users work correctly with text and calls.
TURN address: turn.jami.net
TURN username: ring
TURN password: ring
TURN Realm: ring