Connecting Tech Pros Worldwide Help | Site Map

Internet IP (WAN) and RDC

  #1  
Old March 21st, 2007, 01:43 PM
Newbie
 
Join Date: Mar 2007
Posts: 1
Hi all,

I've try to connect any computer at my office from home. The situation is, my office using a modem router to connect trough the internet. When I try to connect any PC at the office it's required an IP address. So, I put my IP address of my PC at the office. But it couldn't connected, because that was a local IP (it's only can connect on the same LAN).

When I check my global IP I've got a number 222.24.xxx.xxx. But that is not my computer IP, that was my modem address.

What can I do to connect trough my PC, is there any ways to know what is my IP behind a router?
  #2  
Old March 21st, 2007, 09:43 PM
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,927

re: Internet IP (WAN) and RDC


Quote:
Originally Posted by mazzeldiaz
Hi all,

I've try to connect any computer at my office from home. The situation is, my office using a modem router to connect trough the internet. When I try to connect any PC at the office it's required an IP address. So, I put my IP address of my PC at the office. But it couldn't connected, because that was a local IP (it's only can connect on the same LAN).

When I check my global IP I've got a number 222.24.xxx.xxx. But that is not my computer IP, that was my modem address.

What can I do to connect trough my PC, is there any ways to know what is my IP behind a router?
Are you just looking for how to find the local IP of the machine, or are you trying to figure out how to connect to the machine from another site?

If you're already in your modem/router (which I'm doubting), you can run 'ipconfig' on the Windows command line or 'ifconfig' on a *nix command line to get your local IP.
  #3  
Old March 22nd, 2007, 08:12 AM
Newbie
 
Join Date: Mar 2007
Posts: 2

re: Internet IP (WAN) and RDC


Hi dear,

Just try to connect ur PC through the console port and type the show ip interface brief command or show ip interfaces,then u can get all the ip address which are connected with ur router.just u try this thing.

reg
A.Jainudeen
  #4  
Old March 22nd, 2007, 02:38 PM
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,927

re: Internet IP (WAN) and RDC


Quote:
Originally Posted by Ahamedulla jainudeen
Hi dear,

Just try to connect ur PC through the console port and type the show ip interface brief command or show ip interfaces,then u can get all the ip address which are connected with ur router.just u try this thing.

reg
A.Jainudeen
I think the OP is actually attempting to figure out how to dial into his computer behind his router, but was trying to ask a "good and pointed question", but we won't know until he posts again.
  #5  
Old March 30th, 2007, 02:00 AM
Cyberdyne's Avatar
Moderator
 
Join Date: Sep 2006
Location: Los Angeles, CA
Posts: 596

re: Internet IP (WAN) and RDC


Step 1: to find out what your Internet IP is (or you WAN) go to

www.whatismyip.com
or
www.ipchicken.com

In any case if you are planning on using RDC to connect to your pcs at work I suggest you get a static ip address from your ISP (Internet Service Provider), that way you will always know what your address is.

Step 2: to route to your stations at work or business or home that are behind a router you will need to setup port forwarding to particular ip addresses on the network, which will also have to be static.

The default port for RDC is 3389 so if you setup one of your computers behind the router to be on DMZ (all ports open) and you try connect to your computer you will get in (you should do this to test the initial connection only as it is unsecure and opens all ports, which is fine for testing only)

Once you are ready and you setup the computers you want to connect to on the network as static machines you can assign them different ports for RDC read on how to modify the standard 3389 port to other port numbers like this...

1.Start Registry Editor.


2.Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\TerminalServer\WinStations\RDP-Tcp\PortNumber

3.On the Edit menu, click Modify, and then click Decimal.

4.Type the new port number, and then click OK.

5.Quit Registry Editor.
Note When you try to connect to this computer by using the Remote Desktop connection, you must type the new port. Also you may want to restart first.

now in your router configuration setup the port forwarding, so

lets say you want to connect to 192.168.0.2 which you assigned port 3388
so you setup port forwarding from Wan with range * to * (meaning all ips allowed) to LAN range 192.168.0.2 to 192.168.0.2

so now from your home you will enter in RDC connect to: yourworkipaddress:3388 and it will connect to 192.168.0.2

hope this explains it for you, if you need further help, let me know.

Cyberdyne
-=Windows and Networking MOD=-
Reply