FirewallProfiles configures a node’s private, public or domain firewall profile.
Source |
|
DSC Resource |
|
Documentation |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Mandatory |
hashtable |
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name |
Key |
String |
The name of the firewall profile to configure. |
|
AllowInboundRules |
String |
Specifies that the firewall blocks inbound traffic. |
|
|
AllowLocalFirewallRules |
String |
Specifies that the local firewall rules should be merged into the effective policy along with Group Policy settings. |
|
|
AllowLocalIPsecRules |
String |
Specifies that the local IPsec rules should be merged into the effective policy along with Group Policy settings. |
|
|
AllowUnicastResponseToMulticast |
String |
Allows unicast responses to multi-cast traffic. |
|
|
AllowUserApps |
String |
Specifies that traffic from local user applications is allowed through the firewall. |
|
|
AllowUserPorts |
String |
Specifies that traffic is allowed through local user ports. |
|
|
DefaultInboundAction |
String |
Specifies how to filter inbound traffic. |
|
|
DefaultOutboundAction |
String |
Specifies how to filter outbound traffic. |
|
|
DisabledInterfaceAliases |
String[] |
Specifies a list of interfaces on which firewall settings are excluded. |
||
Enabled |
String |
Specifies that devolution is activated. |
|
|
EnableStealthModeForIPsec |
String |
Enables stealth mode for IPsec traffic. |
|
|
LogAllowed |
String |
Specifies how to log the allowed packets in the location specified by the LogFileName parameter. |
|
|
LogBlocked |
String |
Specifies how to log the dropped packets in the location specified by the LogFileName parameter. |
|
|
LogFileName |
String |
Specifies the path and filename of the file to which Windows Server writes log entries. |
||
LogIgnored |
String |
Specifies how to log the ignored packets in the location specified by the LogFileName parameter. |
|
|
LogMaxSizeKilobytes |
UInt64 |
Specifies the maximum file size of the log, in kilobytes. |
1 - 32767 |
|
NotifyOnListen |
String |
Allows the notification of listening for inbound connections by a service. |
|
FirewallProfiles:
Profile:
- Name: Private
Enabled: True
DefaultInboundAction: Block
DefaultOutboundAction: Allow
AllowInboundRules: True
AllowLocalFirewallRules: False
- Name: Domain
Enabled: false