@MichaIng
here is my condition :
- nextcloud server on freenas jail
Public IP : 1xx.xxx.xx1
LAN IP : 192.168.0.9
NAT : port 443 & 80 from 1xx.xxx.xx1
nextcloud working normally
- Coturn Server stand alone server : using public IP
Public IP : 1xx.xxx.xx9
=======================
scenario 1 :
Coturn using vps at digital ocean
Public IP
nextcloud talk between 2 smartphone outside lan network ( working )
scenario 2 :
Coturn using stand alone server with Public IP : 1xx.xxx.xx9
nextcloud talk between 2 smartphone outside lan network ( Not working )
==================================
regarding to your last post , my coturn server is :
But if there is no NAT between www and Coturn, AFAIK you simply set listening-ip
and relay-ip
(as those are then always the same) and it should work
the question is : which ip address that i must input in “listening-ip” and “relay-ip” ?
nextcloud server public ip ? or coturn server public ip ?
====================================
and here is the log :
root@coturn:/home/administrator# journalctl -u coturn
– Logs begin at Sat 2020-08-01 05:05:55 UTC, end at Tue 2020-08-04 13:09:32 UTC. –
Aug 03 04:34:33 coturn systemd[1]: Starting coTURN STUN/TURN Server…
Aug 03 04:34:33 coturn turnserver[5662]: 0:
RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
Version Coturn-4.5.1.1 ‘dan Eider’
Aug 03 04:34:33 coturn turnserver[5662]: 0:
Max number of open files/sockets allowed for this process: 524288
Aug 03 04:34:33 coturn turnserver[5662]: 0:
Due to the open files/sockets limitation,
max supported number of TURN Sessions possible is: 262000 (approximately)
Aug 03 04:34:33 coturn turnserver[5662]: 0:
==== Show him the instruments, Practical Frost: ====
Aug 03 04:34:33 coturn turnserver[5662]: 0: TLS supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: DTLS supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: DTLS 1.2 supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: TURN/STUN ALPN supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: Third-party authorization (oAuth) supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: GCM (AEAD) supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: OpenSSL compile-time version: OpenSSL 1.1.1f 31 Mar 2020 (0x1010106f)
Aug 03 04:34:33 coturn turnserver[5662]: 0:
Aug 03 04:34:33 coturn turnserver[5662]: 0: SQLite supported, default database location is /var/lib/turn/turndb
Aug 03 04:34:33 coturn turnserver[5662]: 0: Redis supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: PostgreSQL supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: MySQL supported
Aug 03 04:34:33 coturn turnserver[5662]: 0: MongoDB is not supported
Aug 03 04:34:33 coturn turnserver[5662]: 0:
Aug 03 04:34:33 coturn turnserver[5662]: 0: Default Net Engine version: 3 (UDP thread per CPU core)
=====================================================
Aug 03 04:34:33 coturn turnserver[5662]: 0: Domain name:
Aug 03 04:34:33 coturn turnserver[5662]: 0: Default realm:
Aug 03 04:34:33 coturn turnserver[5662]: 0:
CONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!
Aug 03 04:34:33 coturn turnserver[5662]: 0: WARNING: cannot find certificate file: turn_server_cert.pem (1)
Aug 03 04:34:33 coturn turnserver[5662]: 0: WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly
Aug 03 04:34:33 coturn turnserver[5662]: 0: WARNING: cannot find private key file: turn_server_pkey.pem (1)
Aug 03 04:34:33 coturn turnserver[5662]: 0: WARNING: cannot start TLS and DTLS listeners because private key file is not set properly
Aug 03 04:34:33 coturn turnserver[5662]: 0: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
Aug 03 04:34:33 coturn turnserver[5662]: 0: ===========Discovering listener addresses: =========
Aug 03 04:34:33 coturn turnserver[5662]: 0: Listener address to use: 127.0.0.1
Aug 03 04:34:33 coturn turnserver[5662]: 0: Listener address to use: 1xx.xxx.xx9
Aug 03 04:34:33 coturn turnserver[5662]: 0: Listener address to use: ::1
lines 1-43