Using Tor Browser's SOCKS Port

Thank you @Protium_serratum for recommending HTTPTunnelPort.

For years I have used Polipo (deprecated) and currently Privoxy to provide an HTTP proxy pointing to Tor’s SOCKS5 port, and these worked well. Privoxy provides advanced filtering capabilities so I used that to create an additional whitelisting proxy server to keep an old Windows virtual machine in check.

I like the stream isolation advantage of HTTPTunnelPort, and I began testing HTTPTunnelPort with wget. I am using shell variables to only adjust the proxy for wget, but I noticed something unexpected.

HTTPTunnelPort appears to only work as an https_proxy…not as an http_proxy.

For example, this works as expected:
export https_proxy=“http://127.0.0.1:9100/” && wget (insert URL here)

For example, this does not work as expected:
export http_proxy=“http://127.0.0.1:9100/” && wget (insert URL here)

The version of wget I am using (1.21.2) does not support SOCKS5. I think that was a recent development.

I think the version of wget I am using either prefers an https_proxy, does not work with http_proxy, or HTTPTunnelPort provides https_proxy.

Hopefully these notes will help @abc in troubleshooting.