IP address handling with Windows 7 built in VPN

1

I have a VPN set up using Windows 7 built-in VPN (both the server and client are using Windows 7).

It all works fine - I can access all the computers on the remote LAN using VPN and see the network drives etc. In addition, when I browse, all the traffic is being routed through the VPN.

The only problem is that when I try and Remote Desktop into one of the remote machines, it won't work (although it does with others). The reason for the problem is that the remote computer's address is the same as the local LAN's gateway. So:

PPP adapter Home VPN:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.1.131
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . : 0.0.0.0

Wireless LAN adapter Wireless Network Connection 2:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 192.168.1.7
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

I'm trying to connect to 192.168.1.1 on the REMOTE network using the VPN, but it doesn't work (I think it's trying to connect to the LOCAL IP). I can connect if I disconnect the VPN and connect through the internet. Weirdly, connecting to 192.168.1.1 to see shared files DOES work (so it's going to the REMOTE IP).

Any ideas?

What I want is ALL traffic to route through the VPN so that it's just like I'm connected physically to my home (remote) network.

Thanks very much in advance!

Nick

Posted 2013-10-13T13:18:16.593

Reputation: 11

Answers

0

For simplicity you would want the two networks to be using different IP address ranges, i.e. change your range at home. As a second best, you could make sure that the remote machine's IP address doesn't exist locally.

Some VPN solutions will set you up to route traffic exclusively through the VPN and not to the rest of the local network or the local network's internet connection, but I don't think that is the case with Win7's built-in VPN.

sahmeepee

Posted 2013-10-13T13:18:16.593

Reputation: 1 589

That's great - thanks very much for the reply. Could you recommend a (simple) VPN solution that offers that functionality? Thanks again! – Nick – 2013-10-13T18:59:34.617

It looks like significantly more faff for you, but I think OpenVPN supports it. Take a look at:

http://openvpn.net/index.php/open-source/documentation/howto.html#redirect

Note that they also recommend separate address ranges further up the page

http://openvpn.net/index.php/open-source/documentation/howto.html#numbering

– sahmeepee – 2013-10-13T19:20:37.703