LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-19-2003, 04:12 PM   #1
digsby0007
Member
 
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.


Thanks,
Digsby
 
Old 11-19-2003, 04:36 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
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, 05:25 PM   #3
esteeven
Senior Member
 
Registered: Oct 2001
Location: Bristol UK
Distribution: Arch Ubuntu Slackware
Posts: 1,028

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 www.zoneedit.com . 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 mydomain.com). 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, 06:28 PM   #4
richard3403
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 06:29 PM.
 
Old 11-19-2003, 06:42 PM   #5
lenlutz
Member
 
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 192.168.1.1
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)
 
  


Reply


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


All times are GMT -5. The time now is 04:54 PM.

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