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: 192.168.0.1 subnetmask: 255.255.255.0
    -pc2: ip 192.168.0.2 subnetmask: 255.255.255.0 gateway:192.168.0.1 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?
thanks!

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

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

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