Skip to content

DHCP failure on reconnect after the very first connection #9

@mcprat

Description

@mcprat

Windows 10 64-bit
Openvpn GUI

The error is
Initialization Sequence Completed With Errors ( see http://openvpn.net/faq.html#dhcpclientserv ) MANAGEMENT: >STATE:1559241905,CONNECTED,ERROR,10.8.0.2,xx.xx.xx.xx,9090,,

The very first connection to the server is successful, and the window minimizes itself as expected. If I reconnect, or disconnect and connect, every attempt after that fails.

I found an old forum post on this
https://forums.openvpn.net/viewtopic.php?t=12362
They have absolutely no solution to this, and I have yet to find an problem with my config.

All non-Windows clients work fine without this issue

Workarounds:

  • reinstalling the TAP adapter with the included scripts (or the one in the forum, or one that resets all adapters)
  • going to "Network Connections" in control panel (ncpa.cpl) and disable TAP adapter, reenable TAP adapter, reconnect
  • add the directive to the client config ip-win32 manual and set the IP, Subnet, Gateway, manually (again using ncpa.cpl)

The first 2 of my workarounds have to be done EVERY SINGLE TIME one wants to connect or reconnect to the VPN. The third one is an almost permanent fix, but if the server gives you a different IP, you have to do extra work...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions