Wireless LAN and filesharing

Here is my setup:

  • I have two pc’s conected using wireless adaptor, no router. First one has a PPPoE conection to internet through cable and a wireless adaptor for wlan. The second has only a wifi adaptor for wlan, of course.
    -pc1: ip: subnetmask:
    -pc2: ip subnetmask: gateway: and the DNS from my ISP

The problem is file sharing doesn’t work in wlan. I have to close comodo for that to work. ICS works well because I’ve found a thread witch explained how to create rules.
What rule do I have to create in Comodo in order to have file sharing working?

enable all communications in the global rules for IP range to That is:

Action: Allow
Protocol: IP
Direction: In/Out
Source Address: IP Range to
Destination address: IP Range to
Source port: Any
Dest port: Any

or, if you want more advanced rules - just enable communications only for NetBIOS/SMB ports (445, 135-139)