Pages

Friday, 21 March 2014

Linux/Unix - Tunneling (Ubuntu to Unix Server to Windows Server)

Tunneling ni macam kita buka satu port untuk


Remote Desktop Protocol - RDP (port 3389)

ubuntu (localhost) --> unix server (10.44.36.ab4) --> windows server (10.44.36.ab9) port 3389

Command Line :-
ssh -L 33389:windowserverip:3389 username@unixserverip

Example:-


Bila connection dah establish macam gambar bawah ni.
Guna Command lsof -i :33389

Lepas itu bukak Remmina, key in "localhost:33389" dalam Remmina Remote Desktop Client seperti dalam rajah di bawah.

 
 

Setelah siap semua connection dan configuration, try access  Windows Server.

 Untuk guna VNC pulak step dia sama je macam kat atas ni,

Virtual Network Computing - VNC (port 5900)

ubuntu (localhost) --> unix server (10.44.36.ab4) --> windows server (10.44.36.ab9) port 5900

Command Line :-
ssh -L 33389:windowserverip:5900 username@unixserverip


Example:

Lepas itu bukak Remmina, key in "localhost:55900" dalam Remmina Remote Desktop Client seperti dalam rajah di bawah.
 

Setelah siap semua connection dan configuration, try access  Windows Server.
 

 Bagi aku, guna RDP lebih laju dari guna VNC. Selamat mencuba!.

No comments: