From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SSH tunnel With Portage
Date: Mon, 14 Jan 2008 12:51:52 +0100 [thread overview]
Message-ID: <200801141251.52371.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <c74ac3520801140305j5de13aa8h71ac04b748839056@mail.gmail.com>
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
next prev parent reply other threads:[~2008-01-14 11:36 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 [this message]
2008-01-14 11:52 ` Elyahou ITTAH
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=200801141251.52371.shrdlu@unlimitedmail.org \
--to=shrdlu@unlimitedmail.org \
--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