Cloudflare Zero Trust
- Connect private networks
- Configure Local Domain Fallback
- Configure Split Tunnels
- Traffic routing with WARP
1. 設定 Client
建立裝置註冊規則
建立裝置註冊規則,用來決定哪些裝置可以加入 Zero Trust 組織。
設定裝置註冊權限
- 在 Zero Trust 中,前往 Settings > WARP Client > Device enrollment > Device enrollment permissions > Manage。
- Rules > Policies > Add a rule > Include > Selector > Emails ending in > Value > @ruru910.com。
2. 透過 WARP 路由私有網路 IP
- 在 Zero Trust 中,前往 Settings > WARP Client > Device settings > Profile settings > Profile name > Default > Configure。
- 設定:
- Enabled: Captive portal detection, Mode switch, Allow device to leave organization, Allow updates。
- Service mode: Gateway with WARP。
- Local Domain Fallback > Manage > Domain > nas.ruru910.com。
- Split Tunnels: Exclude IPs and domains > Manage。
- 刪除 nas.ruru910.com 的 IP range。
3. 用 Gateway 過濾網路流量
1. 啟用 Gateway 代理
- 在 Zero Trust 中,前往 Settings > Network。
- Gateway Logging: Capture all。
- Firewall: Proxy(TCP, UDP, ICMP), WARP to WARP, AV inspection。
2. 建立 Zero Trust Policies
- 前往 Access > Applications > Add an application > Private Network > Application Type > Destination IP。
- Value 輸入應用程式的 IP(例如 10.128.0.7)。
- 修改 policy > identify > Selector > User Email > in > @ruru910.com。
