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

Re: apt-proxy when roaming

On Tue, 2005-05-24 at 16:25 -0700, Bill Moseley wrote:
> Looking for more suggestions...
> I've got apt-proxy running on an machine on a private address (inside
> my firewall).  My laptop is normally on this LAN, too, and so my
> sources.list points to the local machine.
> I'm wondering what people do in this case when using the laptop at a
> different location.  Update sources.list to point to public debian
> mirrors?  Or maybe create an ssh tunnel to the machine running
> apt-proxy?  What would you suggest?

I run oops as a local proxy on my laptop, and use the 'setoops' script
from whereami to tell it whether / what the upstream proxy is.

This isn't apt-proxy, of course, but a proxy that works for Mozilla and
friends as well, so I don't have to change any settings in other
software when my internet connectivity changes.

Occasionally I want to access sites that are not normally accessible
from my current location (e.g. intranet, when I'm out of the office) and
in those cases I have a script to stop oops and ssh tunnel local 3128 to
a different proxy server.


Andrew @ Catalyst .Net .NZ  Ltd,  PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/            PHYS: Level 2, 150-154 Willis St
DDI: +64(4)803-2201      MOB: +64(272)DEBIAN      OFFICE: +64(4)499-2267
                      What foods these morsels be!

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: