SL:Remote Access: Unterschied zwischen den Versionen
imported>Burghardt (Die Seite wurde neu angelegt: „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"…“) |
imported>Burghardt |
||
Zeile 19: | Zeile 19: | ||
ssh -L 12345:tmgsim4.tmg.loc:3389 username@login.stud.informatik.uni-goettingen.de |
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 |
+ | In [[PuTTY]] you need to go to Connections --> SSH --> Tunnels and fill Source Port with 12345 and Destination with <code>tmgsim4.tmg.loc:3389</code>. After pressing "Add" the result is one line in the "Forwarded Ports" list reading: |
L12345 tmgsim4.tmg.loc:3389 |
L12345 tmgsim4.tmg.loc:3389 |
||
Zeile 35: | Zeile 35: | ||
* [[SL:Virtual Machines]] |
* [[SL:Virtual Machines]] |
||
* [[SL:Introduction]] |
* [[SL:Introduction]] |
||
+ | |||
+ | == Links == |
||
+ | * http://sshmenu.sourceforge.net/articles/transparent-mulithop.html -- double-hop port forwarding :-) |
||
+ | |||
[[Category:Sensorlab]] |
[[Category:Sensorlab]] |
Version vom 6. August 2013, 14:24 Uhr
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 uses172.22.0.0/16
- the Sensor Lab's net is behind a local router
172.22.255.253
) and uses a private network192.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
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
See also
Links
- http://sshmenu.sourceforge.net/articles/transparent-mulithop.html -- double-hop port forwarding :-)