SL:Remote Access

Aus Doc-Wiki
Zur Navigation springen Zur Suche springen

Single Hop

Repetition of some well known facts and a standard procedure:

  • local computers are not reachable from the outside world as this is the definition of "local"
  • all our "normal" LANs uses subnets in several sub-ranges of 172.16.0.0/12. E.g. Telematic uses 172.22.0.0/16
  • the Sensor Lab's net is behind a local router 172.22.255.253) and uses a private network 192.168.22.0/24
  • standard protocol to access local machines from outside is SSH
  • to reach (for example) tmgsim1.sl.tmg.loc you need to login to a public server first and then connect to the final destination

This does work only if your destination address:port is reachable from the single intermediate hop.

Accessing a virtual Windows Desktop from a local Windows machine

  • tmgsim4.tmg.loc is running Windows 7

Please note that this machine is not located in the Sensor Lab Network because of limitations of the available license for Qualnet.

~$ host tmgsim4.tmg.loc
tmgsim4.tmg.loc has address 172.22.98.204

Use the login server (login.stud.informatik.uni-goettingen.de) and establish Port Forwarding of an arbitray /unused local port (e.g. 12345) to port 3389 on that target machine using PuTTY.

For reference: the unix command line looks like this:

ssh  -L 12345:tmgsim4.tmg.loc:3389  username@login.stud.informatik.uni-goettingen.de

In PuTTY you need to go to Connections --> SSH --> Tunnels and fill Source Port with 12345 and Destination with tmgsim4.tmg.loc:3389. After pressing "Add" the result is one line in the "Forwarded Ports" list reading:

L12345  tmgsim4.tmg.loc:3389

Now you can connect with rdesktop (Linux) or "Remote Desktop Connection" (Windows) to

localhost:12345

You will get a windows login screen. Log in with your credentials in the usual form, e.g. UG-STUDENT\username or GWDG\username

Please note the number of licenses is small, so you might not be able to use Qualnet.

Successfully verified: Eduroam/WLAN --> login.stud --> rdesktop --> Qualnet. Udo, 05.10.2011

Double Hop

Please read and adapt and document here :-)


See also

Links

  • ...