[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] route delete failed on windows client


  • Subject: Re: [Openvpn-users] route delete failed on windows client
  • From: "Sonnie Hook" <sonnie.hook@xxxxxxxxx>
  • Date: Mon, 31 Dec 2007 18:24:35 +0800

The route below is added automatically as client is connected to the server.

    202.38.74.0    255.255.255.0     202.38.74.51    202.38.74.51  30

subnet is 202.38.74.0, client ip is 202.38.74.51. This route can't be
deleted, while I have tested by adding these into the batch script:

    route add 202.38.74.25 mask 255.255.255.255 %ifconfig_local%
    route delete 202.38.74.25 mask 255.255.255.255 %ifconfig_local%

The "route delete" is executed without problem.

In ubuntu, I write this line in script:

    route del -net 202.38.74.0/24 dev $1

It also works as I expected.
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users