-
Notifications
You must be signed in to change notification settings - Fork 10.1k
[ZT] Tunnel hostname routes #22587
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[ZT] Tunnel hostname routes #22587
Changes from 82 commits
Commits
Show all changes
92 commits
Select commit
Hold shift + click to select a range
66562f5
update private DNS
ranbel 64d7cef
Private networks overview and IA
ranbel 8c3e2cf
diagrams and concepts
ranbel 41961ee
outline steps
ranbel 82637c7
fix relative links
ranbel 5ae3372
update get started pages
ranbel 6269d44
public hostnames --> published applications
ranbel d04614b
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 5684e59
hostname format restrictions
ranbel 2a0b473
connect server
ranbel ef75afb
set up client
ranbel cc27929
account limits
ranbel d461be9
create resolver policy, add IPv6
ranbel ff4f1bb
update private hostname diagram
ranbel 3890ded
update policy guidelines
ranbel 1233ed2
update egress diagram
ranbel d12a6fc
add placeholders
ranbel 6f704f3
update egress description
ranbel 0125a0a
add beta pill
ranbel b0d0bdb
add split tunnel and policy details
ranbel 9d54a20
example policies
ranbel 6d3c82a
fix example hostname
ranbel 3afe762
tweak availability note
ranbel 97ad52c
policy partials
ranbel f6e3c01
update policies, testing, troubleshooting
ranbel 3852707
update availability
ranbel cfc9374
fix relative links
ranbel 61a71ac
convert prereqs to partials
ranbel ea9230f
update diagram
ranbel e6667e0
refine egress use case
ranbel ad64a3b
add Magic WAN onramp
ranbel eb41dbe
tweak initial resolved IP
ranbel c40cee8
mobile WARP client versions
ranbel f4f6644
remove punycode requirement
ranbel 2cccbdd
public hostname Gateway policies
ranbel 118f54b
more details on initial resolved IPs
ranbel 474e7c4
move Tunnel prereq into a step
ranbel 9ccab94
Merge branch 'production' into ranbel/tunnel-onoma
ranbel d3c64ec
Merge branch 'production' into ranbel/tunnel-onoma
ranbel ae73144
magic wan is pending SHIP-8236
ranbel 3d33a60
add glossary entry
ranbel b2980dd
add ipv6 range
ranbel 68f8e6a
Merge branch 'production' into ranbel/tunnel-onoma
ranbel a193f22
update mobile WARP versions
ranbel d7e5e37
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 8f68f98
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 354fe1e
Apply suggestions from code review
ranbel 48d77c2
Update rdp-cloudflared-authentication.mdx
ranbel f3ff54d
Merge branch 'production' into ranbel/tunnel-onoma
ranbel ce09060
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 794ecf1
Merge branch 'production' into ranbel/tunnel-onoma
ranbel d66c2c4
remove steps formatting
ranbel 46d847b
add mwan and warpconn limitation
ranbel bf4e1a5
Merge branch 'production' into ranbel/tunnel-onoma
ranbel fa0748c
fix package.json
ranbel 5ae2c24
fix package.json files
ranbel 51d3281
update mwan and warpconn prereq
ranbel b201f49
add link to CF blog
ranbel 3e9aba7
add local domain fallback
ranbel 5eeea89
fix steps component
ranbel 34b2298
refine wording
ranbel bdb99c4
update private network tab name
ranbel 76e8eb1
update published applications tab name
ranbel 21f87c3
update public hostname partial file
ranbel 4d7f7b4
add testing details
ranbel 535efef
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 5c07549
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 9d7d201
check token IP in split tunnels
ranbel 3f814eb
move troubleshooting link
ranbel cecbc61
Merge branch 'production' into ranbel/tunnel-onoma
ranbel 6bcbd2c
use latest package.json files
ranbel f742388
DNS config for WARP Connector
ranbel eda0904
clean up prereqs
ranbel 938d546
clean up feature availability
ranbel e83232c
fix package.json files
ranbel 1c0b12a
fix render component
ranbel 3b2ae5b
fix render component
ranbel 9d3bec6
fix broken link
ranbel 59b20b8
Merge branch 'production' into ranbel/tunnel-onoma
ranbel f23135c
DNS via WARP Connector's IP is not supported
ranbel cf67918
edit prereqs
ranbel 1dc313e
Update src/content/docs/cloudflare-one/connections/connect-networks/p…
ranbel 097e328
fix tunnel partial
ranbel facd3f0
Update src/content/docs/cloudflare-one/connections/connect-networks/d…
ranbel 4825803
Update src/content/docs/cloudflare-one/connections/connect-networks/d…
ranbel 103045d
Apply suggestions from code review
ranbel 5da381c
Update src/content/docs/cloudflare-one/connections/connect-networks/p…
ranbel f2b9b0f
Update src/content/docs/cloudflare-one/connections/connect-networks/p…
ranbel 0d307aa
Update src/content/docs/cloudflare-one/connections/connect-networks/p…
ranbel 312985e
Update src/content/docs/cloudflare-one/connections/connect-networks/p…
ranbel 56759f0
Update src/content/docs/cloudflare-one/connections/connect-networks/p…
ranbel 2a4290d
Apply suggestions from code review
ranbel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+39.1 KB
src/assets/images/cloudflare-one/connections/private-hostname-route-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+35.1 KB
src/assets/images/cloudflare-one/connections/private-hostname-route-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
...flare-one/connections/connect-networks/private-net/cloudflared/connect-cidr.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| --- | ||
| pcx_content_type: how-to | ||
| title: Connect an IP/CIDR | ||
| sidebar: | ||
| order: 3 | ||
| --- | ||
|
|
||
| import { Render } from "~/components"; | ||
|
|
||
| This guide covers how to enable secure remote access to private IP addresses using `cloudflared` and WARP. You can connect an entire private network, a subnet, or an application defined by a static IP. | ||
|
|
||
| ## 1. Connect the server to Cloudflare | ||
|
|
||
| To connect your infrastructure with Cloudflare Tunnel: | ||
|
|
||
| <Render file="tunnel/connect-private-network" product="cloudflare-one" /> | ||
ranbel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| 2. In the **CIDR** tab for the tunnel, enter the IP/CIDR range that you wish to route through the tunnel (for example `10.0.0.0/8`). | ||
|
|
||
| ## 2. Set up the client | ||
|
|
||
| <Render file="tunnel/warp-to-tunnel-client" product="cloudflare-one" /> | ||
|
|
||
| ## 3. Route private network IPs through WARP | ||
|
|
||
| <Render file="tunnel/warp-to-tunnel-route-ips" product="cloudflare-one" params={{ one: "private network"}}/> | ||
|
|
||
| ## 4. (Recommended) Filter network traffic with Gateway | ||
|
|
||
| <Render file="tunnel/filter-network-traffic" product="cloudflare-one" /> | ||
|
|
||
| ### Enable the Gateway proxy | ||
|
|
||
| <Render file="tunnel/enable-gateway-proxy" product="cloudflare-one" /> | ||
|
|
||
| ### Zero Trust policies | ||
|
|
||
| <Render file="tunnel/catch-all-policy" product="cloudflare-one"/> | ||
|
|
||
| If you have applications clearly defined by IPs or hostnames, we recommend [creating an Access application](/cloudflare-one/applications/non-http/self-hosted-private-app/) and managing user access alongside your SaaS and other web apps. Alternatively, if you prefer to secure a private network using a traditional firewall model, you can build Gateway network and DNS policies for IP ranges and domains. | ||
|
|
||
| For more information on building Gateway policies, refer to [Secure your first application](/learning-paths/replace-vpn/build-policies/create-policy/) and [Common network policies](/cloudflare-one/policies/gateway/network-policies/common-policies/#restrict-access-to-private-networks). | ||
|
|
||
| ## 5. Connect as a user | ||
|
|
||
| End users can now reach HTTP or TCP-based services on your network by visiting any IP address in the range you have specified. | ||
|
|
||
| To allow users to reach the service using its private hostname instead of its IP, refer to [Private DNS](/cloudflare-one/connections/connect-networks/private-net/cloudflared/private-dns/). | ||
|
|
||
| ### Troubleshooting | ||
|
|
||
| #### Device configuration | ||
|
|
||
| To check that their device is properly configured, the user can visit `https://help.teams.cloudflare.com/` to ensure that: | ||
|
|
||
| - The page returns **Your network is fully protected**. | ||
| - In **HTTP filtering**, both **WARP** and **Gateway Proxy** are enabled. | ||
| - The **Team name** matches the Zero Trust organization from which you created the tunnel. | ||
|
|
||
| #### Router configuration | ||
|
|
||
| Check the local IP address of the device and ensure that it does not fall within the IP/CIDR range of your private network. For example, some home routers will make DHCP assignments in the `10.0.0.0/24` range, which overlaps with the `10.0.0.0/8` range used by most corporate private networks. When a user's home network shares the same IP addresses as the routes in your tunnel, their device will be unable to connect to your application. | ||
|
|
||
| To resolve the IP conflict, you can either: | ||
|
|
||
| - Reconfigure the user's router to use a non-overlapping IP range. Compatible routers typically use `192.168.1.0/24`, `192.168.0.0/24` or `172.16.0.0/24`. | ||
| - Tighten the IP range in your Split Tunnel configuration to exclude the `10.0.0.0/24` range. This will only work if your private network does not have any hosts within `10.0.0.0/24`. | ||
| - Change the IP/CIDR of your private network so that it does not overlap with a range commonly used by home networks. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.