Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Server Networking > Re: Reaching other subnets on the VPN

Reply
Thread Tools Display Modes

Re: Reaching other subnets on the VPN

 
 
Bill Grant
Guest
Posts: n/a

 
      12-29-2009


"Jordan" <> wrote in message
news:...
> I currently have one subnet (192.168.150.x). When users VPN in using the
> built in XP VPN client to our W2003 RRAS server I usually set them up so
> the "Use Default Gateway on Remote Computer" is not checked. This way
> they can still browse the Internet. If then enable the gateway they are
> not able to access anything other that the 192.168.150.x subnet becasue of
> some network security measures.
>
> I need to subnet the network to have the following networks:
>
> 192.168.150.x
> 192.168.151.x
> 192.168.152.x
> 192.168.153.x
>
> The problem I am having is that the only easy way I can get to the 151-153
> subnets remotely is by enabling the default gateway option on the VPN
> connection which then causes the user to not be able to browse while they
> are connected to work.
>
> For myself I usually just use a batch file with the "Route Add" command to
> set the routes to my IP Address on my VPN connection like so
>
> AddRoute.bat (Last digits of IP)
> =============================
> route add 192.168.151.0 mask 255.255.255.0 192.168.150.%1
> route add 192.168.152.0 mask 255.255.255.0 192.168.150.%1
> route add 192.168.153.0 mask 255.255.255.0 192.168.150.%1
> =============================
>
> Is there an easier way to get this routes down to VPN clients
> automatically?
>
>
>
>


You could use one bundled route rather than a lot of individual ones.
eg

route add 192.168.0.0 mask 255.255.0.0 192.168.150.%1


 
Reply With Quote
 
 
 
 
Bill Grant
Guest
Posts: n/a

 
      01-01-2010
If you have disabled "use default gateway.." on the client, you will have
to add the static route to the client machine, because that is where the
routing decision is made. Otherwise the traffic will go out to the Internet,
not through the tunnel.


"Jordan" <> wrote in message
news:...
> True, but how do I pass this route to the VPN clients. When they are on
> the LAN the routes are handled by the default routers. When a user VPNs
> in with the "Default gateway on remote computer" enabled, they have to
> tunnel through the VPN to get out to the Internet and that is a
> bottleneck.
>
> I want it so the user still uses their own route to the Internet for all
> addresses other that the 192.168.15y.x when they VPN in.
>
>
> "Bill Grant" <not.available@online> wrote in message
> news:ObT$...
>>
>>
>> "Jordan" <> wrote in message
>> news:...
>>> I currently have one subnet (192.168.150.x). When users VPN in using
>>> the built in XP VPN client to our W2003 RRAS server I usually set them
>>> up so the "Use Default Gateway on Remote Computer" is not checked. This
>>> way they can still browse the Internet. If then enable the gateway they
>>> are not able to access anything other that the 192.168.150.x subnet
>>> becasue of some network security measures.
>>>
>>> I need to subnet the network to have the following networks:
>>>
>>> 192.168.150.x
>>> 192.168.151.x
>>> 192.168.152.x
>>> 192.168.153.x
>>>
>>> The problem I am having is that the only easy way I can get to the
>>> 151-153 subnets remotely is by enabling the default gateway option on
>>> the VPN connection which then causes the user to not be able to browse
>>> while they are connected to work.
>>>
>>> For myself I usually just use a batch file with the "Route Add" command
>>> to set the routes to my IP Address on my VPN connection like so
>>>
>>> AddRoute.bat (Last digits of IP)
>>> =============================
>>> route add 192.168.151.0 mask 255.255.255.0 192.168.150.%1
>>> route add 192.168.152.0 mask 255.255.255.0 192.168.150.%1
>>> route add 192.168.153.0 mask 255.255.255.0 192.168.150.%1
>>> =============================
>>>
>>> Is there an easier way to get this routes down to VPN clients
>>> automatically?
>>>
>>>
>>>
>>>

>>
>> You could use one bundled route rather than a lot of individual ones.
>> eg
>>
>> route add 192.168.0.0 mask 255.255.0.0 192.168.150.%1
>>
>>
>>

>
>
>

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing printer across subnets David Burg Windows Vista Networking 2 06-24-2010 07:47 PM
Subnets under SBS 2008 Simon Thomson Windows Small Business Server 3 12-23-2009 01:44 AM
Re: 2 Dns Servers, 2 Gateways, 3 Subnets Meinolf Weber [MVP-DS] DNS Server 1 10-29-2009 04:23 PM
Re: 2 Dns Servers, 2 Gateways, 3 Subnets Meinolf Weber [MVP-DS] DNS Server 0 10-29-2009 04:17 PM
Up-to-date messages not reaching Mobile device Mikkel Hansen ActiveSync 2 12-11-2006 05:40 PM



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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59