Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize remote Control through 23 Port Penetration in EasyNTS Intelligent Cloud Network

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

It is believed that many inexperienced people don't know what to do about how EasyNTS intelligent cloud network realizes remote control through port 23. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

EasyNTS is a video upper cloud gateway device developed by TSINGSEE Qingxie video team. EasyNTS cloud terminals are arranged on the device site, and the EasyNTS cloud gateway runs on Aliyun / Tencent Cloud / self-built cloud. It controls the network situation of all devices at the scene anytime and anywhere, and greatly reduces the OPS cost of the site through remote debugging and troubleshooting.

TSINGSEE blue rhinoceros video in the research and development of EasyNTS, added a remote control function, this article will give you a brief introduction to this function.

In the cloud gateway on EasyNTS, click the console, which is equivalent to the telnet command, and you can remotely log in to the device for control. However, if port 23 on the device side is not penetrated before remote login, an error that the port is not configured will be reported after clicking the console.

How to confirm whether port 23 is penetrating? We have designed a string of code to verify whether there is a penetrating port from the code after penetrating port 23 of the device side, and if so, start to form a tcp long connection with the device side for remote control.

The compiled code is as follows:

Tpc.DeviceId = form.IDtpc.LocalIp = "127.0.0.1" tpc.LocalPort = "23" tpc.Type = "Tcp" dao.DB (). First (& tpc) if tpc.RemotePort = = consts.EmptyString {AbortWithString (c, http.StatusBadRequest, consts.MsgErrorNeedTunnelPort) return} var ntst do.TNtsTntst.ID = tpc.NtsTIddao.DB (). Where (ntst). First (& ntst) if ntst.Addr = consts.EmptyString {AbortWithString (c, http.StatusBadRequest, consts.MsgNoNTST) return} conn Err: = gote.Dial ("tcp", fmt.Sprintf ("% tcp% s", ntst.Addr, tpc.RemotePort)) if err! = nil {errUnmarshal = do.JsonResponse {HasError: true, Message: do.SIGN_IN_FORM_TYPE_ERROR_VALID}} else {conn.Close () errUnmarshal = do.JsonResponse {HasError: false, Addition: "telnet", UserName: device.RemoteUser, Port: estring.ParseInt (tpc.RemotePort)}}

The following is the interface for the device side to successfully penetrate port 23:

More about Cloud Gateway on EasyNTS

The function of the cloud gateway on the EasyNTS is to network the private network IP:Port of the device to the cloud gateway server on the EasyNTS when the private network device has no public network fixed IP address to form the Internet public network IP:Port, which facilitates the opening and calling of the device capability.

After reading the above, have you mastered how EasyNTS Intelligent Cloud networking achieves remote control through port 23 penetration? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report