Re: SSH and forwarding port
From: Felix Tiede (tiede_at_pc-tiede.de)
Date: 08/22/04
- Next message: Freddy: "SSH Proxy Problem"
- Previous message: Bruno Caruso: "SSH and forwarding port"
- In reply to: Bruno Caruso: "SSH and forwarding port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 22 Aug 2004 22:35:13 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruno Caruso wrote:
| Hi,
|
| I want to use SSH from my work desk to the client site for doing some
| diagnosis on electronic systems. The network will be like that:
| One PC at work desk with ssh client on private LAN. SSH client is configured
| for forwarding port 9000 for example (in fact, my diagnosis application). A
| firewall accept the outgoing connection by port 22.
|
| At the client site, one PC with SSH server. The connection to Internet will
| be by DSL link and some servers (diagnosis servers) will be connected on
| the Ethernet private network on site (by Ethernet connection on the SSH
| server PC).
|
| My question is this one:
|
| The final destination of the forwarding TCP frame is a diagnosis servers on
| client private LAN (for example address 10.0.1.1 on port 9000) through the
| PC with SSH server. When SSH server has decrypted the frame, what to do
| with this frame? Because I want that this frame arrive to the diagnosis
| servers. I don't know what to do exactly!.. Is the frame will be routed on
| the LAN by SSH server PC?
|
| Thank you for your help.
|
| Bruno
Yes.
By using the command
'ssh -L 9000:10.0.1.1:9000 <user>@<ssh-server-pc>'
the SSH server PC will forward the connection to IP 10.0.1.1. There is no
need for decryption on the diagnosis server. Also, this connection uses the
server port 22 which should be accepted by both firewalls.
Then you can use your diagnosis tool as if your client pc was this diagnosis
server. There's no need for further configuration of the SSH server PC, only
the diagnosis server must be allowed to accept connections from the SSH
server PC.
But remember:
This connection is encrypted only from your client PC to the SSH server PC,
there's no encryption between diagnosis server and SSH server PC.
Greetings,
Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBKQOBDH+mFzdSOa0RAi+2AJ9cfGPd64pGzrQBEZ3YY6vnpglkEwCfeQ7v
FVni2cWvCGLFgVorfc3wXiM=
=MwJU
-----END PGP SIGNATURE-----
- Next message: Freddy: "SSH Proxy Problem"
- Previous message: Bruno Caruso: "SSH and forwarding port"
- In reply to: Bruno Caruso: "SSH and forwarding port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|