mysteriumnetwork / hyperv-myst-provision

Provisioning and distributing tools for HyperV Guest VM with myst exit node
0 stars 2 forks source link

Dual-mode dVPN (windows) - Solid way to identify which physical ethernet adapter is used for internet connection #2

Open mdomasevicius opened 3 years ago

Guillembonet commented 3 years ago

maybe iterating the physical interfaces which are up and using Get-NetIPConfiguration to identify which one has an IP address set is solid enough?