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

[Openvpn-users] route delete failed on windows client

  • Subject: [Openvpn-users] route delete failed on windows client
  • From: "Sonnie Hook" <sonnie.hook@xxxxxxxxx>
  • Date: Sun, 30 Dec 2007 17:01:36 +0800

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

  route-up 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
OpenVPN mailing lists