You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-networks/private-net/warp-connector/site-to-internet.mdx
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ This guide covers how to connect a private network to the Internet using WARP Co
35
35
36
36
## 3. Route traffic from subnet to WARP Connector
37
37
38
-
Depending on where you installed the WARP Connector, you may need to configure other devices on the subnet to route outbound requests through WARP Connector.
38
+
The WARP Connector host will automatically forward DNS and network traffic to Cloudflare. Depending on where you installed the WARP Connector, you may need to configure other devices on the subnet to route outbound requests through WARP Connector.
39
39
40
40
### Option 1: Default gateway
41
41
@@ -48,7 +48,7 @@ Depending on where you installed the WARP Connector, you may need to configure o
48
48
product="cloudflare-one"
49
49
/>
50
50
51
-
#### Add route to router
51
+
#### Add IP route to router
52
52
53
53
For example, for all traffic from the subnet to egress through WARP Connector, add a rule on the router that routes `0.0.0.0` to the WARP Connector host machine (`10.0.0.100`).
54
54
@@ -57,24 +57,36 @@ For example, for all traffic from the subnet to egress through WARP Connector, a
## 3. Route traffic between WARP Connector and Cloudflare
42
42
43
43
1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Networks** > **Routes**.
44
44
2. Select **Create route**.
@@ -65,9 +65,17 @@ The WARP Connector will now forward inbound requests to devices on the subnet.
65
65
66
66
```
67
67
68
+
### DNS filtering
69
+
If you would like to filter private DNS queries using Cloudflare Gateway, check [Split Tunnels](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/split-tunnels/) and ensure that the following IPs route through WARP Connector:
When you resolve DNS queries from WARP Connector through Gateway, Gateway will log the queries with the private source IP. You can use the private source IP to create [resolver policies](/cloudflare-one/policies/gateway/resolver-policies/) for queries intended for [internal DNS records](/cloudflare-one/policies/gateway/resolver-policies/#internal-dns).
75
+
68
76
## 4. Route traffic from subnet to WARP Connector
69
77
70
-
Depending on where you installed the WARP Connector, you may need to configure other devices on the subnet to route outbound requests through WARP Connector.
78
+
The WARP Connector host will automatically forward DNS and network traffic to Cloudflare. Depending on where you installed the WARP Connector, you may need to configure other devices on the subnet to route outbound requests through WARP Connector.
71
79
72
80
```mermaid
73
81
flowchart LR
@@ -94,7 +102,7 @@ Depending on where you installed the WARP Connector, you may need to configure o
94
102
product="cloudflare-one"
95
103
/>
96
104
97
-
#### Add route to router
105
+
#### Add IP route to router
98
106
99
107
For example, for devices on subnet `10.0.0.0/24` to reach applications behind subnet `192.168.1.0/24`, add a rule on the router that routes `192.168.1.0/24` to the WARP Connector host machine (`10.0.0.100`).
100
108
@@ -103,14 +111,21 @@ For example, for devices on subnet `10.0.0.0/24` to reach applications behind su
Repeat steps 1, 3, and 4 above to install an additional WARP Connector on subnet `192.168.1.0/24`. The device profile created in Step 2 will apply to all WARP Connectors.
@@ -183,10 +203,11 @@ You can now test the connection between the two subnets. For example, on the `10
183
203
```
184
204
185
205
:::note
186
-
187
206
If you are testing with curl using private hostnames, add the `--ipv4` flag to your curl commands.
188
207
:::
189
208
209
+
Your [Gateway activity logs](/cloudflare-one/insights/logs/gateway-logs/) will show traffic associated with the email `warp_connector@<your-team-name>.cloudflareaccess.com`.
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-networks/private-net/warp-connector/user-to-site.mdx
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Depending on where you installed the WARP Connector, you may need to configure o
59
59
product="cloudflare-one"
60
60
/>
61
61
62
-
#### Add route to router
62
+
#### Add IP route to router
63
63
64
64
`100.96.0.0/12` is the default CIDR for all user devices running the [WARP client](/cloudflare-one/connections/connect-devices/warp/). On your router, add a rule that routes the destination IP `100.96.0.0/12` to the WARP Connector host machine (`10.0.0.100`).
65
65
@@ -75,7 +75,7 @@ Depending on where you installed the WARP Connector, you may need to configure o
75
75
product="cloudflare-one"
76
76
/>
77
77
78
-
#### Add route to devices
78
+
#### Add IP route to devices
79
79
80
80
To route all <GlossaryTooltipterm="CGNAT IP">CGNAT IP</GlossaryTooltip> traffic through WARP Connector:
To forward DNS traffic from the subnet to Cloudflare Gateway, your router should point DNS queries to either WARP Connector's [local DNS proxy](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/warp-architecture/#dns-traffic) (for example, `10.0.0.100:53`) or directly to the Gateway DNS resolver IPs (`172.64.36.1` and `172.64.36.2`).
To filter DNS traffic with Cloudflare Gateway, the DNS resolver on your device should point to either WARP Connector's [local DNS proxy](/cloudflare-one/connections/connect-devices/warp/configure-warp/route-traffic/warp-architecture/#dns-traffic) (for example, `10.0.0.4:53`) or directly to the Gateway DNS resolver IPs (`172.64.36.1` and `172.64.36.2`).
0 commit comments