tinyproxy

Lightweight HTTP/HTTPS proxy server for routing web traffic

brewmacoslinux
Try with needOr install directly
Source

About

HTTP/HTTPS proxy for POSIX systems

Commands

tinyproxy

Examples

start a proxy server on localhost port 8888$ tinyproxy -d
run proxy server and listen on specific port$ tinyproxy -p 3128
route all web traffic through a proxy server$ tinyproxy -c /etc/tinyproxy/tinyproxy.conf
configure proxy to filter traffic by domain$ echo 'FilterDefaultDeny Yes' >> /etc/tinyproxy/tinyproxy.conf && tinyproxy -c /etc/tinyproxy/tinyproxy.conf
test connection through proxy server$ curl -x http://localhost:8888 https://example.com