[ previous ] [ next ] [ threads ]
 
 From:  "Michael Rohde" <mrohde at comcast dot net>
 To:  =?iso-8859-1?Q?'Johan_K=F6hler'?= <waykohler at gmail dot com>, <m0n0wall at lists dot m0n0 dot ch>
 Subject:  RE: [m0n0wall] WindowsXP and VPN
 Date:  Mon, 21 Aug 2006 16:17:22 -0400
Use the minus p option to add to registry

 

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-
us/route.mspx?mfr=true

 

 

 

The Badger

 

-----Original Message-----

Sent: Monday, August 21, 2006 2:36 PM
To: m0n0wall at lists dot m0n0 dot ch
Subject: [m0n0wall] WindowsXP and VPN

 

Sorry if this is a brain dead question. I searched the mailing lists and

google but could not find anything.

 

I have connected a WindowsXP machine to m0n0wall at home using the XP

pptp-vpn.

My home network is a 10.x.x.x network with a 255.255.255.0 netmask.

My work network is a 192.168.1.x networks with a 255.255.255.0 netmask, with

a route to (among other things) a 10.y.y.y network with a
255.255.255.0netmask.

 

When I am connected (without using the router at home in the advanced tcpip

connection) I can access all the network at work with the exception of the

10.y.y.y network.

 

Looking in the routing table on the XP machine I see that it has inserted a

10.0.0.0 route with a netmask of 255.0.0.0 to my home network.

The following batch file will fix it.

 

route delete 10.0.0.0

route add 10.x.x.0 mask 255.255.255.0 10.x.x.<vpn server>

 

But if the connection is lost and windows does an auto connect its all bad

again.

 

Any ideas how to fix this without the batch file?

 

Thanks in advance.

 

-- 

/Johan - Complex solutions to simple problems