dsocks

SOCKS client wrapper for *BSD/macOS to route commands through SOCKS proxies

brewmacoslinux
Try with needOr install directly
Source

About

SOCKS client wrapper for *BSD/macOS

Commands

dsocks

Examples

Route SSH connection through SOCKS5 proxy$ dsocks -S 127.0.0.1:1080 ssh user@example.com
Run curl through SOCKS proxy to fetch a webpage$ dsocks -S socks5://proxy.example.com:1080 curl https://example.com
Execute any command with SOCKS proxy environment variables set$ dsocks -S 127.0.0.1:1080 telnet example.com 80