How to access your desktop computer from outside ISR

From ISRWiki
Revision as of 17:26, 5 June 2014 by Yoda (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

There are two possible ways of doing this.

Using IPv4

In short, you need to establish a ssh tunnel from your desktop to omni, using your omni account (UNIX), so that whenever you connect from outside to omni, the connection gets tunneled to the desktop computer.

For the ssh tunnel you need to specify the following information (you may have to look up your ssh client documentation for the details):

  • open a remote port
  • choose a remote port in the range 10000 to 10064
  • choose as local port the one you want to contact from outside (examples: 22 for ssh, 3389 for remote desktop, check here for a complete list)
  • connect to omni but keep the connection open, otherwise the tunnel will be closed

Then, to connect from outside, just connect to omni and the remote port you specified above.

Example: (for UNIX)

  • Leave in the desktop computer the following command running
ssh -R 10046:localhost:22 omni.isr.ist.utl.pt
  • To access from outside, run the command
ssh -p 10046 omni.isr.ist.utl.pt

Using IPv6

The ISR network has native IPv6 connectivity. Thus you only need to setup IPv6 in your home computer. Modern operating systems, such as Linux, Mac OS X, and Windows Vista, already support IPv6. Since none of the Portuguese ISP provides IPv6 connectivity, a 6to4 tunnel is necessary.