Can’t install on Windows Server 2016

Home Forums Discussions Support Portal Can’t install on Windows Server 2016

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12333
    sp.ivan.m
    Participant

      PS C:\Program Files\WireGuard> wg-quick-config -add -start
      Existing configuration loaded successfully.
      Trying to add new Wireguard client.

      Successfully saved client configuration: C:\ProgramData\NT Kernel Resources\WireSock VPN Gateway\wsclient_2.conf

      Successfully saved server configuration: C:\ProgramData\NT Kernel Resources\WireSock VPN Gateway\wiresock.conf

      Client configuration QR code to scan on mobile device:

      Starting Wireguard tunnel…

      Installing Wireguard tunnel:
      StdOut : ”
      StdErr: ‘& : The term ‘wireguard.exe’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
      At line:1 char:2
      + &”wireguard.exe” /installtunnelservice “C:\ProgramData\NT Kernel Reso …
      + ~~~~~~~~~~~~~~~
      + CategoryInfo : ObjectNotFound: (wireguard.exe:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException


      Err: exit status 1
      Trying to make Wireguard tunnel network private…

      Make Wireguard tunnel network private:
      StdOut : ”
      StdErr: ‘Get-NetConnectionProfile : No MSFT_NetConnectionProfile objects found with property ‘InterfaceAlias’ equal to ‘
      wiresock
      ‘. Verify the value of the property and retry.
      At line:1 char:19
      + $NetworkProfile = Get-NetConnectionProfile -InterfaceAlias “wiresock”
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : ObjectNotFound: (wiresock:String) [Get-NetConnectionProfile], CimJobException
      + FullyQualifiedErrorId : CmdletizationQuery_NotFound_InterfaceAlias,Get-NetConnectionProfile

      The property ‘NetworkCategory’ cannot be found on this object. Verify that the property exists and can be set.
      At line:2 char:1
      + $NetworkProfile.NetworkCategory = “Private”
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : InvalidOperation: (:) [], RuntimeException
      + FullyQualifiedErrorId : PropertyNotFound

      Set-NetConnectionProfile : Cannot validate argument on parameter ‘InputObject’. The argument is null. Provide a valid v
      alue for the argument, and then try running the command again.
      At line:3 char:41
      + Set-NetConnectionProfile -InputObject $NetworkProfile
      + ~~~~~~~~~~~~~~~
      + CategoryInfo : InvalidData: (:) [Set-NetConnectionProfile], ParameterBindingValidationException
      + FullyQualifiedErrorId : ParameterArgumentValidationError,Set-NetConnectionProfile


      Err: exit status 1

      —-

      Installed:

      wiresock-vpn-gateway-x64-1.0.32.1.msi
      wireguard-installer.exe from https://download.wireguard.com/windows-client/
      wiresock-vpn-client-x64-1.2.10.1.msi

      Не получается поднять VPN сервер на VPS Windows Server 2016

      #12334
      Vadim Smirnov
      Keymaster

        Тут или путь к wireguard.exe (обычно это C:\Program Files\WireGuard) не был добавлен в PATH (wireguard-installer.exe его должен был добавить) или забыли консоль перезапустить после установки wireguard-installer.exe. Если в PATH его нет, то добавьте вручную и перезапустите powershell.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.