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.
|
 |
08-30-2005, 11:25 PM
|
#1
|
Member
Registered: Aug 2003
Location: Tokyo, Japan
Distribution: Gentoo
Posts: 130
Rep:
|
SSH tunnel stuff
I thought I had this figured out. I've got machine_a and machine_b... both Solaris for simplicities sake. I want to be able to forward from machine_a to machine_z. I run
machine_a:> ssh -L 23:machine_z:23 username@machine_z
It seems to run fine. However, on my workstation, I telnet to machine_a, and I'm actually telnetting into machine_a. IE - no forwarding. Syntax wrong?
Also, what if I wanted to use a port that's normall not open? Say I have an inhouse application running on machine_z that listens on port 2501. I want to fowrard anything that hits machine_a:2501 to machine_z:2501. Isn't machine_a not listening on this port though, and thus will reject any packets?
Thanks
|
|
|
08-31-2005, 03:42 AM
|
#2
|
Member
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940
Rep:
|
ssh forwarding for security reasons only listens to the local interface... ie: you are not supposed to use forwarded ports from another pc, so it is running perfectly fine
|
|
|
08-31-2005, 08:25 AM
|
#3
|
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
|
Nathaniel - your signature has "told" misspelled.
|
|
|
08-31-2005, 05:48 PM
|
#4
|
Member
Registered: Aug 2003
Location: Tokyo, Japan
Distribution: Gentoo
Posts: 130
Original Poster
Rep:
|
Ugh... didn't know that. ?
Well, anyone want to suggest another solution for my problem?
Quote:
Nathaniel - your signature has "told" misspelled.
|
"not" should be capitalized as well.
|
|
|
08-31-2005, 07:24 PM
|
#5
|
Member
Registered: Jul 2005
Location: Mafra, PT
Distribution: Fedora Core
Posts: 90
Rep:
|
Hi GaijinPunch, have a try with ip filter it is a firewall/nat software. Check it over here
http://coombs.anu.edu.au/ipfilter/
Good Luck.
JdogPC
|
|
|
09-01-2005, 12:15 AM
|
#6
|
Member
Registered: Aug 2003
Location: Tokyo, Japan
Distribution: Gentoo
Posts: 130
Original Poster
Rep:
|
Will do. I'm looking at IPTABLES as well... probably not bad to learn 'em both. Thanks for the link.
|
|
|
All times are GMT -5. The time now is 03:39 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
|
|