[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring APT to use localhost port as a proxy



On Thu, Aug 03, 2006 at 07:03:08PM +0300, Andrew Pogrebennyk wrote:
> Hello,
> 
> I have a ssh tunnel which connects localhost:3128 to remote proxy. I
> have tried setting environment variables to localhost:3128 (and
> http://localhost:3128) and modifying apt.conf as well, but apt tries to
> fetch files from 3128:80 :/
> What would you suggest?

Here's my sources.list:

# Sarge (proxied)
deb http://localhost:9999/debian/ sarge main non-free contrib
deb-src http://localhost:9999/debian/ sarge main non-free contrib

# Security (proxied)
deb http://localhost:9999/security sarge/updates main non-free contrib

Here's my .ssh/config for this host:

Host host1
	RemoteForward 9999 aptproxy:9999

Attachment: signature.asc
Description: Digital signature


Reply to: