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