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

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

  • Subject: Re: [Openvpn-users] route delete failed on windows client
  • From: "Rob MacGregor" <rob.macgregor@xxxxxxxxx>
  • Date: Sun, 30 Dec 2007 14:48:05 +0000

On Dec 30, 2007 9:01 AM, Sonnie Hook <sonnie.hook@xxxxxxxxx> wrote:
> I wrote a bat script to execute route commands after client connection
> is established. It is found that "add" was executed successfully,
> while "delete" not.
> server(linux) ip: a.a.a.a
> client(winxp) ip: a.a.a.b
> client.conf:
>   route-up my.bat
> my.bat:
>   route delete a.a.a.0 mask %ifconfig_local%
>   route add a.a.a.c mask %ifconfig_local%
> The error message is: The route specfied was not found.
> While I tried to do simular things like below, it worked!
>   route add a.a.a.0 mask a.a.a.254
>   route delete a.a.a.0 mask a.a.a.254

You're aware that your script and what you run manually differ,
particularly in order?

                 Please keep list traffic on the list.
OpenVPN mailing lists