Networking Forums

Networking Forums > Computer Networking > Linux Networking > port tunneling over ssh (not port-forwarding in the traditional sense)

Reply
Thread Tools Display Modes

port tunneling over ssh (not port-forwarding in the traditional sense)

 
 
C3
Guest
Posts: n/a

 
      07-26-2006, 02:42 PM
Does anybody know of a way to do port forwarding over ssh not using the
standard ssh functionality, but rather by running a utility on the server
and using a special client that forwards data through the terminal session.

I think PPP and slirp would do the job, but I would prefer to have a
standalone client that exists solely to forward one (or several) ports,
rather than acting as my main network connection.


 
Reply With Quote
 
 
 
 
Andrew Schulman
Guest
Posts: n/a

 
      07-26-2006, 03:44 PM
> Does anybody know of a way to do port forwarding over ssh not using the
> standard ssh functionality, but rather by running a utility on the server
> and using a special client that forwards data through the terminal session.
>
> I think PPP and slirp would do the job, but I would prefer to have a
> standalone client that exists solely to forward one (or several) ports,
> rather than acting as my main network connection.


I don't know of such a method, although it probably can be done. But I'm
having trouble understanding what the advantage is. You still have to run
an ssh client and ssh server. Then you want to add an additional client and
server that will communicate over the ssh connection, in order to forward
some ports. But the ssh session will already do this, so where's the
benefit?

Are you maybe thinking of automation? That is, you want to ports to be
forwarded automatically as soon as you boot or log in, without you having to
start an ssh client session? If so, then maybe autossh is what you want:
http://www.harding.motd.ca/autossh/.

--
To reply by email, change "deadspam.com" to "alumni.utexas.net"
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Port Forwarding to DMZ make sense? jMon54 Network Routers 1 07-27-2006 11:09 PM
SSH port forwarding/tunneling Captain Dondo Linux Networking 2 10-31-2005 03:42 PM
SSH port forwarding/tunneling question Wes Gray Linux Networking 5 07-02-2004 02:00 AM
Port forwarding on Conexant 4 port adsl router Graham Russell Broadband 14 10-24-2003 09:16 PM
Port forwarding on Conexant 4 port adsl router Graham Russell Broadband 1 10-17-2003 11:09 AM



1 2 3 4 5 6 7 8 9 10 11