I want to restrict the traffic to tinyproxy, how can i do this by adding username & password instead whitelisting IP addresses?
How to configure username & password in tinyproxy?
21.2k Views Asked by karthikdivi At
3
There are 3 best solutions below
1
On
Currently its not supported in tinyproxy.
Here is an open enhancement request for that https://github.com/tinyproxy/tinyproxy/issues/29
0
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.
Add
BasicAuth myuser mypasswordto/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.