I have the following scenario:
Corporate LAN (192.168.0.0 - 192.168.7.255)
|
|
|
| ----- (192.168.1.37)
ISA Server 2006 std. Up and running as a Firewall to accept VPN connections
| ----- (201.xxx.xxx.35)
I want my VPN clients can make remote control of your PC in the corporate, at this point, I have no problem, but you also want to surf but with their DSL connection, not VPN tunnel, that I have been clearing the option to "Use default gateway on remote network" in TCP / IP VPN connection. Now my clients effectively connect to the VPN and its connection to DSL Internet surfing without problems, but to do this I need to add a route in the routing tables of windows so that once connected to the VPN, the traffic to my segment 192.168.0.0 / 21 comes out of the virtual interface of the VPN, I do it with a profile created with CMAK connection, which does the following:
route add 192.168.0.0 mask 255.168.248.0 192.168.55.50
The question is that whenever I connect to my VPN IP Address I assign a separate client, within my DHCP range 192.168.7.0 / 24. Obviously when I disconnect from the VPN, if not the next connections 192.167.50 address assigned me, I have problems with the routing table that is added automatically, I get the following error message:
"Error in the addition of the route: The interface index is wrong or the gateway is not on the same network as the interface. Check the IP address table for the machine."
Because this is the error, obviously if the VPN connection I assigned the IP 192.168.7.68 and the route add command tries to get the traffic to the IP 192.168.7.50 give me the above error. Is there any way to load a path that does not necessarily have to pick up any IP Address? Also please provide some details about IPSec, since want some notes regarding it. Thanks in advance to all for taking the time at least read this.
Bookmarks