 |
09-20-2003, 10:09 AM
|
#1 (permalink)
| | Registered User
Join Date: Sep 2003
Posts: 3
| » 
Linksys Router to Internet to VPN Then Connect to Remote using Remote Desktop Connect
I have a network (192.168.1.xxx) on private side of Linksys WAP DSL/Cable Router which is connected to Internet via Cable Modem. I would like to establish a Remote Desktop Connection to a server located on the private side of a remote network (also a 192.168.1.xxx network) that is connected to the internet with a 3COM DSL Router with built-in VPN. I can currently establish the VPN connection through my Linksys equipment, but cannot connect to the server using Remote Desktop Connection while using the Linksys router on my end. If I remove the Linksys router on my end and use a direct connection from my local cable modem to a single PC, I can establish the VPN conenction AND I can connect to the remote server using Remote Desktop Connection. There are no known IP address conflicts between the two private networks, but it seems like when I have the Linksys router installed on my end that the connection request for Remote Desktop Connection may not be leaving my local private network, so I eventually get a "fail to connect error" just like you do if I use the wrong IP address when attempting to connect using the single PC approach without the Linksys router.
Any Ideas???
|
| |
09-20-2003, 10:44 AM
|
#2 (permalink)
| | Registered User
Join Date: Oct 2001 Location: Urbana, Illinois
Posts: 1,845
|
That's right, because your local network is 192.168.1.xxx and so is the remote network. Your Linksys router doesn't know the difference between your local 192.168.1.xxx network and the remote .1.xxx network. So when you go looking for a connection to 192.168.1.xxx on the remote side, the Linksys router is only searching your internal network.
We tried to set up a similar deal at work using two Linksys routers. The remote PC must have some address other than 192.168.1.xxx. Try putting the remote router and PC on 192.168.2.xxx.
__________________
Mark}--->8-8->
If you're not the lead dog, the scenery never changes. |
| |
09-20-2003, 12:29 PM
|
#3 (permalink)
| | Registered User
Join Date: Sep 2003
Posts: 3
|
I went ahead and changed the address of one of the systems, and yes it does work now. Thank You !!
Is there any way known to have both networks at the same address?
|
| |
09-20-2003, 12:35 PM
|
#4 (permalink)
| | Banned
Join Date: Feb 2003 Location: Houston, TX
Posts: 1,595
|
Nope, they must be 2 different networks if they are to talk to each other.
|
| |
09-20-2003, 07:14 PM
|
#5 (permalink)
| | Registered User
Join Date: Jun 2003 Location: NJ
Posts: 1,096
|
Silicon,
If the server on the remote side is a W2K DC and also acting as a DHCP server, it will assign an IP address to the client VPN machine automatically depending on how you have RAS configured. And when you VPN from the client, even though the private ip is say 192.168.1.23, the remote VPN server sees the public IP assigned by the client ISP. And when you configure the client you tell it to use the public ip of the server ISP. So I'm confused as to why you couldn't have the same private ip in use on each end.
|
| |
09-21-2003, 07:30 AM
|
#6 (permalink)
| | Banned
Join Date: Feb 2003 Location: Houston, TX
Posts: 1,595
| Quote: |
If the server on the remote side is a W2K DC and also acting as a DHCP server, it will assign an IP address to the client VPN machine automatically depending on how you have RAS configured.
| Agreed Quote: |
And when you VPN from the client, even though the private ip is say 192.168.1.23, the remote VPN server sees the public IP assigned by the client ISP.
| True, if I am reading it right Quote: |
And when you configure the client you tell it to use the public ip of the server ISP.
| Correct as well
Ok, let me whip up a quick diagram to explain. I will edit with a pic.
Ok, pictures. You should be able to read the text Without VPN With VPN
The problem isnt with the Client seeing the VPN server. Which is what I think you were thinking. The problem is routing, since you now have overlapping address space in your virtual network.
All the quotes were just a way for me to break it up into thoughts/statements.
Last edited by Siliconjunkie; 09-21-2003 at 08:02 AM.
|
| |
09-21-2003, 03:15 PM
|
#7 (permalink)
| | Registered User
Join Date: Jun 2003 Location: NJ
Posts: 1,096
|
This is where I'm confused:
Say you have a home network in a domain environment. And a work network also in a domain environment. Your DHCP scopes are identical (192.168.1.0). (I have this setup but my work DHCP scope is 192.168.0.0 and home is 192.168.1.0, and I VPN back and forth all the time) So I can't test the same scope scenario unless I changed one of the scopes. Anyway if my home IP address is 192.168.1.100 and I VPN into work. RAS is configured to use 192.168.0.30-35 for VPN connections. So the IP address assigned for the connection is different than the home IP address. So even if you have 192.168.1.100 leased on the work network, and your home IP is also 192.168.1.100, when you connect the server will assign the VPN connection an ip that is different then 192.168.1.100.
Does that make sense?
|
| |
09-22-2003, 08:12 AM
|
#8 (permalink)
| | Registered User
Join Date: Sep 2003
Posts: 3
|
Re: Linksys Router to Internet to VPN Then Connect to Remote using Remote Desktop Connect
>>My original Dilemma....
[QUOTE]Originally posted by easikwilson
[B]I have a network (192.168.1.xxx) on private side of Linksys WAP DSL/Cable Router which is connected to Internet via Cable Modem. I would like to establish a Remote Desktop Connection to a server located on the private side of a remote network (also a 192.168.1.xxx network) that is connected to the internet with a 3COM DSL Router with built-in VPN. I can currently establish the VPN connection through my Linksys equipment, but cannot connect to the server using Remote Desktop Connection while using the Linksys router on my end. If I remove the Linksys router on my end and use a direct connection from my local cable modem to a single PC, I can establish the VPN conenction AND I can connect to the remote server using Remote Desktop Connection. There are no known IP address conflicts between the two private networks, but it seems like when I have the Linksys router installed on my end that the connection request for Remote Desktop Connection may not be leaving my local private network, so I eventually get a "fail to connect error" just like you do if I use the wrong IP address when attempting to connect using the single PC approach without the Linksys router.
>>My response after trying to change one of the network IP settings...
I went ahead and changed the IP address (from say 192.168.1.xxx to 192.168.22.xxx) of one of the systems, and yes it does work now. Thank You !!
Is there any way known to have both networks at the same address?
>>New Information to aid with discovering a possible way to keep the IP addreeses of both systems the same.
In my original scenario, both networks were set at 192.168.1.xxx, and when I would VPN in from my cable-modem internet conenction, the gateway/router on the remote end (which has built-in VPN functionality, there is no "server" machine handling the VPN) would dole out an IP address of 192.168.1.189 (with a subnet mask of 255.255.255.255). I was able to see this information by using the IPCONFIG command from the command line. I could ping IP addresses (that existed) in the IP range 192.168.1.xxx on my end only, I could not ping any IP address on the remote network at all. Once I changed my smaller network address to 192.168.22.xxx and repeated the VPN conenction, I was once again assigned 192.168.1.189 by the remote network when connected by VPN, and now I could ping all known IP addresses in the remote network, including the Windows 2000 terminal services server to which I wanted to connect with remote desktop.
What I am looking for a solution to is finding a way to have both networks at 192.168.1.xxx (with no conflicting IP addresses on either end) and be able to VPN into the remote network and have my cable/DSL gateway/router allow me to both connect via VPN, but then see the IP addresses on the remote network. Once I can see the remote networks IP addresses, it seems I have no problem with conencting via Remote Desktop Connection to the Windows 2000 terminal services server.
Hope this helps...
|
| |
03-21-2005, 06:06 AM
|
#9 (permalink)
| | Registered User
Join Date: Mar 2005
Posts: 1
|
Remote Connect
To do a remote connect you need to set linksys in the basic area under DNS as remote. Thus if you type your actual IP address, ie 95.xxx.xx.xx you'll get your linksys router, otherwise I think you have to do more within your admin of your webserver program to get to pages or root directory. I only know thus far how to bring up the router from a remote location.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions  | | | | | Recent Discussions  | | | | | |