Senario
- PC ‘A’ is connected to a 192.168.0.0/24 subnet.
- PC ‘B’ is connected to a 192.168.10.0/24 subnet.
- PC ‘B’ has a number of shared folders setup.
- PC ‘B’ is using a Wi-Fi interface and has it’s firewall on, with ‘File and Printer Sharing‘ enabled.
- PC ‘A’ requires access to files on PC ‘B’.
- Both PC’s are routed through pfSense with firewall rules set to allow PC ‘A’ access to PC ‘B’.
Symptoms
Although PC ‘B’ has ‘File and Printer Sharing’ enabled, PC ‘A’ is unable to ping or access file shares on PC ‘B’.
Cause
Normally a Wi-Fi connection is made a ‘Public’ network with ‘File and Printer Sharing’ disabled. Even after setting the network type to ‘Private’ and enabling ‘File and Printer Sharing’ shares cannot be accessed via Wi-Fi from anywhere other than on the same subnet.
Fix
- Add a custom inbound firewall rule on PC ‘B’ which allows remote IP address access.
- From Settings, select Privacy & Security.

- Select Windows Security.

- Select Firewall & Network Protection.

- Select Advanced Settings.

- Select Inbound Rule and then New Rule.

- Select Custom and click Next.

- Select All Programs and click Next and Next again in response to Protocol and Ports .

- Select These IP addresses under Which remote IP addresses does this rule apply to and Add 192.168.0.0/24 which represents the whole of the 192.168.0.0 subnet. Of course if security is a concern then simple use the IP address of PC ‘A’. The import thing is that the subnet hosting PC ‘A’ is treated as remote. Click Next and Next again for Action.

- Enable only the Private profile and click Next.

- Give your rule a Name and click Finish.
Leave a Reply