[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
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

client.conf:
  route-up my.bat

my.bat:
  route delete a.a.a.0 mask 255.255.255.0 %ifconfig_local%
  route add a.a.a.c mask 255.255.255.255 %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 255.255.255.0 a.a.a.254
  route delete a.a.a.0 mask 255.255.255.0 a.a.a.254
______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users