From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] VNC over SSH (VNC session is non-local to SSH)
Date: Tue, 10 Oct 2006 10:48:24 -0700 [thread overview]
Message-ID: <7573e9640610101048q587e5ca9s947fbdecd3f207d6@mail.gmail.com> (raw)
In-Reply-To: <642958cc0610101033h5d37d0cfh48367ea964f2db3@mail.gmail.com>
On 10/10/06, Mark Shields <laebshade@gmail.com> wrote:
> Thank you Richard and Mauro, but this wasn't what I was looking for. The
> vnc and the ssh server are not the same.
ssh port forwarding is not limited to just the machine you are logging
into. It will forward the connection to another host. So I think
this is still what you want:
# ssh -L localhost:5901:vnchost:5901 routerhost
This will cause the ssh client to forward any connections to 5901 on
localhost to be forwarded to the server on routerhost, which will then
make the connection to vnchost port 5901. No need to muck with
iptables rules at all here.
-Richard
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-10-10 17:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-10 16:46 [gentoo-user] VNC over SSH (VNC session is non-local to SSH) Mark Shields
2006-10-10 17:10 ` Mauro Faccenda
2006-10-10 17:13 ` Richard Fish
2006-10-10 17:33 ` Mark Shields
2006-10-10 17:48 ` Richard Fish [this message]
2006-10-10 17:58 ` Mark Shields
[not found] ` <200610102001.43039.bo.andresen@zlin.dk>
2006-10-10 18:08 ` Mark Shields
2006-10-10 18:14 ` Richard Fish
2006-10-11 1:03 ` W.Kenworthy
-- strict thread matches above, loose matches on Subject: below --
2006-10-10 19:27 Sieb, Glenn E (Glenn)
2006-10-10 21:43 ` Mick
2006-10-10 21:55 ` Mark Shields
2006-10-11 7:00 ` Mick
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=7573e9640610101048q587e5ca9s947fbdecd3f207d6@mail.gmail.com \
--to=bigfish@asmallpond.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