PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.security.ssh > ssh port forward - for port range
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.security.ssh SSH secure remote login and tunneling tools.

ssh port forward - for port range

Réponse
 
LinkBack Outils de la discussion
Vieux 21/11/2006, 23h57   #1
chandranramesh@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut ssh port forward - for port range

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

  Réponse avec citation
Vieux 22/11/2006, 12h38   #2
Doug Spencer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh port forward - for port range

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/
  Réponse avec citation
Vieux 25/11/2006, 19h57   #3
Per Hedeland
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: ssh port forward - for port range

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

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h18.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10961 seconds with 11 queries