Okay so I have 2 computers which I want to share between windows 7.
Computer 1 - 192.168.0.3 - MSHOME - Default gateway 192.168.0.1 and 192.168.0.2
Computer 2 - 192.168.0.4 - MSHOME - Default gateway 192.168.0.1 and 192.168.0.2
I have 2 routers one being 192.168.0.1 and the other being 192.168.0.2. The router these two pc’s are running through is 192.168.0.2. On 192.168.0.1 is where the internet is. So 192.168.0.2 communicates with 192.168.0.1 to get it online. DHCP is disabled on 192.168.0.2 because 192.168.0.1 controls DHCP. Both computers are on static ip addresses.
I want to only allow these two ip’s to allow sharing in windows while not allowing them to communicate with the default gateway being “the internet” or any other ip address.
I have a custom profile setup on each computers comodo firewall and a static ip on each. The profile is called sharing and I have blocked tpc/udp in/out on source and destination range from 0.0.0.0 to 192.168.0.2. I also blocked tcp/udp in/out on source and destination range from 192.168.0.5 to 255.255.255.255. I then allowed tcp/udp in/out on source 192.168.0.3 and destination to 192.168.0.4. I created another allow tcp/udp in/out on source 192.168.0.4 and destination to 192.168.0.3.
This profile is assigned to “system” which controls sharing.
usually it works but if u guy’s can give some insight that would be great!