Having searched this forum and been reading a lot of very helpfull posts, i have a pretty good idea of what i need to enter in the Comodo Firewall Network Control Rules.
But since i´m still learning about firewall security, i would like some advice because i´m not 100% sure i have understod everything correctly.
I have 3 pc´s connected to a switch and the switch connected to router.
Router: 10.0.0.1 Pc1: 10.0.0.2 PC2:10.0.0.3 PC3:10.0.0.4
All 3 pc´s needs to be able to connect to internet.
PC1 og PC3 must be able to connect with each other and share files.
PC2 must NEVER be able to connect to PC1 or PC3.
PC3 needs to run P2P
After reading : “How To - Understanding & Creating Network Control Rules properly” & “Tutorials - A Compiled Resource” , i think this is what i need:
PC1:
block rules:
Action Protocol Direction Source IP Destination IP Source port Destination port
0 Block TCP or UDP Out Any 10.0.0.3 Any Any
1 Block TCP or UDP In 10.0.0.3 Any Any Any
Secure Zone with individual IP´s:
Action Protocol Direction Source IP Destination IP IP details
2 Allow IP Out 10.0.0.2 10.0.0.1 Any
3 Allow IP In 10.0.0.1 10.0.0.2 Any
4 Allow IP Out 10.0.0.2 10.0.0.4 Any
5 Allow IP In 10.0.0.4 10.0.0.2 Any
Default network control rules :
6 Allow TCP/UDP Out Any Any Where source port is [Any] and destination port is [Any]
7 Allow ICMP Out Any Any Where ICMP message is echo request
8 Allow ICMP In Any Any Where ICMP message is fragmentation needed
9 Allow ICMP In Any Any Where ICMP message is time exceeded
10 Allow IP Out Any Any Where ipproto is gre
11 Block&Log IP In/Out Any Any Where ipproto is Any
PC3:
block rules:
Action Protocol Direction Source IP Destination IP Source port Destination port
0 Block TCP or UDP Out Any 10.0.0.3 Any Any
1 Block TCP or UDP In 10.0.0.3 Any Any Any
Secure Zone with individual IP´s:
Action Protocol Direction Source IP Destination IP IP details
2 Allow IP Out 10.0.0.4 10.0.0.1 Any
3 Allow IP In 10.0.0.1 10.0.0.4 Any
4 Allow IP Out 10.0.0.4 10.0.0.2 Any
5 Allow IP In 10.0.0.2 10.0.0.4 Any
Default network control rules :
6 Allow TCP/UDP Out Any Any Where source port is [Any] and destination port is [Any]
7 Allow ICMP Out Any Any Where ICMP message is echo request
8 Allow ICMP In Any Any Where ICMP message is fragmentation needed
9 Allow ICMP In Any Any Where ICMP message is time exceeded
10 Allow IP Out Any Any Where ipproto is gre
P2P rules :
Action Protocol Direction Source IP Destination IP Source port Destination port
11 Allow TCP In Any 10.0.0.4 Any xxxx (TCP port)
12 Allow UDP In Any 10.0.0.4 Any yyyy (UDP port)
Default Block Rule :
13 Block&Log IP In/Out Any Any Where ipproto is Any
A: Would this be right ?? PC2 not allowed any access to PC1 and PC3. PC1 and PC3 can share files.
B: Are rules 2 and 3 nessasary ?? Now i only have the six default rules and can use the internet. So why does the router need to have rules ??
C: Should anything be added or deleted to get even better security ??
D: In the topic : “Tutorials - A Compiled Resource” / “Tightening Firewall Rules”, I see 3 block rules at the bottom of the Network Monitor rules.
Would it add to my safety if i added these instead of just the standard block rule ?
the 3 block rules i talk about are :
Block and log TCP/UDP In or Out from IP [Any] to IP [Any] where where source ports is [Any] and destination port is [Any].
Block and log ICMP In or Out from IP [Any] to IP [Any] where ICMP message is [Any].
Block and log IP In or Out from IP [Any] to IP [Any] where IPProto is [Any].
A lot of questions, but hope that someone can help ???