A Simple method to connect to your home pc though you are behind a firewall.
(Incomplete: I will complete it further expanding each section. As I'm writing this I also found
How To Set Up VNC Over SSH On Windows XP By Erik J. Heels)
(Incomplete: I will complete it further expanding each section. As I'm writing this I also found
How To Set Up VNC Over SSH On Windows XP By Erik J. Heels)
CREDITS:This article is same as : HOW TO: Remote desktop to a Windows server through a firewall with Putty
The above article is for windows. But what about Linux fans. Read on.. Steps below:
1. Install a SSH server on your home PC
Windows 2003/XP
Linux Ubuntu Redhat
2. Change the listening port to 443 (check above links).
Windows
Linux/Ubuntu
3. Setup NAT/port forwarding if needed (Normally needed for broadband connections).
4. For Remote Desktop it is 3389, for VNC it is 5900.
5. Register with a Dynamic DNS service.
6. Install the DDNS client on your Home PC.
7. On your work PC which is behind a firewall, install Putty.
8. Configure a new ssh session for the ssh server using the ddns name.
The above article is for windows. But what about Linux fans. Read on.. Steps below:
1. Install a SSH server on your home PC
Windows 2003/XP
Linux Ubuntu Redhat
2. Change the listening port to 443 (check above links).
Windows
Linux/Ubuntu
3. Setup NAT/port forwarding if needed (Normally needed for broadband connections).
4. For Remote Desktop it is 3389, for VNC it is 5900.
5. Register with a Dynamic DNS service.
6. Install the DDNS client on your Home PC.
7. On your work PC which is behind a firewall, install Putty.
8. Configure a new ssh session for the ssh server using the ddns name.

9, In the connection/ssh/tunnels menu, add a new forwarded port. Set up a port on your own machine (this will be the virtual, forwarded connection to the remote PC), so use anything unused, like 3000.

10. In the destination field, enter the ip address and VNC/RDC port for the firewalled machine, Ie. 192.168.0.5:3389 (192.168.0.5:3389 for RDP and 192.168.0.5:5900 for VNC)
11. Now save your session and connect to the SSH server
12. Enter localhost:3000 in RDP or VNC.
You should be connected now.




0 comments:
Post a Comment