From: Pavel <p2n@ya.ru>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] ssh tunnel
Date: Tue, 24 Nov 2009 19:17:26 +0400
Message-ID: <hegte6$te6$1@ger.gmane.org> (raw)
In-Reply-To: <20091124141421.GB6209@vladregion.ru>
Hello, Alexander Volkov. On 24.11.2009 18:14 you wrote,
> Однако попробовал - не вышло на внешний тырфейс повиснуть:
Если я правильно понял вашу задачу, то:
1. в sshd_config на сервере_Б д.б.
GatewayPorts = yes
2. с сервера_Б коннектимся по ssh на сервер_А, пробрасывая
локальный порт_Б на сервер_А:порт_А
ssh -L сервер_Б:порт_Б:сервер_А:порт_А сервер_А
3. клиентом_В коннектимся к серверу_Б:порт_Б и попадаем на
сервер_А:порт_А
--
Best regards, Pavel
mail/xmpp: p2n-at-ya-dot-ru
next prev parent reply other threads:[~2009-11-24 15:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-24 13:47 Alexander Volkov
2009-11-24 14:07 ` Pavel
2009-11-24 14:14 ` Alexander Volkov
2009-11-24 15:17 ` Pavel [this message]
2009-11-24 15:20 ` Pavel
2009-11-29 17:50 ` Michael Shigorin
2009-11-25 7:33 ` Alexander Volkov
2009-11-24 14:09 ` Alexey I. Froloff
2009-11-24 14:19 ` Alexander Volkov
2009-11-24 15:15 ` Alexey I. Froloff
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='hegte6$te6$1@ger.gmane.org' \
--to=p2n@ya.ru \
--cc=sysadmins@lists.altlinux.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
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git