polipo HTTP proxy
sudo apt-get install polipo
sudo vim /etc/polipo/config
Add:
socksParentProxy = "127.0.0.1:1080"
socksProxyType = socks5
proxyPort = 8123
sudo service polipo restart
or sudo systemctl restart polipo
export http_proxy='' https_proxy=''
export http_proxy='http://127.0.0.1:8123' https_proxy='https://127.0.0.1:8123'
https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy