Score:-2

Creating a HTTP proxy with user and pass with Squid

jp flag

I want to know if with Squid I can use as a proxy with basic auth, to use with cURL for example:

curl -vvv "https://ifconfig.me" -x user:password@localhost:8000

Where localhost is the Squid instance.

Is it possible with Squid and HTTPS websites?

djdomi avatar
za flag
yes and end-user question are off-topic
Score:0
jp flag

Solved with

htpasswd -bc /etc/squid/passwords user password

squid.conf

auth_param basic program /usr/lib/squid3/basic_ncsa_auth /etc/squid/passwords
auth_param basic realm proxy
acl authenticated proxy_auth REQUIRED
http_access allow authenticated

http_port 3128
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.