After many attempts and a few tests I think I found a solution to this. Please test it and tell us here if it is working for your pc :P0l
So if you want your PC not to connect and exchange data with unknown and probably unsecured networks (like neighborhood WiFi) you can use Comodo Internet Security Premium firewall rules and options to establish this. I will try to help you out here with these following steps:
0. Make sure you have a fresh backup of your system and settings. To backup your Comodo Internet Security Pro: Managing Personal Configurations | Comodo Internet Security | Internet Security v6.2
1. First we need your Home Wi-Fi or LAN router MAC ADDRESS.
Connect to your home Internet Router/Getaway and if a CIS popup asking you what type of network you are connected hit the HOME. Try to serf and open few websites. If you’re surfing/downloading ok, then follow the following cmd.
A cmd like “arp –a” will probably will give us right away the getaway ip and mac address we are connected to. Please refer to Router MAC Address - How to get router MAC address step by step for more info.
Write down your HOME (00-00-00-00-00-00) MAC address and the (0.0.0.0) IP internet address.
2. Going CIS->TASKS->FIREWALL TASKS _ OPEN ADVANCED SETTINGS
Under the FIREWALL SETTINGS we deselect the “Automatic Detection of private networks”
Under the NETWORK ZONES we add New Network Zone name like “Not Blocked”. Under that Network name we add New Address->Type: MAC ADDRESS->Select the Exclude option->input here your home MAC address
Again, under the NETWORK ZONES we add New Network Zone name like “My MAC”. Under that network name add New Address->Type: MAC ADDRESS->deselect the Exclude option->input here your home MAC address
Now, under the BLOCKED ZONES we Add->Network Zones->Not Blocked
We hit the OK, and this will save our edits. Please be careful anything you change here is supper sensitive and it’s a good idea to make notes or do a backup every time.
3. Going CIS->TASKS->FIREWALL TASKS _ OPEN ADVANCED SETTINGS
Under GLOBAL RULES we will edit the first two firewall rules to use our Mac address.
So the first: Allow All Outgoing Requests If The Target Is In [MyMac]->Destination Address->Type:Network Zone, Zone:My MAC
We hit the OK, and this will save our edits.
Second one: Allow All Incoming Requests If The Sender Is In [myMAC]->Source Address->Type:Network Zone, Zone:My MAC
We hit the OK, and this will save our edits.
4. Please note that this will probably not allow DHCP automatic ip registration, so we need manually change our PC adapters IP settings to use a static IP for your network. Helpful info: How to Change Your IP Address (Windows) (with Pictures) - wikiHow, http://www.howtogeek.com/howto/19249/how-to-assign-a-static-ip-address-in-xp-vista-or-windows-7/
Example: If our router ip is 192.168.1.1 then we add on the adapters IP the following settings:
Ip: 192.168.1.2-253
Sub: 255.255.255.0
Getaway: 192.168.1.1 (this from the first step)
DNS: 192.168.1.1
Moreover if you want to add more parental control to your pc you can try to use dns service from
Comodo: http://www.comodo.com/secure-dns/index.html
OpenDNS: Family Shield by OpenDNS
That’s it 