Skip to content

Instantly share code, notes, and snippets.

@AlexisTM
Created May 13, 2023 08:41
Show Gist options
  • Save AlexisTM/accda50d8fb1a5f03fb6b9d299a8d0f6 to your computer and use it in GitHub Desktop.
Save AlexisTM/accda50d8fb1a5f03fb6b9d299a8d0f6 to your computer and use it in GitHub Desktop.
Set zerotier network as private to allow local network access (Windows 10/11 Pro)

Workaround:

To check public/private setting

Get-NetConnectionProfile | Where-Object "InterfaceAlias" -like "Zero*"

To set all ZeroTier networks to Private

Get-NetConnectionProfile | Where-Object "InterfaceAlias" -like "Zero*" | Set-NetConnectionProfile -NetworkCategory Private
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment