|

How to install tinyproxy, the comprehensive guide

You should build from source, since the latest version on Ubuntu repository doesn’t support authentication yet

git clone https://github.com/tinyproxy/tinyproxy.git
sudo apt-get install automake cmake asciidoc 

cd tinyproxy
./autogen.sh
make && make install

Add authentication

vi /etc/tinyproxy.conf
-----
BasicAuth user password
Allow your.local.ip.address
-----
sudo /etc/init.d/tinyproxy restart

One Comment

  1. Thank you very much! This helped me with a work project that accesses an API that required a whitelisted IP but was hosted on Heroku a service where IPs change all the time and there are no static IPs. By proxiying calls through a static instance hosted elsewhere I can get things working. Due to the dynamic IPs the IP whitelist in tinyproxy was also a problem so basic auth with at least18 char username and password was a must if was going to do `allow 0.0.0.0`.
    I would of just used ssh -D to create a socks5 proxy but ruby the language doesn’t have good support for socks proxies in the http api, especially since I need to use a client cert as well.

Leave a Reply

Your email address will not be published. Required fields are marked *