I've tried Set-WSManQuickConfig
command in Powershell, but it could not configure the firewall:
Set-WSManQuickConfig : WinRM firewall exception will not work since one of the network connection types on this machine is set to Public. Change the network connection type to either Domain or Private and try again.
The problem is with a remote (virtual machine) linux OS. How can I change the network connection type in linux? I suppose it's Public as default. Is it that obvious as in Windows: changing the connection type to Work? But in Linux, how?