Establishing and using a tunnel from an origin server in a distributed edge compute and routing service
Abstract
An edge server of a distributed edge compute and routing service receives a tunnel connection request from a tunnel client residing on an origin server, that requests a tunnel be established between the edge server and the tunnel client. The request identifies the hostname that is to be tunneled. An IP address is assigned for the tunnel. DNS record(s) are added or changed that associate the hostname with the assigned IP address. Routing rules are installed in the edge servers of the distributed edge compute and routing service to reach the edge server for the tunneled hostname. The edge server receives a request for a resource of the tunneled hostname from another edge server that received the request from a client, where the other edge server is not connected to the origin server. The request is transmitted from the edge server to the origin server over the tunnel.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method for establishing and using a plurality of tunnels in a distributed edge compute and routing service, the method comprising: receiving, at a first one of a plurality of edge servers of the distributed edge compute and routing service from a first tunnel client residing on a first origin server, a first tunnel connection request, wherein the first tunnel connection request identifies a hostname that is to be tunneled; responsive to the first tunnel connection request, establishing a first tunnel between the first one of the plurality of edge servers and the first tunnel client, assigning a first IP address for the first tunnel, establishing a second tunnel between a second one of the plurality of edge servers and the first tunnel client, and assigning a second IP address for the second tunnel; receiving, at the first one of the plurality of edge servers, a first request for an action to be performed on a first resource of the tunneled hostname handled by the first origin server,
- Claim 2Depends on #1
The method of claim 1, wherein prior to transmitting the first request over the first tunnel, converting the first request to an HTTP/2 request.
- Claim 3Depends on #1
The method of claim 1, wherein the first one of the plurality of edge servers is selected to receive the first tunnel connection request based on the first one of the plurality of edge servers being closest to the first origin server as determined by an implementation of an anycast protocol.
- Claim 4Depends on #1
The method of claim 1, wherein the first tunnel connection request includes authentication information, and authorizing the first tunnel connection request using the authentication information prior to assigning the first IP address for the first tunnel.
- Claim 5Depends on #1
The method of claim 1, further comprising: acquiring a certificate for the hostname to secure an internal connection between a web server running on the first one of the plurality of edge servers and a tunnel service on the first one of the plurality of edge servers that services the first tunnel.
- Claim 6Depends on #1
The method of claim 1, further comprising: receiving, at a fifth one of the plurality of edge servers from a second tunnel client residing on a second origin server, a second tunnel connection request, wherein the second tunnel connection request identifies the hostname that is to be tunneled; determining that the first tunnel for the hostname exists that connects the first one of the plurality of edge servers to the first origin server; establishing a third tunnel between the fifth one of the plurality of edge servers and the second tunnel client and assigning a third IP address for the third tunnel; and creating a load balancer to balance traffic across the first tunnel and the third tunnel.
- Claim 7Depends on #6
The method of claim 6, further comprising: receiving, from the first tunnel client and the second tunnel client, statistics of the first origin server and the second origin server respectively, wherein the load balancer balances traffic across the first tunnel and the third tunnel using the statistics received from the first tunnel client and the second tunnel client.
- Claim 8Independent Claim
A non-transitory machine-readable storage medium that provides instructions that, when executed by one or more processing systems of a distributed edge compute and routing service, cause said distributed edge compute and routing service to perform operations comprising: receiving, at a first one of a plurality of edge servers of the distributed edge compute and routing service from a first tunnel client residing on a first origin server, a first tunnel connection request, wherein the first tunnel connection request identifies a hostname that is to be tunneled; responsive to the first tunnel connection request, establishing a first tunnel between the first one of the plurality of edge servers and the first tunnel client, assigning a first IP address for the first tunnel, establishing a second tunnel between a second one of the plurality of edge servers and the first tunnel client, and assigning a second IP address for the second tunnel; receiving, at the first one of the plurality of ed
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of Ser. No. 17/728,407, filed Apr. 25, 2022, which is a continuation of U.S. application Ser. No. 16/883,116, filed May 26, 2020, now U.S. Pat. No. 11,316,825, which is a continuation of U.S. application Ser. No. 16/160,294, filed Oct. 15, 2018, now U.S. Pat. No. 10,666,613, which is a continuation of U.S. application Ser. No. 15/719,537, filed Sep. 28, 2017, now U.S. Pat. No. 10,104,039, which is hereby incorporated by reference. FIELD Embodiments of the invention relate to the field of network communications; and more specifically, to establishing and using a tunnel from an origin server in a distributed edge compute and routing service. BACKGROUND The internet has historically been open where content including services and applications provided by companies are exposed to the general internet. However, exposing these services and applications to the general internet may not be secure. Since any application on the internet can be a target for an attack, these companies often try to hide the origin server of their application. For example, they may use a proxy to try to mask the origin IP address and/or they may lock down ports to block unwanted traffic. In some cases, Generic Routing Encapsulation (GRE) tunneling or a Virtual Private Network (VPN) is used to secure the services and applications, and to keep their origin hidden. However, GRE tunneling and implementing a VPN is time consuming, requires cross-company coordination, and is not flexible to easily make changes. BRIEF DESCRIPTION OF THE DRAWINGS The invention may best be understood by referring to the following description and accompanying drawings that are used to illustrate embodiments of the invention. In the drawings: FIG. 1 illustrates an exemplary system for establishing and using a tunnel from an origin server in a distributed edge compute and routing service according to an embodiment; FIG. 2 is a flow diagram that illustra
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Blake Mizerany, Simplicity and security through reverse tunnels, Backplane, Feb. 8, 2017, 7 pages, downloaded at https://blog.backplane.io/simplicity-and-security-through-reverse-tunnels- -6824d0af3196.
- Final Office Action, U.S. Appl. No. 17/728,407, Oct. 13, 2023, 8 pages.
- GitHub,
- “
- Localtunnel
- —
- Client,
- ”
- available online at
- <