[ 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
My home network is a 10.x.x.x network with a netmask.
My work network is a 192.168.1.x networks with a netmask, with
a route to (among other things) a 10.y.y.y network with a

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 route with a netmask of to my home network.
The following batch file will fix it.

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

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

Any ideas how to fix this without the batch file?

Thanks in advance.

/Johan - Complex solutions to simple problems