Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure username & password in tinyproxy?

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

like image 617
karthikdivi Avatar asked Sep 11 '17 06:09

karthikdivi


People also ask

How do I find my git config username?

If you want to check your configuration settings, you can use the git config --list command to list all the settings Git can find at that point: $ git config --list user.name=John Doe user.

What is git config user name?

About Git usernamesYou can change the name that is associated with your Git commits using the git config command. The new name you set will be visible in any future commits you push to GitHub from the command line. If you'd like to keep your real name private, you can use any text as your Git username.


1 Answers

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.

like image 159
Max Malysh Avatar answered Sep 21 '22 09:09

Max Malysh