|
|
|
|
||||||
| comp.security.ssh SSH secure remote login and tunneling tools. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
Im trying to set up ssh local port forward. But I dont know the ports to connect to on the remote machine beforehand. Is it possible to setup forward for a range of ports? thanks rc |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
You can specify multiple ports to forward on the command line, or
establish a VPN if you have the need for UDP. See: http://www.securitybulletins.com/med...SSH_Tunnelling for info on both types. Doug On 21 Nov 2006 15:57:54 -0800 chandranramesh@gmail.com wrote: > Hi, > > Im trying to set up ssh local port forward. > But I dont know the ports to connect to on the remote machine > beforehand. > > Is it possible to setup forward for a range of ports? -- For UNIX, Linux and security articles visit http://SecurityBulletins.com/ |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
In article <1164153474.108673.130230@b28g2000cwb.googlegroups .com>
chandranramesh@gmail.com writes: > >Im trying to set up ssh local port forward. >But I dont know the ports to connect to on the remote machine >beforehand. You could perhaps use OpenSSH's "dynamic" port forwarding, i.e. SOCKS - see the -D option. >Is it possible to setup forward for a range of ports? Not as such (with OpenSSH), though (with OpenSSH) you can AFAIK give any number of -L options - i.e. a range is just a matter of giving one -L option for every port in the range. A bit verbose, but the end result would be the same - ssh (any flavour) would need to open a separate socket for every port in the range, there's no such thing as wildcarding or "ranging" the port in the socket API. --Per Hedeland per@hedeland.org |
|
![]() |
| Outils de la discussion | |
|
|