如何在企业代理后面使用stun.l.google.com?
我想configuration我的本地副本
https://github.com/mattermost/mattermost-webrtc/blob/master/vagrant/janus/config/janus.cfg
在Mattermost中启用video通话以进行testing。 一部分是:
[nat] stun_server = stun.l.google.com stun_port = 19302
如何在企业代理后面使用stun.l.google.com
?
我试过了
proxytunnel -p corporate-proxy:7123 -d stun.l.google.com:19302 -a 3098
并用第一部分replace
[nat] stun_server = localhost stun_port = 3098
这导致了
$ docker run -it webrtc_blah_2 Janus commit: ad2c131617ac989df1a1bbd601272a5e448cbb3e Compiled on: Mon Jul 24 13:04:22 UTC 2017 --------------------------------------------------- Starting Meetecho Janus (WebRTC Gateway) v0.2.4 --------------------------------------------------- Checking command line arguments... Debug/log level is 4 Debug/log timestamps are disabled Debug/log colors are enabled Adding 'vmnet' to the ICE ignore list... Using X.17.0.2 as local IP... Token based authentication enabled Initializing recorder code Initializing ICE stuff (Full mode, ICE-TCP candidates disabled, IPv6 support disabled) STUN server to use: localhost:3098 ICE handles watchdog started Testing STUN server: message is of 20 bytes [FATAL] [ice.c:janus_ice_set_stun_server:808] No response to our STUN BINDING test [FATAL] [janus.c:main:3667] Invalid STUN address localhost:3098
类似于默认configuration(见最后两行):
[FATAL] [ice.c:janus_ice_set_stun_server:808] No response to our STUN BINDING test [FATAL] [janus.c:main:3667] Invalid STUN address stun.l.google.com:19302
1.STUN和TURN这两个服务器在其各自的RFC中被定义,只能在公共IP上设置
2.Stun服务器用于给你的防火墙的公共IP,如果你在你的防火墙configuration,你的STUN绑定请求(SBR)将不会导致响应,因为没有外部服务器从防火墙configuration。
3.在STUN服务器的一个非常表面的工作是从源接收SBR,并从传输层检查IP地址,并返回相同的响应加上find一个端口将打开到达源。
4.在同一个端口上打孔,使用STUN绑定指示在整个会话中打开。
关键是不应该configuration防火墙内的STUN或TURN,因为这是没有用的。
- Angular-CLI代理不能在Docker中工作
- Kibana 5.5.1后面的一个nginx 1.13代理(dockerized)
- Nginx反向代理:使用jwilder / nginx-proxy为gitlab容器设置正确的端口
- 如何为dockerconfigurationpolipo的HTTP代理来部署Kubernetes
- 在具有http代理的企业networking上运行docker filebeat
- Azure应用程序容器 – 代理访问端口443 – 混合内容
- docker后面的代理不使用系统代理信息
- 当从Docker Hub中提取图片时由未知权威签名的证书
- 作为Docker Container运行时,squid Proxy不起作用