home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Networking and Internet
Ask a Tech Support Question (free)!

Linksys Router to Internet to VPN Then Connect to Remote using Remote Desktop Connect

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 1269
Discussions: 200,904, Posts: 2,378,893, Members: 246,275
Old September 20th, 2003, 01:09 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Sep 2003
Posts: 3
Question
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???
easikwilson is offline   Reply With Quote
Old September 20th, 2003, 01:44 PM     #2 (permalink)
Free Thinker
 
M_Six's Avatar
 
Join Date: Oct 2001
Location: Charleston, Illinois
Posts: 4,522
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.
__________________
You can't fix stupidity.
M_Six is offline   Reply With Quote
Old September 20th, 2003, 03:29 PM     #3 (permalink)
Junior Member
 
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?
easikwilson is offline   Reply With Quote
Old September 20th, 2003, 03:35 PM     #4 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,468
Send a message via AIM to Siliconjunkie
Nope, they must be 2 different networks if they are to talk to each other.
__________________
My computer is bigger than yours!
Siliconjunkie is offline   Reply With Quote
Old September 20th, 2003, 10:14 PM     #5 (permalink)
Ultimate Member
 
meese's Avatar
 
Join Date: Jun 2003
Location: NJ
Posts: 2,467
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.
meese is offline   Reply With Quote
Old September 21st, 2003, 10:30 AM     #6 (permalink)
Did you try Google yet?
 
Siliconjunkie's Avatar
 
Join Date: Feb 2003
Location: Buckhannon, WV
Posts: 3,468
Send a message via AIM to Siliconjunkie
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 : September 21st, 2003 at 11:02 AM.
Siliconjunkie is offline   Reply With Quote
Old September 21st, 2003, 06:15 PM     #7 (permalink)
Ultimate Member
 
meese's Avatar
 
Join Date: Jun 2003
Location: NJ
Posts: 2,467
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?
meese is offline   Reply With Quote
Old September 22nd, 2003, 11:12 AM     #8 (permalink)
Junior Member
 
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...
easikwilson is offline   Reply With Quote
Old January 3rd, 2008, 03:03 PM     #9 (permalink)
Junior Member
 
Join Date: Jan 2008
Posts: 1
Default Gateway Settings

I had a similar situation when both (dsl & my private) networks had same IP class (192.168.1.x). What I did was, I went to my VPN client network connection properties, chose TCP/IP properties, clicked "advanced" button, and unchecked "Use default gateway on remote network". After that I was able to remote desktop to the pc in my private network.

Last edited by vze2rdgy : January 3rd, 2008 at 03:06 PM.
vze2rdgy is offline   Reply With Quote
Old January 3rd, 2008, 08:55 PM     #10 (permalink)
THE Gimp Clown Fish!
 
nemowolf's Avatar
 
Join Date: Jun 2007
Location: Bay Area
Posts: 3,857
Quote:
Originally Posted by easikwilson View Post
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...

There is not a way to do this. To make it brief your router sees a ping request coming in from 192.168.1.2 to 192.168.1.x on your remote network. Because the router sees this as a local address it does not let the traffic leave and instead looks for a local device at that address. That is why you need a diffrent ip scheme at each location to ensure that the router knows to let the traffic transmit beyond itself.
nemowolf is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2805)
Is the PSU I received dead? (10)
California Passes Anti-Flat-HDTV Le.. (38)
Install XP pro and a Vista laptop ?.. (8)
A good PSU? (10)
HIS HD5770 graphic card question (14)
New Computer wont recognize XP disc (7)
Foreign voltage (5)
Dept. of HS: NSA 'Helped' Develop V.. (12)
Ideal cheap graph card for PC-Gamin.. (15)
Print spooler problem (5)
EVGA 9800 gtx help with finding a g.. (6)
Mysterious Boot manager (9)
Modern Warfare 2: Who Bought It? (60)
Recent Discussions
Ideal cheap graph card for PC-Gaming? (15)
What OS for a home server? (other tha.. (0)
HIS HD5770 graphic card question (14)
Install XP pro and a Vista laptop ?? (8)
Need hard disk drivers (3)
Cloning old drive to new drive (6)
Asus P4G8X Mobo (0)
Amptron monitor G17FP-Black (0)
windows vista security holes (0)
EVGA 9800 gtx help with finding a goo.. (6)
A good PSU? (10)
Is the PSU I received dead? (10)
HP Pavillion Laptop ze4220 won't turn.. (7)
Dept. of HS: NSA 'Helped' Develop Vis.. (12)
Foreign voltage (5)
Convert 5 pin Keyboard to USB (11)
Print spooler problem (5)
hybernate option (2)
Steam ID's, Gamertags etc... (1)
New Computer wont recognize XP disc (7)
World's largest Monopoly Game using G.. (328)
Modern Warfare 2: Who Bought It? (60)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (28)
blender help (2)
Hard drive freezes boot (1)


All times are GMT -4. The time now is 05:55 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28