Remote login to Subnet

D-link / Dsl504t
March 10, 2010 at 20:19:15
Specs: Solaris 10
I have a standard ADSL router, driving a 192.168.0 subnet, containing 9 Unix machines. The WAN has a fixed IP address, and I'd like to access any machine on the subnet, via telnet, from other sites. How can I do this?

See More: Remote login to Subnet

Report •

March 11, 2010 at 01:49:00
You should use SSH.

W/ SSH you can create tunnels to forward other connections through your SSH session. It's also encrypted, and works as a file transfer program. There's really no reason to use telnet unless the device you're using won't run SSH.

That said - if you really want to run telnet, and you don't want to use a Proxy / VPN / SSH Tunnel, you need to forward different ports on your router to the local boxes.

So, on your router, make incoming 23002 forward to, 23004 ->, 23150 ->, etc. Then from the outside: telnet <public ip> 23004

But, an SSH tunnel is a much better solution.

Report •

March 11, 2010 at 06:00:58
I use ssh to access my UNIX box at home from both my UNIX and XP PC's at work. I use putty on the XP PC.

All you have to do is create a port forward on your router at home to forward port 22 (ssh) to the internal IP of one of your UNIX boxes. Make sure it's ssh daemon is running and ready to accept incoming connections.

From that one UNIX box, you can then ssh into any other UNIX box.

Report •

March 11, 2010 at 08:07:06
As a suggestion, since you have multiple machines you want to connect to, you will want to open the port not forward it. You would do this on the work router not the home router.

Report •

Related Solutions

Ask Question