Skip to content

Commit 03a299b

Browse files
committed
Create policy page
1 parent ec1e4a9 commit 03a299b

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Create your first DNS policy
3+
pcx_content_type: learning-unit
4+
sidebar:
5+
order: 1
6+
---
7+
8+
import { Render } from "~/components";
9+
10+
DNS policies determine how Gateway should handle a DNS request. When a user sends a DNS request, Gateway matches the request against your filters and either allows the query to resolve, blocks the query, or responds to the query with a different IP.
11+
12+
You can filter DNS traffic based on query or response parameters (such as domain, source IP, or geolocation). You can also filter by user identity if you connect your devices to Gateway with the [WARP client or Cloudflare One Agent](/learning-paths/secure-internet-traffic/connect-devices/install-agent/). To learn more, refer to [DNS policies](/cloudflare-one/policies/gateway/dns-policies/).
13+
14+
To create a new network policy:
15+
16+
1. In [Zero Trust](https://one.dash.cloudflare.com/), go to **Gateway** > **Firewall policies**.
17+
18+
2. In the **Network** tab, select **Add a policy**.
19+
20+
3. Name the policy.
21+
22+
4. Under **Traffic**, build a logical expression that defines the traffic you want to allow or block.
23+
24+
5. Choose an **Action** to take when traffic matches the logical expression. For example, we recommend adding a policy to block all [security categories](/cloudflare-one/policies/gateway/domain-categories/#security-categories):
25+
26+
<Render
27+
file="gateway/policies/block-security-categories"
28+
product="cloudflare-one"
29+
/>
30+
31+
6. Select **Create policy**.
32+
33+
For more information, refer to [DNS policies](/cloudflare-one/policies/gateway/dns-policies/).

src/content/docs/learning-paths/secure-internet-traffic/build-network-policies/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Build network security policies
33
pcx_content_type: overview
44
sidebar:
55
order: 8
6-
76
---
87

98
After creating policies for security based on DNS resolution, we can layer in additional security controls with the Gateway network firewall, which operates at Layer 4 of the OSI model. The Gateway network firewall allows you to build specific policies to block users or services' ability to connect to endpoints at specific IPs or on specific ports. You can also use [Protocol Detection](https://developers.cloudflare.com/cloudflare-one/policies/gateway/network-policies/protocol-detection/) to block proxying specific protocols.
@@ -12,4 +11,5 @@ After creating policies for security based on DNS resolution, we can layer in ad
1211

1312
By the end of this module, you will be able to:
1413

15-
* Add recommended network security policies.
14+
- Creat your first Gateway network policy.
15+
- Add recommended network security policies.

src/content/docs/learning-paths/secure-internet-traffic/build-network-policies/recommended-network-policies.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Recommended network policies
33
pcx_content_type: learning-unit
44
sidebar:
5-
order: 1
5+
order: 2
66
---
77

88
import { Details, GlossaryTooltip, Render } from "~/components";

0 commit comments

Comments
 (0)