Note: This feature is not available on Windows 8 and later.
You can assign the local network for a computer to firewall rules.
When the firewall starts, it determines the computer's local network, and then monitors
for any changes whilst it is running. If any change is detected, the firewall updates
any local network rules with the new local network address range.
CAUTION:
We strongly advise caution when using local network rules as part of secondary configurations. If the computer is a
laptop, and it is used out of the office, it may connect to an unknown local network. If this happens, firewall rules in the secondary
configuration that use the local network as an address may inadvertently allow unknown traffic.