How to install polipo

sudo apt install -y polipo

mkdir -p ~/.config/polipo
cp /etc/polipo/config ~/.config/polipo/
echo "socksParentProxy = \"127.0.0.1:1080\"" >> ~/.config/polipo/config
echo "socksProxyType = socks5" >> ~/.config/polipo/config
echo "proxyAddress = \"::0\"" >> ~/.config/polipo/config
echo "proxyPort = 8123" >> ~/.config/polipo/config

sudo mv ~/.config/polipo/config /etc/polipo/config
rmdir ~/.config/polipo
sudo service polipo restart