P2P视频聊天-开放防火墙端口
我刚刚在我的网站上编写了一个类似于 Cirrus 示例应用程序 的 P2P 视频聊天。只要两个用户手动打开 ,它就可以很好地工作RTMFP 所需的端口。 当然,这对我来说是一个大问题——因为没有人会使用它。
这种情况下的标准解决方案是什么?我应该发布如何在不同防火墙上打开端口的说明吗?我应该编写一个要下载的小批处理文件来以编程方式打开端口吗?是否有不同的(商业)工具可以让我以任何其他方式绕过它?
谢谢!
I just wrote a P2P video chat similiar to the Cirrus example application on my web site. It works great, as long as both users manually open the ports required for RTMFP.
Naturally this is a deal breaker for me - since no one will use it.
What is the standard solution in this case? Should I publish the instructions of how to open the ports on different firewalls? Should I write a small batch file to be downloaded that programmatically opens the ports? Is there a different (commercial) tool that allows me to bypass it in any other way?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有“标准”解决方案。
这可以解决问题,但我怀疑您所有的客户都有能力做到这一点。某些安装程序包含在安装程序时打开 PC 防火墙上的端口的说明。这可能就是您正在寻找的。
但是,还有一个您无法控制的问题:如果您客户的设备位于两个 NAT 后面或公司防火墙后面怎么办?网络管理员决不会让您的客户摆弄他们的 NAT。您需要将它们包含在循环中,这意味着繁文缛节。
如果您更深入地研究问题,您将了解到问题的一部分(我的意思是除了打开端口之外)称为 NAT 穿越(或打孔)。您可能需要阅读 Practical JXTA II 书中涵盖此主题的章节,该书中可在 Scribd 上在线阅读,以了解全局情况。
There is no 'standard' solution.
That would solve the problem, but I doubt all your customers have the technical skills to do it. Some installation programs contain instructions to open port on a PC's firewall when installing a program. This could be what you are looking for.
But, there is another issue you will have no control over: what if your customer's device is located behind two NATs or behind a corporate firewall? There is no way the network administrators will let your customers fiddle with their NATs. You'll need to include them in the loop, which means red tape.
If you dig the problem deeper, you will get to understand that part of your issue (I mean beyond opening your ports) is called NAT traversal (or punching holes). You may want to read the chapter covering this topic in the Practical JXTA II book available online for reading at Scribd for a global picture.