You can use ssh but ...

On Fri, Oct 03, 2008 at 12:02:22PM -0400, Mitchell Laks wrote:
> Hi,
> 
> I have a number of debian  machines that live behind a firewall. 
> 
> Debian Machine A is granted internet access and can browse
> the internet. However machines B-D were not granted internet access and live 
> on the general internal network,
> and were originally installed with Debian by utilizing a private network with 
> machine A
> 192.168.4.x, and getting internet access via NAT through A. 
> 
> Now machines B-D no longer live on the private network but can ssh into 
> machine A.
> 
> Now I know how to browse the internet on B-D 
> by creating  a ssh tunnel to A and utilizing the Iceweasel Browser settings 
> to use a 
> local Socks proxy.

Yes.

> Can I do something similar with  apt-get so that I can apt-get update and 
> apt-get upgrade 
> over ssh without
> physically moving the machines B-D to the private network 192.168.4.x with 
> machine A?

Yes.  But doing without ssh may be simpler and saves BW.

Run squid on A and let others access it.  You need to set http_proxy
environment variable or use apt.conf setting for all A,B,C.  Then you
save bandwidth.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to