We are going to see both cases, the first one, indicating how to go from a private network to a public one quickly, and the second how to make ourselves invisible in LAN from both a private and a public network. There are two ways to make our PC visible or invisible on a local network, but both use the same concept: to change settings between public and private network. How to make a PC visible, or invisible, in local LAN However, if we are visible on the local network, this virus will connect to our PC and, through various vulnerabilities (such as SMB, which led to the massive Wannacry attack ), it will infect our PC, even without attracting the antivirus attention. If our PC is invisible, the malware will not detect it and, therefore, we will avoid being infected. Second, there are viruses that infect other computers through the local network. And depending on what we share, this can be a danger.
The first of them is that any other user connected to the network will be able to access our files, and resources, directly, without problem.