You are not logged in.

#1 2009-11-20 20:37:19

Malo
Member
Registered: 2006-12-02
Posts: 43

Squid on localhost

HI.. i've just set squid on localhost. This proxy is connected to a parent proxy, so the connection is [localhost Proxy ]->[remote proxy]->internet.

I can connect to internet succesfully from a client, so the proxy is configured correctly.

I need to connect to internet from the localhost also (the pc where I set up squid), to dowload packages with pacman. So i've exported the http_proxy and ftp_proxy enviroment variable with the 127.0.0.1:3128 value. But pacman doesn't work. If i use wget instead, i can download packages! What i'm wrong with?

Offline

#2 2009-11-20 21:19:40

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,237
Website

Re: Squid on localhost

Try HTTP_PROXY and FTP_PROXY instead of http_proxy and ftp_proxy

Out of curiosity, why run squid on the local machine when you already have one upstream? hmm

Offline

#3 2009-11-20 21:25:52

Malo
Member
Registered: 2006-12-02
Posts: 43

Re: Squid on localhost

I maked a little lan inside the biggest one. Whe have only one ip allowed to connect to the proxy(and one user for the authentication), so i've set up a pc to act as proxy server for the other office mate. now we can connect as many pc as we need..

Offline

Board footer

Powered by FluxBB