From: Alexander Volkov <vaa@altlinux.org> To: sysadmins@lists.altlinux.org Subject: Re: [Sysadmins] ssh tunnel Date: Wed, 25 Nov 2009 10:33:09 +0300 Message-ID: <20091125073309.GA6217@vladregion.ru> (raw) In-Reply-To: <hegte6$te6$1@ger.gmane.org> On 2009-11-24 19:17:26 +0400, Pavel wrote: P> Hello, Alexander Volkov. On 24.11.2009 18:14 you wrote, P> > Однако попробовал - не вышло на внешний тырфейс повиснуть: P> Если я правильно понял вашу задачу, то: P> 1. в sshd_config на сервере_Б д.б. P> GatewayPorts = yes Таки почитал man и поставил clientcpecified P> 2. с сервера_Б коннектимся по ssh на сервер_А, пробрасывая P> локальный порт_Б на сервер_А:порт_А Нет, этот вариант недоступен. Можно только с Сервер_А на Сервер_Б, но не наоборот. Поэтому использую -R P> ssh -L сервер_Б:порт_Б:сервер_А:порт_А сервер_А P> 3. клиентом_В коннектимся к серверу_Б:порт_Б и попадаем на P> сервер_А:порт_А Надо таки будет проверить, пока неколи было... -- Regards, Alexander
next prev parent reply other threads:[~2009-11-25 7:33 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 2009-11-24 15:20 ` Pavel 2009-11-29 17:50 ` Michael Shigorin 2009-11-25 7:33 ` Alexander Volkov [this message] 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=20091125073309.GA6217@vladregion.ru \ --to=vaa@altlinux.org \ --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