How to configure username & password in tinyproxy?

21.2k Views Asked by At

I want to restrict the traffic to tinyproxy, how can i do this by adding username & password instead whitelisting IP addresses?

3

There are 3 best solutions below

2
Max Malysh On BEST ANSWER

Add BasicAuth myuser mypassword to /etc/tinyproxy/tinyproxy.conf.

Note that Basic Auth was added in tinyproxy 1.10.0, but Ubuntu 18.04 installs 1.8.4 by default.

Build the latest version of tinyproxy yourself or just use Ubuntu 19.04 or newer.

1
AudioBubble On

Currently its not supported in tinyproxy.

Here is an open enhancement request for that https://github.com/tinyproxy/tinyproxy/issues/29

0
Retro Gamer On

Although it's not nearly as small as TinyProxy, the Squid proxy server would allow you to setup a username and password for your proxy. This guide shows you how to set this up.