Re: X-like Port Forwarding
- From: "Robert Hajime Lanning" <robert.lanning@xxxxxxxxx>
- Date: Thu, 9 Aug 2007 19:31:50 -0700
For X, ssh should setup the whole thing itself. It actually makes a
virtual X server
on the server side and proxies things across, taking care of
authentication issues.
Your $DISPLAY would be something like "localhost:10".
Use the "-X" option.
For other port forwarding, your syntax is correct. You just need to
have whatever
program connect to localhost, not your client machine.
On 8/8/07, Charles Ritter <charles.ritter@xxxxxxxxx> wrote:
Hello,
Does SSH support forwarding miscellaneous ports between two firewalled
hosts? My scenario is this:
12345-| |-12345
MyPC |---------------22-| Server
6000-| |-6000
Forwarding 12345 on server to MyPC:
ssh -R 12345:mypc:12345 server
This seem to work as long as mypc can be resolved by the server.
However, it does not work when mypc is NAT'd and unresolvable.
Shouldn't it work though? Considering I initiated the connection,
shouldn't the remote server be able/willing to send the data? X11
forwarding works in this case, and with a much simpler syntax:
ssh -Y server
Shouldn't something like this work in this case:
ssh -R 12345:localhost:12345 server
ssh -R 12345::12345 server
ssh -R 12345 server
Am I missing something?
Thanks
Chuck
--
And, did Galoka think the Ulus were too ugly to save?
-Centauri
- Follow-Ups:
- Re: X-like Port Forwarding
- From: Leif Ericksen
- Re: X-like Port Forwarding
- References:
- X-like Port Forwarding
- From: Charles Ritter
- X-like Port Forwarding
- Prev by Date: X-like Port Forwarding
- Next by Date: odd problem with connecting from a specific network
- Previous by thread: X-like Port Forwarding
- Next by thread: Re: X-like Port Forwarding
- Index(es):
Relevant Pages
|