freeswitch需要开放哪些端口?
我在 CentOS 5.5 上安装了 FreeSWITCH 1.0.6。我相信 CentOS 正在阻止 FreeSWITCH 与我的远程电话联系所需的端口,但我不知道如何在 Linux 中使用 ipTables 或需要打开哪些端口。有人可以帮忙吗?
对于 Asterisk,sip 的端口是 5060 - 5090,还有其他一些端口,但我不记得了。
谢谢你!
I have installed FreeSWITCH 1.0.6 on CentOS 5.5. I believe CentOS is blocking the ports FreeSWITCH needs in order to contact with my remote phones, but I have no idea how to use ipTables in Linux or what ports need to be open. Can anyone help?
With Asterisk the ports were 5060 - 5090 for sip and a few others but I don't remember them.
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
接受的答案是一个糟糕的答案... FreeSWITCH 不使用所有这些端口,并且并非所有端口都在那里定义。对于那些需要指南(使用默认配置)的人:
端口使用情况可能会随着模块使用情况而变化。您可以在 http://confluence.freeswitch.org 上找到该条目,以及有关以下内容的更多(最新)信息:端口使用情况可以在 https://freeswitch.org/confluence/display/FREESWITCH/Firewall
The accepted answer is a bad answer... FreeSWITCH does not use all these ports, and not all port are defined there. For those needing a guideline (using default configs):
Port usage is subject to change with module usage. You can find the entry on http://confluence.freeswitch.org, and more (up to date) information about port usage can be found at https://freeswitch.org/confluence/display/FREESWITCH/Firewall
最好的参考似乎是:
http://wiki.freeswitch.org/wiki/Firewall
所有端口都取决于您的模块使用情况(即,如果您使用 Web api,则为 8080)。请记住,提到的所有端口都是默认端口并且是可配置的。
Best reference seems to be :
http://wiki.freeswitch.org/wiki/Firewall
All of the ports are dependent on your module usage (ie. 8080 if you are using the web api). Keep in mind that all of the ports mentioned are defaults and are configurable.
我无法将 FreeSWITCH wiki 与我的设置的端口相匹配,最后我使用了我的机器报告的实际开放端口,运行以下命令来找出 FreeSWITCH 在您的设备上使用的内容:
I could not match FreeSWITCH wiki to ports to my setup, in the end I went with what actual open ports were reported by my machine, run the following to find out what FreeSWITCH is using on your rig:
没关系,笨蛋,我自己弄清楚了:
Nevermind chumps, I figured it out myself: