Tutorial: www.cnblogs.com/mawenqiangi…
Choose Proxy > Proxy Settings, set Proxy port 8888, and check Enable transparent HTTP proxying to Enable transparent PROXying on Charles
Help – > SSL Proxying – > Install Charles Root Certificate
Proxy > Mac OS X Proxy
Chrome and Firefox do not use the proxy server by default