public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Elyahou ITTAH" <ittah.elyahou@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SSH tunnel With Portage
Date: Mon, 14 Jan 2008 13:52:08 +0200	[thread overview]
Message-ID: <c74ac3520801140352j675d6a1alaccaee4f1b4ea1ec@mail.gmail.com> (raw)
In-Reply-To: <200801141251.52371.shrdlu@unlimitedmail.org>

[-- Attachment #1: Type: text/plain, Size: 2183 bytes --]

2008/1/14, Etaoin Shrdlu <shrdlu@unlimitedmail.org>:
>
> On Monday 14 January 2008, Elyahou ITTAH wrote:
>
> > Ok, ;)
> >
> > My Network have a Squid Proxy who allow only some ports like 80 443...
>
> Ok, so you should be able to use
>
> # export http_proxy="proxyname or address"
> # emerge-webrsync
>
> To use the already existing proxy in your network. If you insist on using
> your tunnel, read on.
>
> > Putty is configurated to connect to a box i have in an other place, it
> > allow to make a SSH Tunnel who create a socks proxy at localhost:8080.
>
> So you're forwarding port 8080 on the putty (windows) box to port 1080 on
> the remote box, where a SOCKS server is listening on that port, correct?
>
> I'm not sure whether putty allows non-local connections to forwarded
> ports by default, if this is not the case you'll need to enable that
> option.
>
> > Putty listen to this port and send all the frames passing the 443 of
> > the SQUID proxy to my exterior box.
>
> How do you do that?
>
> > I wan't to configure Portage to
> > use this SOCK proxy at localhost:8080
>
> "localhost", IIUC, is a windows box, and portage is running on another
> (linux, on the same network) box. So, at a minimum, you'll need to
> use "a.b.c.d:8080" as a SOCKS server, where a.b.c.s is the IP address of
> the windows putty box.
>
> Assuming you have a SOCKS server at "a.b.c.d:8080" (albeit through a
> tunnel, but the apps don't know that), then you need to use some
> socksifying utility for emerge, since (AFAIK) it does not support SOCKS
> out of the box. So, something like
>
> # socksify emerge --sync
>
> should work (though I have not tested it). socksify is part of
> net-proxy/dante. Of course, you need to specify the SOCKS proxy at
> a.b.c.d port 8080 in the /etc/socks/socks.conf configuration file (I
> don't remember the exact syntax to do that right now, but it should be
> quite intuitive).
> --
> gentoo-user@lists.gentoo.org mailing list



I am a little confused...

Putty listen to my 127.0.0.1:8080 and forward to my extern box:443 passing
the squid proxy:3128 (in SSH of course)

I tried configure the http proxy by export... but the web rsync still don't
run...

[-- Attachment #2: Type: text/html, Size: 2738 bytes --]

  reply	other threads:[~2008-01-14 11:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14  9:59 [gentoo-user] SSH tunnel With Portage Elyahou ITTAH
2008-01-14 10:13 ` Alan McKinnon
2008-01-14 10:27   ` Elyahou ITTAH
2008-01-14 10:57     ` Etaoin Shrdlu
2008-01-14 10:53       ` Elyahou ITTAH
2008-01-14 11:14         ` Etaoin Shrdlu
2008-01-14 11:05           ` Elyahou ITTAH
2008-01-14 11:33             ` Elyahou ITTAH
2008-01-14 11:51             ` Etaoin Shrdlu
2008-01-14 11:52               ` Elyahou ITTAH [this message]
2008-01-14 12:30                 ` Etaoin Shrdlu
2008-01-14 12:26                   ` Elyahou ITTAH
2008-01-14 13:03                     ` Alan McKinnon
2008-01-14 13:26                       ` Elyahou ITTAH
2008-01-15  0:24                       ` Bo Ørsted Andresen
2008-01-15  0:39                         ` Elyahou ITTAH
2008-01-15  5:51                           ` Alan McKinnon
2008-01-15  6:10                             ` [gentoo-user] " reader
2008-01-15 16:46                               ` Gabriel Rossetti
2008-01-14 14:14                     ` [gentoo-user] " Etaoin Shrdlu
2008-01-14 10:57       ` Alan McKinnon
  -- strict thread matches above, loose matches on Subject: below --
2008-01-15  1:41 Pettersson, Martin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c74ac3520801140352j675d6a1alaccaee4f1b4ea1ec@mail.gmail.com \
    --to=ittah.elyahou@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox