如何远程访问LAN网络(嵌入式)设备,而无需端口转发? [英] How to remotely access a LAN network (embedded) device without port forwarding?

查看:268
本文介绍了如何远程访问LAN网络(嵌入式)设备,而无需端口转发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我环顾四周SO,并没有发现正是我要找的,所以请原谅我,如果这是一个重复的答案。如果有,请告诉我到答案。谢谢你。

I've looked around SO and haven't found exactly the answer I'm looking for, so please forgive me if this is a duplicate. If so, please direct me to the answer. Thanks.

我有带wifi连接的嵌入式传感器/执行器系统,以我的局域网。

I've got an embedded sensor/actuator system with wifi connectivity to my LAN.

什么是可能的软件/协议解决方案,所以我能够沟通,​​能够远程控制它,从我的网络与iPhone / Android的(即通过3G / 4G)和/或远程PC?

What are possible software/protocol solutions so i can communicate with and control it remotely, from outside my network with an iPhone/Android (i.e. via 3G/4G) and/or a remote PC?

我不希望有我的配置路由器端口转发。

i don't want to have to configure my router for port forwarding.

下面是一些其他的考虑:

Here are a few other considerations:


  • 嵌入式处理平台是pretty限制(即它不是一个ARM)

  • 安全性是非常重要的(即不希望别人能够轻松地访问)

  • 的可扩展性 - 如果此项目进展的商业,这种模式很多,许多用户的可扩展性是非常重要的

  • 用户简单(即最终用户没有凌乱的配置请求数)

我听说过一些关于MQTT,这看起来似乎是一个解决方案,但我不能确定安全性。对此有何想法?

I've heard a little about MQTT, which looks like it might be a solution, but I'm not sure about security. Any thoughts on that?

这是没有任何其他的选择?

Any other options that are free?

非常感谢,布赖恩

推荐答案

要使用MQTT你需要一个经纪人可访问来自网络内部和外部。

To use MQTT you will need a broker that is accessible from both inside the network and outside.

因此​​,假如你举办自己的经纪人,你需要设置端口转发,允许从移动设备访问。另一种选择是主办云服务代理。

So assuming you host your own broker you will need to set up port forwarding to allow access to it from the mobile device. The other option would be host the broker on a cloud service.

Security可以通过做MQTT通过SSL,并使用客户端证书身份验证所以只有您的客户端应用程序可以连接到经纪商进行处理。

Security can be handled by doing MQTT over SSL and using client side certificate authentication so only your client application can connect to broker.

这篇关于如何远程访问LAN网络(嵌入式)设备,而无需端口转发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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