模拟 UPnP 路由器
我想向应用程序添加自动端口转发(NAT 遍历)选项。
我知道这可以使用 UPnP (特别是与将自身呈现为 IGD - 互联网网关设备的设备进行通信的部分)来完成。
我需要能够在开发时测试此端口转发功能。 无论大型路由器系统公司的流量是通过
不提供 UPnP 进行路由的。
不希望我在实时服务中摆弄它。
我的问题是:
有人知道有任何软件可以充当或模拟 UPnP 兼容路由器吗?
I want to add the option of automatic port forwarding (NAT Traversal) to an application.
I know this can be done using UPnP (specifically the part that communicates with the device presenting itself as an IGD - Internet Gateway Device).
I need to be able to test this port forwarding feature while developing it. And whatever big router system company traffic is routered over
Doesn't provide UPnP.
Wouldn't want me messing around with it while it's in live service.
My question is:
Does anyone know of any software that acts as or emulates a UPnP compatible router?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 Windows 防火墙/Internet 连接共享,默认支持 UPnp。 只需设置另一台计算机,并激活 Internet 连接共享,您就会拥有一个 UPnp 路由器。
此外,您还可以在此处查看 UPnp 论坛以获取更多信息。
稍后编辑:
您还可以尝试设置 linux/unix firwall 并激活 igd 。
这是 ubuntu 的论坛帖子。
还有一个 miniUPnp 项目。
You could use Windows Firewall / Internet Connection Sharing, which supports UPnp by default. Just setup another machine, with Internet Connection Sharing activated, and you will have a UPnp router.
Also, you could check the UPnp forum for more information here.
Later edit:
You could also try setting up a linux/unix firwall with igd activated.
Here is a forum post for ubuntu.
And there is a miniUPnp project too.