两个具有相同IP但不同端口的电击服务器(Coturn)
我正在尝试使用两个眩晕服务器来确定NAT的映射行为。我需要两个具有相同IP但不同端口的眩晕服务器。 我想知道是否可以在同一主机上设置两个 coturn Stun服务器。
I'm trying to determine the mapping behaviour of a NAT using two STUN servers. I need two stun servers with the same IP but different port.
I was wondering if it's possible to set up two coturn stun servers on the same host.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
假设您的主机为两个或多个有效的IP地址。在下面的示例中,假设主机有两个公共IP地址:
1.2.3.4
和1.2.3.5
。stuntman 如果同一主机提供了此选项,则可以将此选项绑定到多个IP地址。
如果在带有端口转发的NAT环境中运行(例如AWS),则可以指定IP映射,以便
更改_ADDRESS
或(eleth_address
)是正确的它响应眩晕的约束要求。示例:其中10.0.0.4和10.0.0.5是主机的私人LAN IP地址。
coturn 与
-L
和<代码> -x带有
-x
选项,用于在NAT方案中指定广告地址的选项。Assuming your host as two or more valid IP addresses. In the examples below, let's assume the host has two public IP addresses:
1.2.3.4
and1.2.3.5
.stuntman has this option to bind to multiple IP addresses if offered by the same host.
And if running in a NAT'd environment with port forwarding (such as AWS), you can specify the IP mappings such that the
CHANGED_ADDRESS
or (OTHER_ADDRESS
) will be correct when it responds to STUN binding requests. Example:Where 10.0.0.4 and 10.0.0.5 are the private LAN ip addresses of the host.
coturn appears to have the same option with the
-L
and-X
optionsWith the
-X
option used to specify the advertised address in a NAT scenario.