You can also enable firewall rules on the command-line, using netsh
. It is quite cumbersome, but can be useful if you need to do it on several machines or often.
Many useful rules are already pre-configured in the firewall, but not enabled by default.
To enable ping
only, you can enable the "Core Networking Diagnostics" group of rules:
netsh advfirewall firewall set rule group="Core Networking Diagnostics" new enable=yes
To enable "File and Printer Sharing" there is a group of rules named just that, so :
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes
To list all inbound rules into a "my_firewall_rules.txt" file in your user directory :
netsh advfirewall firewall show rule name=all dir=in > $HOME\my_firewall_rules.txt
Firewall
thenAdvanced Settings
. Turn off the Domain Profile, Private profile and public profile and try again. If this works, it is a firewall issue and is usually the case. Can you also list the IP of the ubuntu machine and the IP of the windows machine?Open Network and Sharing Center
, the windows that appears specifically says that it is aPrivate network
?