这是启用路由器上的upnp设置的有效选项吗? [英] Is this a valid option for enableing the upnp settings on your router?

查看:241
本文介绍了这是启用路由器上的upnp设置的有效选项吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以我一直在四处看看。我目前正在开发这个portforwarding项目并且它运行得非常好,我现在面临的唯一问题是我的应用程序无法在没有启用uPnP设置的路由器上运行。

所以我正在考虑..有没有办法在没有登录路由器的情况下启用此功能,我发现了这个。

如何在Windows中启用UPnP [ ^ ]

我的意思是我不认为会这样做,这种方法是否具有与登录到192.168.0.1并在路由器中的uPnP设置上按启用相同的结果? br $> b $ b

我尝试了什么:



谷歌,尝试使用这些设置,没有看到差异,玩不同的代码库等。

解决方案

没有。我还没有看到基于Windows的路由器 - 我怀疑它们不存在。我见过的所有人都是基于Linux的。并且在路由器上启用uPnP并不会那么简单,因为每个路由器都有不同的配置屏幕,因此您必须分别找出如何为每个路由器执行此操作。


< blockquote class =quote>

Quote:

所以我在想..是否有办法在不登录路由器的情况下启用此功能



简答:不!

如果没有记录,你不会改变任何路由器设置。

引用:

我的意思是,我不认为会这样做,这种方法是否有相同的结果,如果你要登录到192.168.0.1然后按路由器上的uPnP设置启用吗?



Windows有防火墙可以告诉哪个应用可以访问互联网/网络,哪个应用没有。

通过在Windows上激活uPnP,您可以说任何使用uPnP的应用都可以访问Windows上的本地网络。请注意,您已经登录到Windows以在Windows上启用uPnP,最好是以管理员身份启用。


考虑一下您的要求。如果可以通过代码在某些路由器上启用UPNP而不登录路由器,那么什么阻止了网络内部机器上运行的任何恶意软件呢?



您是否希望恶意软件对您的路由器执行此操作?


So i've been looking around. I'm currently working on this portforwarding project and it's going really well, the only issue I am facing right now is that my application doesnt work on the routers that dont have the uPnP settings enabled.
So I was thinking.. Is there a way to enable this feature without logging into your router and I found this.
How to enable UPnP in Windows[^]
I mean like I dont think that will do it, does this method have the same outcome as if you were to login to 192.168.0.1 and press enable on the uPnP settings in your router?

What I have tried:

Googleing, tried using those settings, didnt see a diference, playing around with different code libraries etc.

解决方案

No. I've yet to see a Windows based router - I suspect they don't exist. All the ones I've seen are Linux based. And enabling uPnP on a router is not going to be that simple, as every router has different configuration screens, so you will have to find out how to do it for each router separately.


Quote:

So I was thinking.. Is there a way to enable this feature without logging into your router


Short answer: No!
You will not change any router setting without being logged, no matter what.

Quote:

I mean like I dont think that will do it, does this method have the same outcome as if you were to login to 192.168.0.1 and press enable on the uPnP settings in your router?


Windows have firewall that tell which app have access to internet/network and which app don't.
By activating uPnP on windows, you say that any app using uPnP have access to local network on windows. note that you are already logged to windows to enable uPnP on windows, and preferably as admin.


Think about what you're asking. If it was possible to enable UPNP on someones router from your code WITHOUT logging into the router, what's stopping any malware running on a machine inside the network from doing it?

Would you want malware doing that to your router?


这篇关于这是启用路由器上的upnp设置的有效选项吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆