From 41c1e5325297393cb72df9b5c702cc26b76a303d Mon Sep 17 00:00:00 2001 From: Max Phillips Date: Wed, 11 Dec 2024 15:35:29 -0600 Subject: [PATCH] Add network partial --- .../policies/gateway/initial-setup/http.mdx | 2 ++ .../gateway/initial-setup/network.mdx | 12 ++++++++--- .../build-network-policies/create-policy.mdx | 18 ++++------------- .../get-started/create-network-policy.mdx | 20 +++++++++++++++++++ 4 files changed, 35 insertions(+), 17 deletions(-) create mode 100644 src/content/partials/cloudflare-one/gateway/get-started/create-network-policy.mdx diff --git a/src/content/docs/cloudflare-one/policies/gateway/initial-setup/http.mdx b/src/content/docs/cloudflare-one/policies/gateway/initial-setup/http.mdx index d924814c097734..461e7ef78ac980 100644 --- a/src/content/docs/cloudflare-one/policies/gateway/initial-setup/http.mdx +++ b/src/content/docs/cloudflare-one/policies/gateway/initial-setup/http.mdx @@ -30,6 +30,8 @@ To filter HTTP requests from a device: ## 2. Verify device connectivity +To verify your device is connected to Zero Trust: + **Network**. 2. Under **Gateway logging**, enable activity logging for all Network logs. 3. On your WARP-enabled device, open a browser and visit any website. @@ -43,6 +45,10 @@ To filter traffic from private networks, refer to the [Cloudflare Tunnel guide]( 3. Note the **Public IP**. 5. In Zero Trust, go to **Logs** > **Gateway** > **Network**. Before building Network policies, make sure you see Network logs from the Source IP assigned to your device. -## 3. Add policies +## 3. Create your first network policy + + + +## 4. Add optional policies -To create a new network policy, go to **Gateway** > **Firewall policies** > **Network** in Zero Trust. Refer to our list of [common network policies](/cloudflare-one/policies/gateway/network-policies/common-policies) for policies you may want to create. +Refer to our list of [common network policies](/cloudflare-one/policies/gateway/network-policies/common-policies) for policies you may want to create. diff --git a/src/content/docs/learning-paths/secure-internet-traffic/build-network-policies/create-policy.mdx b/src/content/docs/learning-paths/secure-internet-traffic/build-network-policies/create-policy.mdx index f851a8d4abf54b..b16bee0681ae60 100644 --- a/src/content/docs/learning-paths/secure-internet-traffic/build-network-policies/create-policy.mdx +++ b/src/content/docs/learning-paths/secure-internet-traffic/build-network-policies/create-policy.mdx @@ -9,17 +9,7 @@ import { Render } from "~/components"; You can control network-level traffic by filtering requests by selectors such as IP addresses and ports. You can also integrate network policies with an [identity provider](/cloudflare-one/identity/idp-integration/) to apply identity-based filtering. -To create a new network policy: - -1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Gateway** > **Firewall policies**. -2. In the **Network** tab, select **Add a policy**. -3. Name the policy. -4. Under **Traffic**, build a logical expression that defines the traffic you want to allow or block. -5. Choose an **Action** to take when traffic matches the logical expression. - -6. Select **Create policy**. - -For more information, refer to [network policies](/cloudflare-one/policies/gateway/network-policies/). + diff --git a/src/content/partials/cloudflare-one/gateway/get-started/create-network-policy.mdx b/src/content/partials/cloudflare-one/gateway/get-started/create-network-policy.mdx new file mode 100644 index 00000000000000..93e7cd9acb26c1 --- /dev/null +++ b/src/content/partials/cloudflare-one/gateway/get-started/create-network-policy.mdx @@ -0,0 +1,20 @@ +--- +{} +--- + +import { Render } from "~/components"; + +To create a new network policy: + +1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Gateway** > **Firewall policies**. +2. In the **Network** tab, select **Add a policy**. +3. Name the policy. +4. Under **Traffic**, build a logical expression that defines the traffic you want to allow or block. +5. Choose an **Action** to take when traffic matches the logical expression. + +6. Select **Create policy**. + +For more information, refer to [network policies](/cloudflare-one/policies/gateway/network-policies/).