Skip to content

Commit 5a6d3ec

Browse files
committed
Add TCP independence
1 parent b54ee03 commit 5a6d3ec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/partials/cloudflare-one/gateway/order-of-enforcement.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,8 @@ flowchart TB
139139

140140
When a user connects to a server with Gateway, Gateway first establishes a TCP connection with the destination server on the port the user requested. If the connection is successful, Gateway will apply policies. If Gateway policies allow the connection, Gateway will connect the user to the destination server. If Gateway policies block the connection, Gateway will end the connection and will not send any data between the user and the destination server. If the TCP connection to the destination server is unsuccessful, Gateway will not run any policies and retry TCP connections from the user to the server.
141141

142+
Because TCP traffic is proxied by Cloudflare, the connection Gateway establishes with the origin is independent from the connection users establish with Gateway. This means Gateway assigns a new source IP and port to the user's connection and no details from the user's TCP handshake are included in the TCP handshake with the origin server.
143+
142144
```mermaid
143145
flowchart TB
144146
A(["User"]) -- Initiates connection --> B["Gateway TCP connection to destination server"]

0 commit comments

Comments
 (0)