Intranet remote access method, system, device and medium

By creating a local secure connection channel in the remote access system of the intranet device and verifying the login information, the problem of low remote access security of intranet devices in the prior art is solved, and higher security and data interaction protection is achieved.

CN118972146APending Publication Date: 2024-11-15SHEN ZHOU SHU MA WANG LUO BEI JING YOU XIAN GONG SI +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411207898.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

In the prior art, remote access of intranet devices has problems with low security, and illegal users may scan ports and brute force to crack, resulting in reduced device security.

Method used

The first terminal generates an intranet device connection request, the second server receives and forwards it to the first server, the first server creates a local secure connection channel, and verifies the login information to avoid the port being directly exposed to the public network, and use Local secure connection channel for data interaction.

Benefits of technology

Effectively prevent illegal users from directly accessing ports, improve the security of remote access, and ensure the security of data interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972146A_ABST
    Figure CN118972146A_ABST
Patent Text Reader

Abstract

The invention discloses an intranet remote access method, system, device and medium, and relates to the technical field of communication security, the method is applied to a first server, and comprises the following steps: receiving an intranet device connection request forwarded by a second server; the intranet device connection request is sent by the first terminal to a second server, and the intranet device connection request carries intranet device connection information; creating a local secure connection channel according to the intranet device connection request, and feeding back connection success information to the first terminal; receiving first login information sent by the first terminal; the first login information comprises a first user name and a first password; when the first login information is verified to be correct, verification passing information is fed back to the first terminal, and remote access information sent by the first terminal is received. The local secure connection channel is used as a secure channel for data interaction, and the login information of the first terminal is verified, so that the port of the first server side is prevented from being directly exposed to the second server side, and the remote access security is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to the field of communication security technology, and specifically relates to an intranet remote access method, system, device and medium. Background Art

[0002] In an enterprise intranet, even if the intranet device does not have a public IP address, the intranet terminal (such as a computer, mobile phone, etc.) can still access the Internet. This is because the enterprise intranet is usually connected to the Internet through one or more routers or firewalls with public IP addresses. However, intranet devices usually do not have public IP addresses, which means that there is no globally unique network address assigned to it, resulting in the inability of devices on the Internet to directly establish a connection with the intranet device and unable to identify the private IP address of the intranet device; in addition, for security reasons, the enterprise intranet is usually protected by a firewall, and the firewall will also block unauthorized external access attempts. Therefore, there is a problem of security and efficiency of remote access from the Internet to intranet devices.

[0003] At present, in the conventional system of remote access to intranet devices, reverse proxy and port mapping are usually used to directly expose the SSH port of the intranet device to the public Internet. Illegal users may scan the port and crack it by brute force, which greatly reduces the security of the device. Therefore, we propose an intranet remote access method, system, device and medium to solve the above problems. Summary of the invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desirable to provide an intranet remote access method, system, device and medium that improve the security of remote access.

[0005] In a first aspect, the present application provides an intranet remote access method, which is applied to a first server, and the method comprises the following steps:

[0006] receiving an intranet device connection request forwarded by the second server; the intranet device connection request is sent by the first terminal to the second server, and the intranet device connection request carries intranet device connection information;

[0007] Creating a local secure connection channel according to the intranet device connection request, and feeding back connection success information to the first terminal;

[0008] Receiving first login information sent by the first terminal; the first login information at least includes: a first user name and a first password;

[0009] When the first login information is verified to be correct, verification pass information is fed back to the first terminal, and remote access information sent by the first terminal is received.

[0010] According to the technical solution provided in the embodiment of the present application, receiving the intranet device connection request forwarded by the second server specifically includes the following steps:

[0011] Sending a first connection request to the second server; the first connection request carries connection information;

[0012] After receiving the request success information sent by the second server, receive the intranet device connection request forwarded by the second server.

[0013] In a second aspect, the present application provides an intranet remote access method, which is applied to a second server, and the method comprises the following steps:

[0014] Receiving a first connection request sent by a first server; the first connection request carries connection information;

[0015] Creating an intranet device proxy port according to the first connection request, and receiving an intranet device connection request sent by the first terminal; the intranet device connection request carries intranet device connection information;

[0016] Forward the intranet device connection request to the first server.

[0017] According to the technical solution provided in the embodiment of the present application, receiving the intranet device connection request sent by the first terminal specifically includes the following steps:

[0018] Receiving second login information sent by the first terminal; the second login information at least includes: a second user name and a second password;

[0019] When it is verified that the second login information is correct, the login success information is fed back to the first terminal, and the intranet device connection request sent by the first terminal is received.

[0020] In a third aspect, the present application provides an intranet remote access method, which is applied to a first terminal, and the method comprises the following steps:

[0021] Sending an intranet device connection request to the second server; the intranet device connection request carries intranet device connection information;

[0022] Receiving connection success information sent by the first server; the connection success information is generated when the first server receives the intranet device connection request forwarded by the second server and creates a local secure connection channel;

[0023] Sending first login information to the first server; the first login information at least includes: a first user name and a first password;

[0024] Receive verification information fed back by the first server, and send remote access information to the first server; the verification information is generated when the first server verifies that the first login information is correct.

[0025] According to the technical solution provided in the embodiment of the present application, sending an intranet device connection request to the second server specifically includes the following steps:

[0026] Sending second login information to the second server; the second login information at least includes: a second user name and a second password;

[0027] Receive the login pass information sent by the second server, and send an intranet device connection request to the second server; the login pass information is generated when the second server verifies that the second login information is correct.

[0028] In a fourth aspect, the present application provides an intranet remote access system, comprising: a first server, a second server and a first terminal; the first server comprises: a communication-connected intranet device module and a proxy module; the second server comprises: a communication-connected proxy service module and a proxy network module;

[0029] The proxy module is used to send a first connection request to the proxy service module; the first connection request carries connection information;

[0030] The proxy service module is used to create an intranet device proxy port according to the first connection request and feed back request success information to the proxy module;

[0031] The first terminal is used to send second login information to the proxy network module;

[0032] The proxy network module is used to feedback login success information to the first terminal when verifying that the second login information is correct;

[0033] The first terminal is further used to send an intranet device connection request to the proxy network module; the intranet device connection request carries intranet device connection information;

[0034] The proxy network module is further used to send the intranet device connection request to the intranet device proxy port;

[0035] The proxy service module is further used to forward the intranet device connection request to the proxy module;

[0036] The proxy module is further used to create a local secure connection channel according to the intranet device connection request and feedback connection success information to the first terminal;

[0037] The first terminal is further used to send first login information to the intranet device module; the first login information at least includes: a first user name and a first password;

[0038] The intranet device module is further configured to feed back verification pass information to the first terminal when verifying that the first login information is correct;

[0039] The first terminal is further configured to send remote access information to the intranet device module when receiving the verification pass information.

[0040] In a fifth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of an intranet remote access method as described above when executing the computer program.

[0041] In a sixth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of an intranet remote access method as described above are implemented.

[0042] It can be seen from the above technical solution that the present application has at least the following beneficial effects:

[0043] The present application discloses an intranet remote access method, in which a first terminal sends an intranet device connection request to a second server, the first server receives the intranet device connection request forwarded by the second server, then creates a local secure connection channel according to the intranet device connection request, and feeds back connection success information to the first terminal, then receives first login information sent by the first terminal, and when verifying that the first login information is correct, feeds back verification pass information to the first terminal, and receives remote access information sent by the first terminal.

[0044] The method uses a first terminal to generate an intranet device connection request, a second server receives the intranet device connection request and forwards it to the first server, the first server creates a local secure connection channel according to the intranet device connection request, and feeds back connection success information to the first terminal, using the local secure connection channel as a secure channel for data interaction, and then the first server receives the first login information sent by the first terminal, and when the first login information is verified to be correct, it feeds back verification pass information to the first terminal, after which the first terminal can send remote access information to the first server, thereby realizing data interaction between the first server and the first terminal. Compared with the traditional remote access intranet method, the present application uses a local secure connection channel as a secure channel for data interaction, and verifies the login information of the first terminal, thereby avoiding direct exposure of the port of the first server to the second server, effectively preventing illegal users from directly accessing the port, and achieving the purpose of improving remote access security. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Other features, objects and advantages of the present application will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings.

[0046] Figure 1 The figure is a flowchart of the intranet remote access method.

[0047] Figure 2 This is a structural diagram of the intranet remote access system.

[0048] Figure 3 A schematic diagram of the structure of an electronic device.

[0049] Numbers in the figure: 1. first server end; 2. second server end; 3. first terminal; 11. intranet device module; 12. proxy module; 21. proxy service module; 22. proxy network module; 211. intranet device proxy port; 500. electronic device; 501. CPU; 502. ROM; 503. RAM; 504. bus; 505. I / O interface; 506. input part; 507. output part; 508. storage part; 509. communication part; 510. drive; 511. removable medium. DETAILED DESCRIPTION

[0050] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0051] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0052] In order to make the description of the following embodiments clear and concise, a brief introduction to the related technology is first given:

[0053] In an enterprise intranet, even if the wireless access controller does not have a public IP address, intranet devices can still access the Internet. This is because intranet devices (such as computers, mobile phones, etc.) are connected to intranet devices through the local network. The intranet devices forward the network requests of the intranet devices to the router or firewall of the intranet, and then the router or firewall forwards these requests to the Internet through its public IP address. Therefore, even if the intranet device does not have a public IP, the intranet device can access the Internet through the public IP of the router or firewall. However, intranet devices usually do not have a public IP address, which means that there is no globally unique network address assigned to it. Due to the lack of a public IP address, devices on the Internet cannot directly establish a connection with the intranet device because they cannot recognize the private IP address of the intranet device. In addition, for security reasons, the enterprise intranet is usually protected by a firewall, which will block unauthorized external access attempts, so intranet devices cannot be directly accessed from the Internet.

[0054] Currently, in conventional systems for remotely accessing intranet devices, reverse proxy and port mapping are usually used to directly expose the SSH port of the intranet device to the public Internet. Illegal users may scan the port and crack it by brute force, which greatly reduces the security of the device.

[0055] In view of this, the present application provides an intranet remote access method, which can be applied to a first server, a second server, or a first terminal. Specifically, the method uses the first terminal to generate an intranet device connection request, the second server receives the intranet device connection request and forwards it to the first server, the first server creates a local secure connection channel based on the intranet device connection request, and feeds back connection success information to the first terminal, using the local secure connection channel as a secure channel for data interaction, and then the first server receives the first login information sent by the first terminal. When the first login information is verified to be correct, the verification pass information is fed back to the first terminal, and then the first terminal can send remote access information to the first server to realize data interaction between the first server and the first terminal.

[0056] The intranet device involved in this application refers to a device without a public IP, which has an SSH service and can be accessed through the intranet through an SSH tool, such as putty.

[0057] In order to make the technical solution of the present application clearer and easier to understand, the certificate generation method provided by the embodiment of the present application is introduced below in conjunction with the accompanying drawings. Figure 1 As shown in the figure, this figure is a flowchart of generating temporary certificate information provided by an embodiment of the present application, and the method includes the following steps:

[0058] S100: The proxy module sends a first connection request to the proxy service module.

[0059] Among them, the proxy module is the ProxyClient module, which runs on the first server, and the proxy service module is the ProxyServer module, which runs on the second server; the first server refers to the enterprise intranet device, and the second server refers to the cloud server, which can be understood as the Internet public network.

[0060] The first connection request is a registration request for the proxy module to establish a communication connection with the proxy service module. The first connection request carries connection information, and the connection information at least includes: a registration name and a registration password. The registration name can be a device name or IP name unique to the first server, and the registration password can be a password randomly generated and regularly updated by the first server, to prevent some data or information of the first server from being exposed and the device address from being tracked, reduce the risk of obtaining browsing traces, and improve device security.

[0061] For example, after the enterprise intranet device is started, the ProxyClient module sends a first connection request, and the ProxyServer module serves as a port proxy of the cloud server, receives the first connection request, and then executes step S101.

[0062] S101. The proxy service module creates an intranet device proxy port according to a first connection request, and feeds back request success information to the proxy module.

[0063] It should be noted that the proxy service module creates an intranet device proxy port, namely ACProxy, according to the first connection request. In order not to directly expose the access of the first server (enterprise intranet device) to the second server (Internet public network), the intranet device proxy port (AC Proxy) binds a TCP port, such as port 18686 to 127.0.0.1, and records the mapping relationship between port 18686 and the proxy service module (ProxyClient module), and feeds back request success information to the proxy module, that is, notifying the first server that a communication connection relationship has been established with the second server.

[0064] Among them, TCP port (Transmission Control Protocol) is the port that provides services for TCP protocol communication. TCP is a connection-oriented, reliable, byte-stream-based transport layer communication protocol, which is specified by RFC 793 of IETF. In the OSI model of computer networks, it completes the functions specified by the fourth layer, the transport layer. Many existing applications of computer and network connections are implemented through TCP ports.

[0065] The above port 18686 can only receive connection requests from the local machine, but not from the public network. The proxy service module records the mapping relationship between port 18686 and the proxy module that initiates the request, so that when the proxy module needs to interact with the intranet device module, the proxy service module knows how to correctly forward the corresponding request to the correct AC Proxy.

[0066] By binding only port 18686 to 127.0.0.1, AC Proxy is ensured not to be exposed to the public Internet. This means that only applications on the local computer can establish a connection with AC Proxy, making it impossible for external attackers to directly access this port, thus improving security.

[0067] In addition, the proxy service module also manages AC Proxy, forwarding data from AC Proxy to the ProxyClient module mapped by 18686, and realizing data interaction between the proxy service module and the proxy module. That is, by managing all external requests through the proxy service module, the data flowing on the network can be monitored and controlled.

[0068] S102: The first terminal sends second login information to the proxy network module.

[0069] Among them, the first terminal refers to computers, mobile phones and other devices, the proxy network module is the ProxyWeb module, which runs on the second server; the ProxyWeb module has a user-visible WEB interface, the ProxyWeb module and the intranet device proxy port (AC Proxy) are communicated and connected, and the response data of the intranet device proxy port can be displayed on the WEB interface.

[0070] The second login information at least includes: a second user name and a second password. It should be noted that after receiving the second login information, the proxy network module verifies the second login information. If the second login information is correct, step S103 is executed. If the second login information is wrong, the login failure information is fed back to the first terminal. Here, the login failure information at least includes a login failure prompt and the reason for the login failure. For example, if the second user name or the second password is entered incorrectly during login, the user can re-enter it through the first terminal and execute S102 again; if the second user name and the second password are both incorrect or the second login information carries hidden danger information such as intrusion viruses, the proxy network module marks the current first terminal and will no longer accept login requests from this first terminal in the future.

[0071] Here, the criterion for judging whether the second login information is correct is: the first terminal and the second user name and the second password matching it are already stored in the local memory of the proxy network module; when the proxy network module receives the second login information, the second user name and the second password in the second login information are obtained, and it is determined whether all the locally stored information and the actually received information correspond one to one. If they correspond one to one, it indicates that the second login information is correct, and step S103 can be executed; if there is at least one item that does not correspond, it indicates that the second login information is wrong, and login failure information is fed back to the first terminal.

[0072] S103: The proxy network module feeds back login success information to the first terminal.

[0073] The proxy network module feeds back login success information to the first terminal, indicating that the first terminal has obtained the permission to access the WEB interface, and step S104 can be executed.

[0074] S104: The first terminal sends an intranet device connection request to the proxy network module.

[0075] Specifically, the user uses the first terminal to click the button to connect to the first server on the WEB interface, and sends an intranet device connection request to the proxy network module. After receiving the intranet device connection request, the proxy network module executes step S105. Here, the intranet device connection request carries intranet device connection information, such as an HTTP request.

[0076] S105. The proxy network module sends the intranet device connection request to the intranet device proxy port.

[0077] Specifically, after the proxy network module receives the intranet device connection request, the proxy network module communicates with the intranet device proxy port and sends the intranet device connection request to the intranet device proxy port, that is, port 18686.

[0078] S106: The proxy service module forwards the intranet device connection request to the proxy module.

[0079] Specifically, since the 18686 port and the proxy module have a mapping relationship, the proxy service module can forward the intranet device connection request to the proxy module.

[0080] S107. The proxy module creates a local secure connection channel according to the intranet device connection request.

[0081] Specifically, the proxy module creates a local secure connection channel according to the connection request of the intranet device. Here, the local secure connection channel refers to the SSH connection channel. SSH is the abbreviation of Secure Shell, which is formulated by the Network Working Group of IETF. SSH is a security protocol based on the application layer and the transport layer. The use of the SSH protocol can effectively prevent information leakage during remote management.

[0082] S108: The proxy module feeds back connection success information to the first terminal.

[0083] The proxy module feeds back connection success information to the first terminal, indicating that a local secure connection channel with security has been successfully established between the first server and the second server, and the first terminal can send information and data to the local secure connection channel on the WEB interface.

[0084] S109: The first terminal sends first login information to the intranet device module.

[0085] Among them, the intranet device module is a wireless access controller, which runs on the first server.

[0086] The first login information at least includes: a first user name and a first password. It should be noted that after receiving the first login information, the intranet device module verifies the first login information. If the first login information is correct, step S110 is executed. If the first login information is wrong, login failure information is fed back to the first terminal. The login failure information here includes a login failure prompt and a login failure reason. At this time, the login failure reason is only that the first login information carries hidden danger information such as an intrusion virus. Then the intranet device module marks the current first terminal and no longer accepts login requests from this first terminal in the future.

[0087] Specifically, the criterion for judging whether the first login information is correct is: the first terminal and the first user name and the first password matching it are stored in the local memory of the intranet device module; when the intranet device module receives the first login information, the first user name and the first password in the first login information are obtained, and it is determined whether all the locally stored information and the actually received information correspond one to one. If they correspond one to one, it indicates that the first login information is correct, and step S110 can be executed; if there is additional hidden danger information, it indicates that the first login information is wrong, and login failure information is fed back to the first terminal.

[0088] S110. The intranet device module feeds back verification success information to the first terminal.

[0089] The intranet device module feeds back verification pass information to the first terminal, indicating that the local security connection channel of the intranet device module has been verified, and the first terminal has the authority to access the data in the first server.

[0090] S111. The first terminal sends remote access information to the intranet device module.

[0091] The remote access information refers to the data information that the user wants to obtain at the first server.

[0092] Specifically, the first terminal and the first server form a Web CLI interaction mode, wherein Web refers to the aforementioned WEB interface, and CLI is a text interface provided by the operating system or network device, allowing users to configure, monitor and manage the device by entering specific commands, that is, the first terminal enters remote access information in the CLI of the WEB interface, thereby realizing remote access to the first server.

[0093] Users can use the first terminal to access and manage the device through the Internet at any place with a network connection, without installing additional terminal software, and the CLI of the WEB interface may be more intuitive and easy to use.

[0094] Compared with the traditional method of remotely accessing the intranet, the present application utilizes a local secure connection channel as a secure channel for data interaction, and verifies the first login information and the second login information of the first terminal. The two login methods are combined to authenticate and authorize the first terminal, thereby avoiding direct exposure of the port of the first server to the second server, effectively preventing illegal users from directly accessing the port, and achieving the purpose of improving the security of remote access.

[0095] Combination of the above Figure 1 The intranet remote access method provided in the embodiment of the present application is introduced in detail. The system and equipment provided in the embodiment of the present application will be introduced in conjunction with the accompanying drawings.

[0096] like Figure 2 As shown, the present application provides an intranet remote access system, including: a first server 1, a second server 2 and a first terminal 3; the first server 1 includes: an intranet device module 11 and an agent module 12 connected in communication; the second server 2 includes: an agent service module 21 and an agent network module 22 connected in communication;

[0097] The proxy module 12 is used to send a first connection request to the proxy service module 21; the first connection request carries connection information;

[0098] The proxy service module 21 is used to create an intranet device proxy port 211 according to the first connection request, and feedback request success information to the proxy module 12;

[0099] The first terminal 3 is used to send second login information to the proxy network module 22;

[0100] The proxy network module 22 is used to feedback login pass information to the first terminal 3 when verifying that the second login information is correct;

[0101] The first terminal 3 is also used to send an intranet device connection request to the proxy network module 22; the intranet device connection request carries the intranet device connection information;

[0102] The proxy network module 22 is also used to send the intranet device connection request to the intranet device proxy port 211;

[0103] The proxy service module 21 is also used to forward the intranet device connection request to the proxy module 12;

[0104] The proxy module 12 is further used to create a local secure connection channel according to the intranet device connection request and feedback connection success information to the first terminal 3;

[0105] The first terminal 3 is further used to send first login information to the intranet device module 11; the first login information at least includes: a first user name and a first password;

[0106] The intranet device module 11 is further configured to feedback verification pass information to the first terminal 3 when the first login information is verified to be correct;

[0107] The first terminal 3 is further configured to send remote access information to the intranet device module 11 upon receiving verification pass information.

[0108] The present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of an intranet remote access method as described in the above embodiment are implemented.

[0109] Among them, Figure 3 As shown, electronic device 500 includes CPU 501, which can perform various appropriate actions and processes according to the program stored in ROM 502 or the program loaded from the storage part into RAM 503. Various programs and data required for system operation are also stored in RAM 503. CPU 501, ROM 502 and RAM 503 are connected to each other through bus 504. I / O interface 505 is also connected to bus 504.

[0110] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0111] In particular, according to the embodiments of the present application, the above reference process Figure 1 The described process can be implemented as a computer software program. For example, the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part, and / or installed from a removable medium. When the computer program is executed by CPU501, the above-mentioned functions defined in the system of the present application are executed.

[0112] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a RAM (random access memory), a ROM (read-only memory), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0113] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0114] The units involved in the embodiments described in the present application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not constitute limitations on the units themselves under certain circumstances. The units or modules described may also be set in a processor.

[0115] The present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements an intranet remote access method as described in the above embodiment.

[0116] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A method for remote access to an intranet, characterized in that: Applied to the first server, the method comprises the following steps: receiving an intranet device connection request forwarded by the second server; the intranet device connection request is sent by the first terminal to the second server, and the intranet device connection request carries intranet device connection information; Creating a local secure connection channel according to the intranet device connection request, and feeding back connection success information to the first terminal; Receiving first login information sent by the first terminal; the first login information at least includes: a first user name and a first password; When the first login information is verified to be correct, verification pass information is fed back to the first terminal, and remote access information sent by the first terminal is received.

2. The intranet remote access method according to claim 1, characterized in that: Receiving the intranet device connection request forwarded by the second server specifically includes the following steps: Sending a first connection request to the second server; the first connection request carries connection information; After receiving the request success information sent by the second server, receive the intranet device connection request forwarded by the second server.

3. A method for remote access to an intranet, characterized in that: Applied to the second server, the method comprises the following steps: Receiving a first connection request sent by a first server; the first connection request carries connection information; Creating an intranet device proxy port according to the first connection request, and receiving an intranet device connection request sent by the first terminal; the intranet device connection request carries intranet device connection information; Forward the intranet device connection request to the first server.

4. The intranet remote access method according to claim 3, characterized in that: Receiving an intranet device connection request sent by a first terminal specifically includes the following steps: Receiving second login information sent by the first terminal; the second login information at least includes: a second user name and a second password; When it is verified that the second login information is correct, the login success information is fed back to the first terminal, and the intranet device connection request sent by the first terminal is received.

5. An intranet remote access method, characterized in that: Applied to the first terminal, the method comprises the following steps: Sending an intranet device connection request to the second server; the intranet device connection request carries intranet device connection information; Receiving connection success information sent by the first server; the connection success information is generated when the first server receives the intranet device connection request forwarded by the second server and creates a local secure connection channel; Sending first login information to the first server; the first login information at least includes: a first user name and a first password; Receive verification information fed back by the first server, and send remote access information to the first server; the verification information is generated when the first server verifies that the first login information is correct.

6. The method for remote access to an intranet according to claim 5, characterized in that: Sending an intranet device connection request to the second server includes the following steps: Sending second login information to the second server; the second login information at least includes: a second user name and a second password; Receive the login pass information sent by the second server, and send an intranet device connection request to the second server; the login pass information is generated when the second server verifies that the second login information is correct.

7. An intranet remote access system, characterized in that: include: A first server, a second server and a first terminal; The first server includes: an intranet device module and a proxy module connected in communication; the second server includes: a proxy service module and a proxy network module connected in communication; The proxy module is used to send a first connection request to the proxy service module; the first connection request carries connection information; The proxy service module is used to create an intranet device proxy port according to the first connection request and feed back request success information to the proxy module; The first terminal is used to send second login information to the proxy network module; The proxy network module is used to feedback login success information to the first terminal when verifying that the second login information is correct; The first terminal is further used to send an intranet device connection request to the proxy network module; the intranet device connection request carries intranet device connection information; The proxy network module is further used to send the intranet device connection request to the intranet device proxy port; The proxy service module is further used to forward the intranet device connection request to the proxy module; The proxy module is further used to create a local secure connection channel according to the intranet device connection request and feedback connection success information to the first terminal; The first terminal is further used to send first login information to the intranet device module; the first login information at least includes: a first user name and a first password; The intranet device module is further configured to feed back verification pass information to the first terminal when verifying that the first login information is correct; The first terminal is further configured to send remote access information to the intranet device module when receiving the verification pass information.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the intranet remote access method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of an intranet remote access method as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Secure remote control method and device for intranet cluster equipment

    CN122533870A