2

I've just bought a home server with Windows Server 2012 R2 on it. When I first got it the following rules were set up in firewall inbound rules:

  • Remote Desktop - User Mode TCP in (Domain, Private) - Ticked.
  • Remote Desktop - User Mode TCP in (Public) - Not ticked.

So I could not remote to my home server from home PC (both connected to router).

I ticked "public" and was able to connect OK.

So, my PC is in the default WORKGROUP and my server is in the default WORKGROUP. (i.e. computer, properties, system). Is there anything else I need to do so that I can remote to server without ticking Public? Something in Network/sharing centre, etc.? Is there a risk with ticking "Public"?

1

In Windows firewall, Public and Domain/Private refer to the two network profiles your computer can be in. A network profile describes what kind of network you're connected to. You can only be connected to one type of profile at a time.

Generally the Domain/Private profile is used when connected to a network you control and/or trust other devices on. The Public profile is for networks you don't trust, such as public WiFi hotpots. For this reason fewer services are enabled by default in the Windows firewall for the Public profile.

You can change the network profile by going to Network Connections in Control Panel.

Is there anything else I need to do so that I can remote to server without ticking Public?

You can put the computer in to the Domain/Private profile. Make sure the corresponding firewall rule is enabled.

Is there a risk with ticking "Public"?

Not if you trust the other devices on the network. However, if you do move the computer from network to network and anticipate connecting to untrusted networks, you should not enable services like Remote Desktop for the Public profile.

  • Thanks - still not 100% sure what you mean, Perhaps i need to understand what is meant by a "network". I have a pretty much standard router/firewall , 8 ethernet connections plus wifi. So is the router the "network hub", so to speak? Does it have a name? At the moment, the server (looking at network and sharing centre) under "view your active networks" only has one entry - "Unidentified network" and public network. On my win10, i have "network2" public network. Any ideas why are these different? – Excelnoobster Aug 4 at 10:26
  • A network in this context is a group of computers that are connected to the same physical network. Your router forms the "border" of your network. They're different on the two computers, most likely because when you connected to to the network you answered differently the question Do you want other computers on this network to see this computer? Initially that's how a network gets classified as Public (answering No to that question) or Private (answering Yes). – I say Reinstate Monica Aug 4 at 11:15
  • thank you, very helpful. i suspect its because i always use "public". ok, any ideas why one says unidentified, one says network2 , even though they are both public? – Excelnoobster Aug 4 at 14:02
  • Windows uses a number of metrics to classify a network. This answer goes into some detail about how that works. – I say Reinstate Monica Aug 4 at 15:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.