Hello Team,
I have 3 machines with different network CIDR and i have enabled windows defender firewall for all machines from the GPO and rules also applied from GPO. i have created a Inbound rule for port 445 for workstation GPO (Local Address 10.4.100.10, Remote Address 10.4.30.3) and applied for workstation.
But when i do the Test-netconnection -computername 10.4.100.10 -port 445 is failing from source machine 10.4.30.3
But when configure the same Inbound rule for entire subnet (Local Address 10.4.100.0/28, Remote Address 10.4.30.0/27), Test-netconnection is passing from the source machine 10.4.30.3
Could you please help me to understand this issue and how i can fix this.
Note: machines are connected to the network without any problem (able to ping and join to the domain),Rules enabled for all profiles for all the machines and Inbound connections Block (Default) & Outbound Connections Allow (Default) configured as per Microsoft recommendation (PFA), there is no blocking rule for any port on both source and destination for inbound and outbound. There is no physical firewall in between the source and destination.
All the machines configured with static ip address.
Domain Controller (Windows 2022 Core):
Network: 10.4.20.0/27
Ip Address: 10.4.20.3
Subnet mask : 255.255.255.224
Gateway: 10.4.20.1
Windows Server(Windows 2022 GUI):
Network: 10.4.30.0/27
Ip Address: 10.4.30.3
Subnet mask : 255.255.255.224
Gateway: 10.4.30.1
Workstation (Windows 11):
Network: 10.4.100.0/28
Ip Address: 10.4.100.10
Subnet mask : 255.255.255.240
Gateway: 10.4.100.1