Hi,

I get an error on latest release 2.3.3 (and previous ones), on windows 8.1.

NETSH: C:\WINDOWS\system32\netsh.exe interface ipv6 delete address OPENVPN 
2a02:xxxx:xxxx:ffff::1000
ERROR: netsh command failed: returned error code 1
MANAGEMENT: Client disconnected
NETSH: command failed
Exiting due to fatal error

When I type on commande line (administrator):
netsh interface ipv6 delete address OPENVPN 2a02:xxxx:xxxx:ffff::1000
it fails with : "The system cannot find the file specified"

When I type on commande line (administrator):
"netsh interface ipv6 delete address OPENVPN 2a02:xxxx:xxxx:ffff::1000 
store=active"
windows removes the ipv6 address successfully from the interface.

I think address is set with store=active by openvpn therefore it must be
deleted with store=active also which is not the default according to
netsh usage :

 [[store=]active|persistent]
    One of the following values:
        active: Address will disappear on next boot.
        Persistent (default): Address will be persistent.

Consequences :
- Openvpn never reconnects automatically (fatal error due to ipv6 delete
  failure)
- On (manual) reconnect openvpn adds a new ipv6 address but the old one
  is still prefered and ipv6 is not working any more.
- Ipv6 address is never removed from tun/tap interface and disappears
  only on reboot

Regards

Cédric


Reply via email to