LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-31-2005, 08:42 PM   #1
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Rep: Reputation: 30
ssh from outside throough a router


Hello guys, I have a home network, and I am trying to setup a ssh connection to one of my linux-boxes, so I can access it when I am not at home. I have ssh running on port 669 without any problem, I can access my box without a problem from a computer on the same LAN. I have a Belkin wireless router, and I am trying to forward all my ssh traffic to the linux box. My outside IP is 67.173.XXX.XX, my ssh computer has private IP 192.168.2.7 with SN of 255.255.255.0. Belkin has an option called Virtual Servers, that "will allow you to route external calls for services through your Router to your internal network ". I have something similar to this

Enable Descr. Inbound Port Type Private IP Private Port
check secure-SH 669-669 TCP 192.168.2.7 669-669


OK, I don't get where the problem is, the only thing I am worried about is the 669-669 part. But when I just selected the default service from the menu, it filled in 22-22, so I assumed that I have to put 669-669. I tested with -669 and 669-, but I still get host unknown. Can anyone help pls
 
Old 10-31-2005, 09:46 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
I am not familiar with home grade gear, but will this Belkin allow you to forward port 22 to a local machine port 669? In other words, will it be able to do the following PublicIP:22 -> 192.168.x.y:669?
 
Old 10-31-2005, 10:02 PM   #3
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 30
neo77777,

Thanx for replying, according to the documentation, yes it should.
 
Old 11-01-2005, 06:58 AM   #4
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
There are loads of tutorials on forwarding port's on the internet. Use google to find one for your router. You want to forward port 669.
 
Old 11-01-2005, 01:29 PM   #5
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 30
Thanx, everyone for their posts. After spending a whole day yesterday reading at documentation and searching on google, I decided to call Belkin directly. It turned out that I had done everything perfectly, but apparently there is a problem with the router. I am shipping it back to the manufacturer.
 
Old 01-20-2006, 08:18 PM   #6
alagenchev
Member
 
Registered: Oct 2004
Location: USA
Distribution: Slackware, Debian, Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 30
bought a new router everything works fine now
 
  


Reply



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
ssh trhough a router from outside DropSig Linux - Networking 1 07-04-2005 04:07 PM
Got new router, can't ssh in now Chuk Linux - Networking 2 10-16-2004 01:52 AM
ssh and router, I need help. babyboss Linux - Networking 4 09-22-2004 11:40 AM
SSH , RH 9 and router weird_guy Linux - Networking 6 07-13-2003 09:17 PM
ssh behind a router The sakkie Linux - Networking 16 07-12-2003 04:48 AM

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

All times are GMT -5. The time now is 08:24 AM.

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