LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-03-2005, 01:37 PM   #1
Moebius
Member
 
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216

Rep: Reputation: 30
SSH tunneling uses what port?


When I create an SSH tunnel, with port 25 for example, does it actually go through the firewall as port 25 or does it capture any local requests on port 25, transfer them through the tunnel on the standard SSH port, and deliver them on the remote machine to port 25?

Thanks!
 
Old 10-03-2005, 02:03 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
i think you will find the answer to your question here:

http://www.rzg.mpg.de/networking/tunnelling.html

if you do, please share the answer with the thread so that it can also benefit others...

good luck...


Last edited by win32sux; 10-03-2005 at 02:04 PM.
 
Old 10-03-2005, 02:17 PM   #3
Randvegeta
Member
 
Registered: Jun 2003
Location: Hong Kong
Distribution: Mandrake 9.1
Posts: 72

Rep: Reputation: 15
If you setup an SSH tunnel, all traffic you asign to use the tunnel will use your SSH port. Im not entirley sure of the question...
 
Old 10-03-2005, 09:15 PM   #4
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
I believe the answer to your question is "the 2nd thing" - all traffic through the firewall is sent through whatever port your SSH client connects to. Note, though, that when you create the tunnel you have to specify what port on the server you want your SSH client to redirect traffic to. I don't think that port 25 on the client automatically translates to port 25 on the server.

Hope this helps

Last edited by pnellesen; 10-03-2005 at 09:17 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
tunneling thru ssh c9876543210 Linux - Networking 1 07-21-2005 12:45 AM
X tunneling with SSH phekno Linux - Networking 3 05-31-2005 10:43 AM
SSH tunneling X AzZuM Linux - Security 3 11-27-2004 01:59 AM
ssh port forwarding (tunneling?) question podollb Linux - Software 4 10-20-2004 01:12 AM
Tunneling through SSH rech Slackware 1 11-28-2003 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration