Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-03-2005, 01:37 PM
|
#1
|
Member
Registered: Dec 2002
Location: Milwaukee, WI
Distribution: Ubuntu, Kubuntu, Debian, CentOS
Posts: 216
Rep:
|
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!
|
|
|
10-03-2005, 02:03 PM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
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.
|
|
|
10-03-2005, 02:17 PM
|
#3
|
Member
Registered: Jun 2003
Location: Hong Kong
Distribution: Mandrake 9.1
Posts: 72
Rep:
|
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...
|
|
|
10-03-2005, 09:15 PM
|
#4
|
Member
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|