Skip to content

Fix for windows 10 VPN connection problems "parameter is incorrect" error #1051

Closed

Description

Hi,

Solved this issue myself but saw no mention on here.

I recently moved to a new server where I have Algo VPN but kept getting a weird error "parameter is incorrect" when connection to it.

SOLUTION:

If you install the Windows 10 ps1 file (as noted in the installation instructions) and when you try to connect is says "parameter is incorrect" then so the following:

  1. Clear the Networking caches

Run windows cmd window (click windows start menu, type 'cmd', right click on 'Command Prompt' and select "Run as Administrator").

type command below
netsh int ip reset

then type
netsh int ipv6 reset

then type
netsh winsock reset

Restart your computer.

  1. Reset Device Manager adaptors

    Open Device Manager
    Find Network Adapters
    Uninstall WAN Miniport drivers (IKEv2, IP, IPv6, etc)
    Click Action > Scan for hardware changes
    The adapters you just uninstalled should come back

The VPN connection then works.

Hope this helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions