前言

开启Zero Trust

Untitled

Untitled

安装Agent

Untitled

root@photon-machine [ ~ ]# sudo cloudflared service install 你的TOKEN
root@photon-machine [ ~ ]# cloudflared service install
root@photon-machine [ ~ ]# systemctl enable cloudflared
root@photon-machine [ ~ ]# systemctl start cloudflared
root@photon-machine [ ~ ]# systemctl status cloudflared                                                                                  
● cloudflared.service - cloudflared                                                                                                      
     Loaded: loaded (/etc/systemd/system/cloudflared.service; 
enabled; preset: enabled)
     Active: active (running) since Wed 2023-07-12 13:02:40 UTC; 1h 13min ago
   Main PID: 38221 (cloudflared)
      Tasks: 7 (limit: 2377)
     Memory: 26.8M
        CPU: 7.012s
     CGroup: /system.slice/cloudflared.service

映射服务到域名

Untitled

Untitled

设置访问策略

添加登录方式

Untitled

Untitled

添加验证策略

Untitled

Untitled

Untitled

Untitled

防护效果

Untitled

参考

Powered by Kali-Team