macOS system settings
- System Settings → Network → your connection (Wi-Fi / Ethernet) → Details → Proxies
- Enable the needed type: Web Proxy (HTTP), Secure Web Proxy (HTTPS) or SOCKS Proxy
- Enter server address and port
- If auth is required, tick the box and enter login/password
- OK → Apply
These settings apply to apps that honor the system proxy: Safari, Mail, many third-party apps.
Safari
Safari automatically uses the system proxy. No separate setting.
Chrome / Edge
Also inherits the system proxy. For per-tab control — the Proxy SwitchyOmega extension.
Firefox
Has its own settings:
- Firefox → Settings → "proxy" → Settings
- Manual configuration, enter parameters
- For SOCKS5 enable Proxy DNS when using SOCKS v5
Telegram Desktop on Mac
- Settings → Advanced → Connection type → Use custom proxy
- Add SOCKS5 or MTProto
Terminal (for developers)
For a single terminal session:
export http_proxy=http://user:pass@host:port
export https_proxy=http://user:pass@host:port
export all_proxy=socks5://user:pass@host:port
WebRTC and leaks
Chrome and Safari can leak the real IP via WebRTC even with a proxy. Install WebRTC Network Limiter or disable WebRTC in the browser.
Verification
browserleaks.com shows whether DNS, WebRTC or IP leaks.
