Skip to content

Set-Ics is not working with a VPN connection with a device manufacturer being "WireGuard LLC" #6

@333van

Description

@333van

I am trying to share a VPN connection with a device manufacturer being "WireGuard LLC" in my VM to my host computer, via a NIC with host-only network. The VPN is a close-souce one. The ICS can be done manually via ncpa.cpl, but not possible via, for example:

Install-Module -Name PSInternetConnectionSharing
Set-Ics -PublicConnectionName $VpnConn -PrivateConnectionName $HostOnlyConn
# these are the error messages Set-Ics gives me:
OperationStopped: An event was unable to invoke any of the subscribers (0x80040201)
OperationStopped: An event was unable to invoke any of the subscribers (0x80040201)

That host-only NIC is configured with an interface with a fixed IP, and the above commands clear its IP configuration as well.

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions