Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-19-2003, 03:12 PM   #1
Registered: Jan 2003
Posts: 94

Rep: Reputation: 15
how can I have people telnet/ssh to my box when im behind a router?

Ok im running RH 8, and I have a linksys router that connects to machines to the net. I want to be able to have someone telnet to my Ip and it be sent to my machine. Now im somewhat of a newbie, and have no clue how to do this so any advice, direction would be great.

Old 11-19-2003, 03:36 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
I understand you have a dynamic IP (are you using dhcp?). In most cases the solution is to redirecto ports to your machine. But you need to check in the router's manual if it can be done. The other method is to build a tunnel, but in such case you need to have access to a machine with a global IP (connected directly to the Internet).
Old 11-19-2003, 04:25 PM   #3
Senior Member
Registered: Oct 2001
Location: Bristol UK
Distribution: Slackware Ubuntu
Posts: 1,053

Rep: Reputation: 42
If you have a dynamic ip, it is difficult to ssh into your box - considering that the ip today might not be the ip tomorrow. I had the same problem - I was able to ssh into my home box from work box until the ip addresses were changed. My advice is this - either
(a) buy a dynamic ip from your isp
(b) register a domain and register with . Point your domain at the zoneedit nameservers (it's all explained in the documentation on zoneedit) and - hey presto - you will be able to telnet/ssh to your domain (e.g. ssh You'll need software to update zoneedit about your dynamic address changes - info on zoneedit. Note - be careful where you register your domain. Be sure that they allow you to use your own (ie zoneedit's) nameservers.

Good luck
Old 11-19-2003, 05:28 PM   #4
LQ Newbie
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
I don't know the answer but I would not allow any telnet access. Only ssh. Telnet is insecure. Make sure your ssh is updated with latest patches. You can use ssh to be enabled with public key encryption and/or passwords, but with the right passwords it will be quite secure.

Last edited by richard3403; 11-19-2003 at 05:29 PM.
Old 11-19-2003, 05:42 PM   #5
Registered: May 2003
Location: philadelhpia pa
Posts: 92

Rep: Reputation: 15
IF youre using the linksys (or, i guess any other)
there is a tab, for "forwarding", or "port forwarding"
(in the linksys, its "advanced"..... "forwarding"

if your machine is
then put that in the address, and 23 in the port

when your router sees port 23, it will send it "forward it", to your machine
(or port 22 for ssh)


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
Distro + WM for Kiosk-type box for old people Jimmy The Clown Linux - Distributions 1 11-02-2005 08:56 PM
people cant telnet in flamah Linux - Newbie 8 05-31-2004 08:53 AM
Can ping but can not telnet/ftp/ssh my box fbarre Linux - Networking 10 04-20-2004 12:11 AM
make sure people can telnet to my linux machine iikent Linux - Newbie 9 01-30-2004 09:35 PM
SSH into Third box behind a linksys router. donk3 Linux - Networking 1 09-05-2003 01:02 PM > Forums > Linux Forums > Linux - Networking

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

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