Networking Forums

Networking Forums > Computer Networking > Linux Networking > private ports for extra SSH

Reply
Thread Tools Display Modes

private ports for extra SSH

 
 
Tim McCoy
Guest
Posts: n/a

 
      12-13-2004, 09:18 PM
I want to forward additional SSH access to my internal network (i.e.
through my NAT router). Is there a generally accepted range of ports used
for this kind of thing? Obviously, I could use ports to which I don't have
services running on my destination machine - but maybe there's a better
way to do it.

One of my machines already (rather greedily) hold port 22, so where to now?

Cheers

Tim

--
"Linux... because rebooting is for adding new hardware!"

http://home.swiftdsl.com.au/~tmccoy
MSN: (E-Mail Removed)
ICQ: 160341067

 
Reply With Quote
 
 
 
 
Mihai Osian
Guest
Posts: n/a

 
      12-14-2004, 07:28 AM
Tim McCoy wrote:
> I want to forward additional SSH access to my internal network (i.e.
> through my NAT router). Is there a generally accepted range of ports used
> for this kind of thing? Obviously, I could use ports to which I don't have
> services running on my destination machine - but maybe there's a better
> way to do it.
>
> One of my machines already (rather greedily) hold port 22, so where to now?
>
> Cheers
>
> Tim
>


The port 22 is standard for ssh. The list of standard port
assignements is listed in the file /etc/services. Ports below 1024 are
reserved, so you should pick a higher one.
But I am not sure I understand what you want to do: you have several
machines behind your NAT router, and you want to acess any of them from
outside. Am I right ? If so, pick a number of different free ports on
your router, and forward each of them to a different machine on your
internal network. Each forwarded connection should be to port 22 of the
corresponding machine - you don't have to assign a new port to each
machine.
You should read a manual on TCP/IP (eg. Network Administrator's Guide
on http://www.tldp.org).

Mihai
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Masquerading private LAN to private ip entpneur@gmail.com Linux Networking 1 12-31-2007 02:39 AM
WRT54G private ports daveg.01@gmail.com Wireless Internet 5 07-11-2006 04:10 PM
Networked media player with extra network ports? Jon Home Networking 5 05-02-2006 04:33 PM
Extra Privileged ports Syam Linux Networking 0 05-20-2005 08:03 AM
How to know which are ports - Inbound and private Likhith Broadband Hardware 0 01-03-2005 03:17 AM



1 2 3 4 5 6 7 8 9 10 11