`warp-cli set-mode proxy` get error in mac

[email protected] Resources % sudo warp-cli set-mode proxy
Password:
Error: Operation not authorized in this context.

How can I set proxy mode on mac?

Solved, set in Cloudflare zero trust settings/device option.