Skip to content

Commit d7a3192

Browse files
committed
Update establishment section
1 parent b7094a2 commit d7a3192

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

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

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -137,21 +137,24 @@ flowchart TB
137137

138138
## Connection establishment
139139

140-
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. If Gateway policies block the connection, Gateway will end the connection and will not send any data between the user and the destination. If the TCP connection to the destination is unsuccessful, Gateway will not run any policies nor accept further TCP connections from the user.
140+
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 nor accept further TCP connections from the user to the server.
141141

142142
```mermaid
143143
flowchart TB
144-
A["User initiates connection"] --> B["Gateway attempts TCP connection to Destination Server on requested port"]
145-
B -- Connection Successful --> C["Gateway applies policies"]
146-
B -- Connection Unsuccessful --> E["Gateway does not run policies and rejects user TCP connections"]
147-
C -- Policies Allow --> D["Gateway connects User to Destination Server"]
148-
C -- Policies Block --> F["Gateway ends connection and sends no data"]
144+
A(["User"]) -- Initiates connection --> B["Gateway TCP connection to destination server"]
145+
B -- Connection success --> C["Gateway applies policies"]
146+
B -- Connection failure --> E["Gateway rejects user TCP connections"]
147+
C -- Allow policies --> D["Gateway connects user to destination server"]
148+
C -- Block policies --> F["Gateway ends connection and sends no data"]
149149
150150
B@{ shape: hex}
151151
C@{ shape: hex}
152+
style E stroke:#D50000
153+
style D stroke:#00C853
154+
style F stroke:#D50000
152155
```
153156

154-
Connections to Zero Trust will always appear in your [Zero Trust network session logs](/logs/reference/log-fields/account/zero_trust_network_sessions/) regardless of success or failure. Because Gateway does not inspect failed connections, they will not appear in your [Gateway activity logs](/cloudflare-one/insights/logs/gateway-logs/).
157+
Connections to Zero Trust will always appear in your [Zero Trust network session logs](/logs/reference/log-fields/account/zero_trust_network_sessions/) regardless of connection success. Because Gateway does not inspect failed connections, they will not appear in your [Gateway activity logs](/cloudflare-one/insights/logs/gateway-logs/).
155158

156159
## Priority between policy builders
157160

0 commit comments

Comments
 (0)