---
title: Verify device connectivity · Cloudflare Learning Paths
description: To validate that Cloudflare is receiving traffic from a user device:
lastUpdated: 2024-08-13T19:56:56.000Z
source_url:
  html: https://5973743b.preview.developers.cloudflare.com/learning-paths/replace-vpn/connect-devices/validate-traffic-in-gateway/index.md
  md: https://5973743b.preview.developers.cloudflare.com/learning-paths/replace-vpn/connect-devices/validate-traffic-in-gateway/
---

To validate that Cloudflare is receiving traffic from a user device:

1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Settings** > **Network**.
2. Under **Gateway logging**, enable activity logging for all DNS logs.
3. On your device, open a browser and go to any website.
4. In Zero Trust, go to **Logs** > **Gateway** > **DNS**.
5. Make sure DNS queries from your device appear.

## Best practices

Securing your organization with a Zero Trust Network Access solution usually happens in two phases: the first phase is establishing connectivity, and the second phase is building policies for distinct applications. We recommend verifying that all connectivity is working as expected before moving on to build complex security policies. This will reduce the amount of troubleshooting and challenges that arise from managing complex systems.
