Use proxy in macos and pulse (with psproxy, for ZAP/Burp)

Problem

Have a light but troublesome problem. Pulse secure is enabled on the mac and proxy does not operate normally while connected. To solve this, I googled. and I find convenient tool and i share it

https://github.com/majgis/psproxy !!

Install psproxy

npm i -g psproxy

Using proxy!

Set your network Proxy and use psproxy (Set proxy and Certificate for ZAP/Burp)

sudo psproxy on
sudo psproxy off