[ previous ] [ next ] [ threads ]
 
 From:  "=?ISO-8859-1?Q?Johan_K=F6hler?=" <waykohler at gmail dot com>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  WindowsXP and VPN
 Date:  Mon, 21 Aug 2006 11:36:01 -0700
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