无法在Ubuntu中使用外部IP,Coturn服务器来欺骗ICE服务器

时间:2017-06-19 10:18:44

标签: nat rfc5766turnserver coturn trickle

我已在 Ubuntu 中设置了来自网址https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html#coturn的Coturn服务器。

Turnserver在使用local-ip时工作正常,但是当我尝试使用exernal-ip进行涓流时我得到错误无法访问?

如果我从浏览器URL访问turnserver,我可以使用external-ip访问它。我收到消息。

  

TURN服务器    https管理员连接

     

要使用HTTPS管理连接,您必须使用admin用户帐户设置数据库表 _admin_user _

我的 turnserver.conf 如下所示:

user=test:test123    
listening-port=3478     
tls-listening-port=5349

listening-ip=192.168.22.101    
relay-ip=192.168.22.101    
external-ip=202.137.12.10

realm=yourdomain.com    
server-name=yourdomain.com

lt-cred-mech    
userdb=/etc/turnuserdb.conf

cert=/etc/ssl/my-certificate.pem
pkey=/etc/ssl/my-private.key

no-stdout-log

我正在使用命令启动转向服务器:

sudo turnserver -a

我尝试使用以下格式涓流:

turn:202.137.12.10:3478[test:test123]

涓流https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

请告诉我哪里出错了。

0 个答案:

没有答案