Re: port forwarding for multiple ports
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 04/27/04
- Next message: someone: "FTP/SSH question"
- Previous message: Darren Tucker: "Re: How to resume an scp transfer?"
- In reply to: RFT: "port forwarding for multiple ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 27 Apr 2004 00:42:51 +0000 (UTC)
In article <610789b8.0404261242.35824a3b@posting.google.com>,
RFT <rodrigofteixeira@yahoo.com.br> wrote:
>Is there any way to do a port forwarding (ssh -L
>localport:remotehost:remoteport) for a range of ports?
Use lots of "-L" command line options :-?
>If do not, can I do a port forwarding dinamically? (is there any
>application that do something like this?)
It depends on what you mean by "dynamically". Some implementations
(eg, PuTTY, OpenSSH, possibly others) have a "dynamic forward" option
which implements a SOCKS server in the SSH client, so if you application
understands SOCKS (or can be made to, eg "socksify" or "runsocks") then
it can use an SSH tunnel pretty much transparently.
Alternatively, you could use something like OpenSSH's EscapeChar and
add local forwardings at run time (eg "[CR]~C -L lport:remhost:rport").
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: someone: "FTP/SSH question"
- Previous message: Darren Tucker: "Re: How to resume an scp transfer?"
- In reply to: RFT: "port forwarding for multiple ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|