Link to home
Start Free TrialLog in
Avatar of tifosiv122
tifosiv122

asked on

Want to remote login to my pc...how do I do it?

I would like to use either XP Pro's remote desktop or realVNC to log onto my home computer at work.

I am behind a hardware firewall because I am running a home network. How do I make it so that I can connect to my PC from outside the house.

I know my IP address.
I have a Linksys: WRT54G, BEFSR81, BEFCMU10.

What do I do now? I assume I have to set my Linksys to do something...

Thanks,
Erik
SOLUTION
Avatar of sunray_2003
sunray_2003
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sirbounty
Get your wan address here: http://www.whatismyip.com/

forward port 5900 (default for VNC) to your LAN IP (IPCONFIG from a command prompt will give you this)

>>>By default, a VNC server will listen for connections from a VNC viewer on TCP port "5900+N", where N is the "Display Number" (usually just zero). So a VNC server setup for Display-0 will listen on TCP-5900, Display-1 is TCP-5901, etc.

Additionally, the VNC server will listen for connections from a web-browser on TCP port "5800+N", where N is as above. If you point a web-browser to this port, the VNC server will automatically provide a Java VNC viewer that runs right in your web-browser. This Java Viewer will then exchange data with the VNC Server on the same ports a normal VNC Viewer would use: "5900+N". <<<ref:http://faq.gotomyvnc.com/fom-serve/cache/52.html

3389 for RDP...

From Linsys - forward that/those ports to your LAN IP (192.168.1.100)...
Avatar of tifosiv122
tifosiv122

ASKER

When I set a static IP, 192.168.1.100 {the current IP} I could no longer connect to the internet, it timed out. I went to network connections, setup the IP through the TCP/IP. I did the IP, gateway, and subnet all the way it was currently. Any reason why I lost connection? When I went back to auto it worked fine. I guess this is the first step...i'm stuck.

Erik
You should get your IP lease from the router.
It 'should' be 192.168.1.100
You should be able to configure the router over http://192.168.1.1

Static may not have worked for a number of reasons...conflict, misconfigured...??  Leave it at dynamic though.

Did you get your Wan IP?
http://ipchicken.com can also give it to you...
As I said in my original post, I know my IP already. I assume the first poster was correct, I need to assign a static IP...but I can't get that to work. I don't see a setting in my router, 192.168.1.1 to setup the static IP so I assume I need to set it up on the computer.

As for the port forwarding, do I try port 5900 to 192.168.1.1 or do I set it to 192.168.1.100 assuming I get my PC to go static?

Erik
You would see the setting in your PC to do that static IP.
open control panel
go to network connections
right-click the connection you are using say LAN or wireless
go to properties
click on tcp/ip
click on properties
enable "use the following ip address"

give the following


192.168.0.105 ( or anything ur router can assign)
subnet mask : 255.255.0.0
default gateway : 192.168.0.1

preferred DNS : 192.168.0.1
alternate : 4.2.2.2

Now your static IP is set for your pc. this wont work if your router cannot assign that number. check in the web management of your router.

To get all of the settings that you need to set when statically assigning your IP, have it assigned dynamically and go to a dos/command prompt and enter the command "ipconfig /all". Please post the results here. However, from what you posted, it does not sound like you entered any DNS servers when you assigned the ip address statically - this would could major problems for you.

You will need to configure port forwarding in the WRT54G. I have one of these units at home and I could probably guide you through the process if you have any problems with setting up the router.

I would strongly advise using Windows XP remote controll over VNC. VNC is a great product since it is available on many OS's, but XP's built in remote control software is significantly faster when using Windows. It will, however, depend on the client that you will be using... Is it a situation where you have a laptop and will be travelling around with it wanting to dial into the internet and then control your home PC's, or are you wanting to use any available internet cafe, etc??

You will have to configure your WRT54G to forward traffic for TCP port 3389 to the computer that you want to control - hence, you will either need to assign the IP and other settings for the computer statically, or, set a 'reservation' for the ip/computer in the WRT54G's DHCP settings.

As said, I can help out with the router config if you are having trouble - but I will have to look at the web interface at home...


Hope that this makes sense!
You don't need a static IP address for the reason that your router will assign you one and that's that.
Basically, post the IPCONFIG as mentioned.  This will be your local LAN address.

To allow access to a dynamically asssigned WAN address (that your ISP provides you - which 'may' change from time to time), go here: http://www.dyndns.org/services/dyndns/ for a dynamic DNS solution...
Windows IP Configuration

        Host Name . . . . . . . . . . . . : erik
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connecti
on
        Physical Address. . . . . . . . . : 00-07-E9-B3-C9-79
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.1.100
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        IP Address. . . . . . . . . . . . : fe80::207:e9ff:feb3:c979%5
        Default Gateway . . . . . . . . . : 192.168.1.1
        DHCP Server . . . . . . . . . . . : 192.168.1.1
        DNS Servers . . . . . . . . . . . : 167.206.3.224
                                            167.206.3.223
                                            167.206.3.158
                                            fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        Lease Obtained. . . . . . . . . . : Sunday, March 28, 2004 11:01:43 PM
        Lease Expires . . . . . . . . . . : Monday, March 29, 2004 11:01:43 PM

Tunnel adapter Teredo Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
        Physical Address. . . . . . . . . : 00-00-EE-6B-BC-AE-C9-5E
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 3ffe:831f:4004:1956:0:ee6b:bcae:c95e

        IP Address. . . . . . . . . . . . : fe80::5445:5245:444f%4
        Default Gateway . . . . . . . . . : ::
        NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter Automatic Tunneling Pseudo-Interface:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Automatic Tunneling Pseudo-Interface

        Physical Address. . . . . . . . . : C0-A8-01-64
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : fe80::5efe:192.168.1.100%2
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                            fec0:0:0:ffff::2%1
                                            fec0:0:0:ffff::3%1
        NetBIOS over Tcpip. . . . . . . . : Disabled
******************************************************************
I have 9 PC's. If I don't assign a static IP, everytime I restart my PC it will take the next available IP...

Erik
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm at work now...i'll be home tonight and i'll try again, then post results.
Everyone convinced me to use XPs Remote over Real, so let's focus on that after I figure out this static issue.

Thanks,
Erik
I agree, make sure your static IP is outside the range of DHCP addresses.  It is likely you were conflicting with the first leased address of 192.168.1.100.  

I use this same router with Windows XP Remote Desktop.  
I simply set my desktop ip address to 192.168.1.7 - subnet mask of 255.255.255.0 (depending on your setup, but this is default for the wrt54g)  My gateway is the address of the LAN interface on the router (defaults to 192.168.1.1) and you need to find out your DNS servers to use.  It seems you have found your DNS servers, so they are entered.
Now you forward the VNC port (TCP 5900) or Remote Desktop port (TCP 3389) to your desktop IP address.  You can get to port forwarding by logging into your router, and going to port forwarding or maybe it is called applications and gaming.  Have you found port forwarding?

 This router has a range feature in the configuration where you can forward a range like 2000-4000 to one computer, you just want to put the same port in the beginning and end box.

That is all, make sure remote desktop or vnc is running and you should be all set.  Do you know how to set up remote desktop with windows xp?  Or vnc?
I setup remote desktop already, I use it to go between my 9 PCs, so I don't need another KVM.
I know how to get to port forwarding, i've just never used it before. Usually when I play games I would open my PC with DMZ and take it off when I'm finished, but this is a bit different.

I will try the settings above when I get home and post my results.

Erik
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks everyone, got it to work. I split the points for the answers that helped the most. I can now remote log-in.

Erik
FYI about Linksys DDNS 4/13/2004

FIX available for firmware for WRV54G. (version 2.25.2) This should fix the disable problem and functionality with PPPoE connections...

Firmware Version 2.25.2
- Added support to act as a Boingo Hot Spot AP
- Fixed issue with DDNS and PPPoE
- Fixed issue where DDNS status always shows Disabled
- Fixed issue with Domain Name Routing

http://www.linksys.com/download/firmware.asp?fwid=185