LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-03-2007, 09:43 AM   #1
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Rep: Reputation: 40
SSH tunneling


Greetings,

Actually I'm having troubles with SSH tunneling , so I googled and got to this website [HTML]http://www.rzg.mpg.de/networking/tunnelling.html[/HTML]
the problem is that I can't "tunnel" thru to the daemon I've running on machine behind the Firewall/NAT.

I'm running this code on my local console:
Code:
ssh -l Myuser -L 77777:127.0.0.1:12345 domain.net cat -
basically the exact same thing that's told on the website , am I misunderstanding something?
and what should appear on netstat when the tunnel is opened?

P.S "domain.net" is a nick to replace the real address ,you know

thanks in advance

Last edited by entz; 04-03-2007 at 09:49 AM.
 
Old 04-03-2007, 10:06 AM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Have you forwarded port 22 on your Router/Firewall to your host computer? Would your host computer be running a firewall that would prevent you from completing a connection?
 
Old 04-04-2007, 07:11 AM   #3
entz
Member
 
Registered: Mar 2007
Location: Milky Way , Planet Earth!
Distribution: Opensuse
Posts: 453
Blog Entries: 3

Original Poster
Rep: Reputation: 40
Red face Ops my bad

I'm sorry ,

it turned out to be a silly hectic-incited error , I simply was connecting to the wrong local port on my box , Oh Chaotic me!
 
Old 04-04-2007, 07:22 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,122

Rep: Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985Reputation: 985
Quote:
A newbie is NOT necessarily someone who doesn't know , but someone whom You don't know what he/she might know!

In this Essence never ever underestimate a Newbie.
Or the chaos they may cause ....
 
  


Reply

Tags
ssh, tunneling


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 Tunneling danny_beta_read Linux - Networking 0 06-10-2004 02:43 PM
Tunneling through SSH rech Slackware 1 11-28-2003 08:21 PM


All times are GMT -5. The time now is 11:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration