# US 2008/0189393 A1 · Remote Access to Secure Network Devices

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0189393 A1
- Document ID: US20080189393A1
- Status: Published application
- Kind: A1
- Application number: 12/108,439
- Filed: 2008-04-23
- Published: 2008-08-07
- Earliest claimed: 2006-09-22
- Inventors: Michael J. WAGNER
- Web page: https://patentgrep.com/patent/US20080189393A1

## CPC

- H04L 61/2567: for reachability, e.g. inquiring the address of a correspondent behind a NAT server
- H04L 63/029: {Firewall traversal, e.g. tunnelling or, creating pinholes}
- H04L 69/163: In-band adaptation of TCP data exchange; In-band control procedures
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An illustrative communication system provides remote access to target devices located behind a firewall or other network security gateway. The system includes an internal processor and target devices coupled to a network located inside the gateway, and an external processor and clients coupled to a network located outside the network security gateway, for example the Internet. The internal processor includes an application and a database containing the internal processor node number, the shared secret, and a static IP address of the external processor. The external processor includes an application and database containing the internal processor node number, the shared secret, port to port to target device address mapping, and authentication data for clients. Upon activation the internal processor initiates a persistent TCP session with the external processor. Client access to the targeted devices is provided upon a client connecting to a port of the external processor, the port associated with a target device. Multiple logical sessions between various clients and targeted devices are supported over and transparent to the single persistent TCP session.

## Claims

### Claim 1

A system for communicating between a client coupled to a first network and first and second target devices coupled to a second network, the first and second network including a secure gateway between the networks, comprising:
an internal processor having a network adapter coupled to the second network;
an external processor having a network adapter coupled to the first network, the network adapter including a plurality of ports; and
code associated with the internal processor and the external processor, the code enabling the internal processor to initiate a persistent first communication connection with the external processor at a first one of the plurality of ports, to map a second one of the plurality of ports to the first one of the plurality of ports to an internal network address of the first target device, and to map a third one of the plurality of ports to the first one of the plurality of ports to an internal network address of second target device; and, upon receiving a communication from the client on the second one of the plurality of ports, the code enabling:
the external processor to authorize a second communication connection with the client;
the internal processor to initiate a third communication connection with the first target device; and
the internal and external processors to enable a logical fourth communication connection between the client and the first target device using the first, second, and third communication connections.

### Claim 2 (depends on 1)

The system of claim 1, wherein the code further enables the internal and external processors to concurrently multiplex within and transparent to the transport layer of the first communication connection a plurality of logical communication sessions between the client and the first and second target devices, the plurality of logical communication sessions supported over the first communication connection.

### Claim 3 (depends on 1)

The system of claim 1, wherein the code includes a database associated with the external processor, the database including a data structure adapted to store data for authenticating the client and the internal processor.

### Claim 4 (depends on 1)

The system of claim 1, wherein the code includes a database associated with the external processor, the database including a data structure adapted to map the second and third one of the plurality of ports to the internal processor to the first and second target device network sockets, respectively.

### Claim 5 (depends on 1)

The system of claim 1, wherein the code includes a database associated with the internal processor, the database including a data structure adapted to store a network address and port number of the external processor and data for authenticating the internal processor.

### Claim 6 (depends on 1)

The system of claim 1, wherein the first target device is at least one of a process controller, an energy use or management device, and a building automation device.

### Claim 7 (depends on 1)

The system of claim 1, wherein the third communication connection includes an intermediate communication device.

### Claim 8

A communication device for providing communication with a first client and a second client located outside of a network gateway and target devices located inside of the network gateway, comprising:
a processor;
a network adapter coupled to the processor; and
code associated with the processor and network adapter, the code including a shared secret, a network address and port number for the first client, and executable instructions; and
wherein the code enables:
the processor to initiate a first communication connection with the first client located outside of the network gateway, the first communication connection including a persistent transport layer session; and
upon the second client communicating with the first client and requesting access to the first target device:
the processor to initiate a second communication connection with a first target device; and
the processor to enable a logical third communication connection between the second client and the first target device using the first and second communication connection.

### Claim 9 (depends on 8)

The communication device of claim 8, wherein the code further enables:
upon a third client communicating with the first client and requesting access to a second target device, the processor to initiate a fourth communication connection with the second target device; and
the processor to enable a logical fifth communication connection between the third client and the second target device using the first and fourth communication connection.

### Claim 10 (depends on 9)

The communication device of claim 9, wherein the third and fifth communication connections can be concurrently supported as logical sessions within and transparent to the transport layer of the first communication connection.

### Claim 11 (depends on 8)

The communication device of claim 8, wherein the code further enables the processor to initiate the second communication connection with the first target device by using an internal network address of the first target device, the internal network address selected from a database associating the first target device with a port of the first client, the port identified by having received the access request from the second client at that port.

### Claim 12 (depends on 11)

The communication device of claim 11, wherein the first communication connection includes a TCP session, and the code further enables:
the processor to initiate the second communication connection between the communication device and the first target device upon the processor receiving an open command from the first client, the open command including internal network address of the first target; and
the processor to determine a communication protocol for the second communication connection not limited to the protocol(s) used for the first communication connection.

### Claim 13 (depends on 8)

The communication device of claim 8, wherein the first target device is at least one of a process controller, an energy use or management device, and a building automation device.

### Claim 14

A method of providing a reverse network connection through a network gateway securing a first network from access over a second network, comprising:
identifying a node number of an internal processor coupled to the first network;
providing to the internal processor a network address and connection port number of an external processor coupled to the second network;
providing to the external processor the node number of the internal processor and a plurality of network addresses corresponding to a plurality of target devices coupled to the first network; and
mapping in the external processor each of a plurality of ports of the external processor to the connection port number to one of the plurality of network addresses corresponding to one of the plurality of target devices.

### Claim 15 (depends on 14)

The method of claim 14, further comprising the internal processor initiating a persistent transport layer session with the external processor.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
receiving at a first one of the plurality of ports of the external processor, an access request from a first client coupled to the second network, the access request corresponding to a first one of the plurality of target devices logically associated by the mapping with the first one of the plurality of ports;
the external processor authenticating the first client;
the external processor verifying authorization of the first client to access a first target device; and
authorizing a first communication connection between the first client and the external processor.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
the external processor sending over the persistent transport layer session an open command to the internal processor, the open command including the network address for the first target device;
the internal processor initiating a second communication connection between the internal processor and the first target device; and
enabling a logical third communication connection between the first client and the first target device using the first communication connection, the persistent transport layer session, and the second communication connection.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
receiving at a second one of the plurality of ports of the external processor, an access request from a second client coupled to the second network, the access request corresponding to a second one of the plurality of the target devices logically associated by the mapping with the second one of the plurality of ports;
the external processor authenticating the second client;
the external processor and verifying authorization of the second client to access the second target device; and
authorizing a fourth communication connection between the second client and the external processor.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
the external processor sending over the persistent transport layer session an open command to the internal processor, the open command including the network address for the second target device;
the internal processor initiating a fifth communication connection between the internal processor and the second target device; and
enabling a logical sixth communication connection between the second client and the second target device using the fourth communication connection, the persistent transport layer session, and the fifth communication connection, the logical sixth communication connection capable of being supported concurrent with the third communication connection.

### Claim 20 (depends on 19)

The method of claim 19, wherein the enabling the logical third and sixth communication connections concurrently include the internal and external processor assigning a first logical session ID for controlling the data stream between the first and second communication connections and assigning a second logical session ID for controlling the data stream between the fourth and fifth communication connections, the first or second logical session IDs encapsulated within the respective data stream segments that are multiplexed over the persistent transport layer session.
