# US 2025/0168039 A1 · Managing access to private network resources from external devices via a relay computing element

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

- Number: US 2025/0168039 A1
- Document ID: US20250168039A1
- Status: Published application
- Kind: A1
- Application number: 18/897,499
- Filed: 2024-09-26
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Tailscale Inc.
- Applicants: Tailscale Inc.
- Inventors: Shayne M. Sweeney; Bradley J. Fitzpatrick; Maisem J. Ali
- Web page: https://patentgrep.com/patent/US20250168039A1

## CPC

- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 63/0272: {Virtual private networks}
- H04L 63/0281: {Proxies}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Described herein are systems, methods, and software that manage the communication between computing elements outside a private network and computing elements inside a private network. In one example, a relay computing element receives a first packet from a first computer outside a private network. The relay computing element determines whether the first packet is permitted for a second computer inside the private network. If the first packet is permitted, the relay computing element generates a second packet with the first packet in the payload and encapsulates the second packet in a third packet. Once encapsulated, the third packet is forwarded to the second computer.

## Claims

### Claim 1

A method of operating a relay computing element comprising:
receiving a first packet from a first computing element outside of a private network;
communicating a notification to a second computing element in the private network to determine whether the first packet is permitted;
receiving a response from the second computing element to the notification, wherein the response indicates that the first packet is permitted;
when the response indicates that the first packet is permitted, generating a second packet that includes the first packet in a payload of the second packet, wherein the second packet comprises a first private IP (Internet Protocol) address associated with the relay computing element and a second private IP address associated with the second computing element;
encapsulating the second packet in a third packet, wherein a header of the third packet comprises public addressing information to communicate the third packet over the Internet toward the second computing element; and
communicating the third packet toward the second computing element.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first packet comprises a transmission control protocol packet.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first packet uses transmission layer security (TLS) protocol.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first packet comprises an unencrypted Server Name Indication (SNI).

### Claim 5 (depends on 4)

The method of claim 4, wherein communicating the notification to the second computing element to determine whether the first packet is permitted comprises communicating at least the SNI and a destination port number from the first packet.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
receiving the first private IP address associated with the relay computing element from a coordination service, wherein the coordination service assigns the first private IP address to the relay computing element; and
receiving the second private IP address associated with the second computing element from the coordination service, wherein the coordination service assigns the second private IP address to the second computing element.

### Claim 7 (depends on 1)

The method of claim 1 further comprising:
receiving encryption key information from a coordination service, wherein encapsulating the second packet in the third packet comprises encrypting the second packet using the encryption key information.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
receiving a fourth packet from a third computing element outside of the private network;
communicating a second notification to the second computing element in the private network to determine whether the fourth packet is permitted;
receiving a second response from the second computing element to the second notification, wherein the second response indicates that the fourth packet is not permitted; and
blocking the fourth packet based on the second response.

### Claim 9

A computing apparatus comprising:
a storage system;
a processing system operatively coupled to the storage system; and
program instructions stored on the storage system to operate as a relay computing element that, when executed by the processing system, direct the computing apparatus to:
receive a first packet from a first computing element outside of a private network;
communicate a notification to a second computing element in the private network to determine whether the first packet is permitted;
receive a response from the second computing element to the notification, wherein the response indicates that the first packet is permitted;
when the response indicates that the first packet is permitted, generate a second packet that includes the first packet in a payload of the second packet, wherein the second packet comprises a first private IP (Internet Protocol) address associated with the relay computing element and a second private IP address associated with the second computing element;
encapsulate the second packet in a third packet, wherein a header of the third packet comprises public addressing information to communicate the third packet over the Internet toward the second computing element; and
communicate the third packet toward the second computing element.

### Claim 10 (depends on 9)

The computing apparatus of claim 9, wherein the first packet comprises a transmission control protocol packet.

### Claim 11 (depends on 9)

The computing apparatus of claim 9, wherein the first packet uses transmission layer security (TLS) protocol.

### Claim 12 (depends on 9)

The computing apparatus of claim 9, wherein the first packet comprises an unencrypted Server Name Indication (SNI).

### Claim 13 (depends on 12)

The computing apparatus of claim 12, wherein communicating the notification to the second computing element to determine whether the first packet is permitted comprises communicating at least the SNI and a destination port number from the first packet.

### Claim 14 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the computing apparatus to:
receive the first private IP address associated with the relay computing element from a coordination service, wherein the coordination service assigns the first private IP address to the relay computing element; and
receive the second private IP address associated with the second computing element from the coordination service, wherein the coordination service assigns the second private IP address to the second computing element.

### Claim 15 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the computing apparatus to:
receive encryption key information from a coordination service, wherein encapsulating the second packet in the third packet comprises encrypting the second packet using the encryption key information.

### Claim 16 (depends on 9)

The computing apparatus of claim 9, wherein the program instructions further direct the computing apparatus to:
receive a fourth packet from a third computing element outside of the private network;
communicate a second notification to the second computing element in the private network to determine whether the fourth packet is permitted;
receive a second response from the second computing element to the second notification, wherein the second response indicates that the fourth packet is not permitted; and
block the fourth packet based on the second response.

### Claim 17

A system comprising:
a first computer; and
a relay computer configured to:
receive a first packet from a second computer outside of a private network;
communicate a notification to the first computer in the private network to determine whether the first packet is permitted;
receive a response from the computer to the notification, wherein the response indicates that the first packet is permitted;
when the response indicates that the first packet is permitted, generate a second packet that includes the first packet in a payload of the second packet, wherein the second packet comprises a first private IP (Internet Protocol) address associated with the relay computer and a second private IP address associated with the first computer;
encapsulate the second packet in a third packet, wherein a header of the third packet comprises public addressing information to communicate the third packet over the Internet toward the first computer; and
communicate the third packet toward the first computer.

### Claim 18 (depends on 17)

The system of claim 17, wherein the first packet comprises a transmission control protocol packet.

### Claim 19 (depends on 17)

The system of claim 17, wherein the first packet comprises an unencrypted Server Name Indication (SNI).

### Claim 20 (depends on 17)

The system of claim 17, wherein the notification provides unencrypted information from the first packet, and wherein the first computer is further configured to:
determine whether the first packet is permitted based on an access control list maintained by the first computer and the unencrypted information from the first packet; and
communicate the response based on the determination of whether the first packet is permitted.
