Originally Posted by bowskill
I have an improved method if you just want to use Windows Firewall and no other tool like comodo. The idea is from this post
. Just block all traffic above and below your LAN ip address range.
Here is the step by step:
Suppose you want to deny Ironspeed from Internet access but you want it to access your local network so as to connect to your dev database on another local machine. You can achieve it by creating four new rules.
1. Open windows firewall from Control Panel.
2. Select Advanced Settings from the left.
3. Select Outbound Rules.
4. Click New rule at top right.
5. Rule type is Program, click next.
6. For Program path select the path to Designer.exe
7. Click next then select block.
8. Click next, click next again then name the rule "ISD Designer.exe block below LAN" and finish.
9. Right click on your newly created rule and select properties.
10. Click scope. Under remote Ip address click "These Ip addresses". Select "This Ip address range. Enter the starting Ip address as 220.127.116.11. Suppose your LAN network is at 192.168.2.0 then enter the highest IP address below that as the to address. In this case, 192.168.1.255. Click finish then click ok.
11. Repeat steps 4 to 10 but the name of the rule is "ISD Iron Speed Designer.exe block below LAN". Select Iron Speed Designer.exe for the program path.
12. Repeat again steps 4 to 10 two more times, one for each exe. This time name the rules "ISD Designer.exe block above LAN" and "ISD Iron Speed Designer.exe block above LAN". Set the Ip address range to 192.168.3.1 - 255.255.255.255.
That is it. You have now blocked Iron Speed from accessing the Internet but it can still access databases on the local LAN.
It is working for me.