-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 11 does not prompt for Public/Private network (Windows Firewall setting) #1671
Comments
Thank you so much, also noticed that prompt didn't pop up and ZeroTierOne wasn't working, but your fix worked like a charm. 🥳 |
One question, how to use these command. My system doesn't recognize them. |
@Aweguy They only work in PowerShell, so if you're using regular old CMD, they won't work |
i am getting an error when i apply the command. I am not sure what i should do since this is the first time ever i use powershell. "Set-NetConnectionProfile : Unable to set the NetworkCategory due to one of the following possible reasons: not running
|
You may need to do it in an Administrator PowerShell prompt. Anything changing network related settings on a system typically require Admin access |
aah ok. Thanks a lot. It made it private, but there's a new problem, but it's irrelevant to this issue. |
Thankfully, just tried this on a PC where I don't have local admin and it still worked fine. Many thanks for this. |
Windows 11 doesn't put up that prompt for real interfaces either. Should ZeroTier just set it's interfaces to Private? Microsofts summary isn't half bad
|
This option was set for me in the settings for the real networks, but I can't access zerotier's configuration from there. This only happened for Windows 11 pro, the home version worked out of the box for me (tested with |
Brilliant! Rly you saved me wasting more precious time. Superb - THX |
On Windows 11 with a default Windows Defender Firewall configuration, setting ZeroTier interfaces to "private" enables The given PowerShell command makes file servers appear in Network Neighborhood and fixes other name lookups on Windows 11 clients. This should probably be the default interface configuration for Windows clients because ZT networks usually carry fully or semi-trusted traffic. |
@glimberg i just would like to know that i logged into this dusty old github account i dont use just to formally thank you for these powershell commands! fixed it like a charm. had to change both on server and on client. |
In Windows 10 and prior you would get the following screen when joining a ZeroTier network:
Answering "Yes" would set the windows firewall as a "private" network and allow discovery, file sharing, etc. "No" sets the network to public causing Windows Firewall to disable file sharing, etc.
Windows 11 no longer pops up this prompt and instead just forces the network to Public and hardening windows firewall for the Public configuration.
What should be happening?
There should be a way to specify Public or Private network.
Workaround:
The text was updated successfully, but these errors were encountered: