• February 22, 2025, 03:20:42 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: VPN Client and overlapping address space  (Read 6520 times)

R3lm

  • Level 1 Member
  • *
  • Posts: 3
VPN Client and overlapping address space
« on: September 01, 2009, 07:33:18 PM »

Howdy,

I am not a networking guy, so bear with me here. I just got the DIR-330 for the standalone VPN server (cool), but having what I suspect is a common networking issue.

The client connecting from home (or wherever) has a 192.168.1.x network the same as mine here. When she connects to the VPN on my router, and tries to route to a machine on MY network (192.168.1.119) it just times out. I am pretty sure it is actually never trying to route over the VPN, just local. If I change my networking scheme here (to 192.168.0.1) for example, it works fine. However, because of a seriously FLAKY server product I have here, I can't change the scheme.

Is there a way to resolve this without changing my network addressing or the clients?

Thanks!
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: VPN Client and overlapping address space
« Reply #1 on: September 02, 2009, 08:32:36 AM »

I assuming that adjusting interface metrics have been ineffective for you.  There is no good answer here that I am aware of.

If you can't change the network value on either side your in it pretty rough, there are some routing solutions, but none of them I can think of are clean.

I would start staring hard at that server product of yours if I was you.
Logged
non progredi est regredi

R3lm

  • Level 1 Member
  • *
  • Posts: 3
Re: VPN Client and overlapping address space
« Reply #2 on: September 02, 2009, 11:53:45 AM »

Thanks for the response Fatman.

I was hoping there was a way to write a .bat file for the client so that it adds routes to force the use of the VPN for a few specific IP addresses (.119, .118) instead of her local network. However, I really haven't done much with routing tables so not sure if that is possible.

I think I will get her to change her local network - it's easier than my reconfiguring the aforementioned server product.  :)


Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: VPN Client and overlapping address space
« Reply #3 on: September 02, 2009, 02:03:01 PM »

You could write a batch file that removes her route for her local network and replace it with one that only contains her immediate gateway.  If you do that however you need to make sure that it is reversed after she disconnects as well as potentially other problematic scenarios.
Logged
non progredi est regredi

R3lm

  • Level 1 Member
  • *
  • Posts: 3
Re: VPN Client and overlapping address space
« Reply #4 on: September 02, 2009, 03:28:10 PM »

That sounds like fun. Any tips on where to start for authoring the bat? Is that just something I can do with route from the command line?

Rob
Logged

Fatman

  • Level 9 Member
  • ****
  • Posts: 1675
Re: VPN Client and overlapping address space
« Reply #5 on: September 02, 2009, 04:05:53 PM »

Route for the command line is what I would use if I wasn't going to script it.
Logged
non progredi est regredi