Windows firewall management
When a Windows firewall management policy is enforced on an endpoint, Enforce starts the MpsSvc (Windows Firewall) service on that endpoint.
-
In the Firewall Profiles section, configure the policy profiles for Domain, Private, and Public. For more information about profiles, see Microsoft Documentation: Firewall profiles.
To configure additional per-profile settings, click the expand arrow:
-
Firewall Settings: Configure Display a Notification and Allow Unicast Response.
-
Rule Merging: Configure Apply Local Firewall Rules and Apply Local Connection Security Rules.
-
Logging: Configure Log Name, Log Size Limit (a whole number from 1 to 32 MB), Log Successful Packets, and Log Dropped Packets.
-
-
For Network Selection, choose Default, Enabled, or Disabled
-
(Optional) Create firewall rules:
Manually create a firewall rule-
In the Firewall Rules section, click Add Rule.
-
Complete the following fields for the rule and then click Create:
Table 1. Fields in the Windows Firewall Management policy form Field
Description
Name
Enter a brief name for the rule.
Direction
Select Outbound, Inbound, or Bi-directional for the direction of the connection.
Action
Select either Block or Allow as the action to perform for the rule.
Network Protocol
Select a protocol. If you specify UDP or TCP for the protocol, then you must specify at least one value in the following fields: Application Path, Local Addresses, Local Ports, Remote Addresses, Remote Ports, or Service Name.
For more information about protocols, see Microsoft Documentation: Firewall Rule Properties Page: Protocols and Ports Tab.
Group
(Optional) You can specify a group name here or choose one that already exists that can help organize your firewall rules.
Profiles
Select the applicable profiles. If you do not select one or more profiles, the rule is created as if all profiles were selected.
Application Path
(Optional) An example of an application path is C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe.
Local Addresses
(Optional) Use this field to target the rule to specific local IP addresses. Separate entries with commas.
Each entry can be a single IPv4 or IPv6 address, a subnet, or a range. For example,
192.168.1.1-192.168.1.9orfe80::1-fe80::9. You can also enterAny. Firewall address keywords, such asDNSorLocalSubnet, are valid only in the Remote Addresses field.Addresses are validated as you type. An entry that is not valid is flagged before you save the policy.
Remote Addresses
(Optional) This field can be used to target the rule to a specific remote IP address. Separate entries with commas.
Each entry can be a single IPv4 or IPv6 address, a subnet, or a range, for example
fe80::1-fe80::9. Addresses are validated as you type.You can also use Microsoft RemoteAddress keywords such as
LocalSubnet,DNS,DHCP,WINS,DefaultGateway,Internet,Intranet,IntranetRemoteAccess,PlayToDevice,PlayToRenderers, andCaptivePortal. Keywords are not case-sensitive. To limit a keyword to IPv4 or IPv6 addresses, add4or6to the end of the keyword, for exampleDNS4orDNS6. For more information, see Microsoft Documentation: New-NetFirewallRule.Service Name
(Optional) This field can be used for a Windows Service Display name.
Note: Port values must be in the range 1–65535.
-
In Windows, go to Windows Firewall Advanced Security.
-
Right-click on Inbound Rules and click Export List..., and then save the file as a Text (Tab Delimited) .txt file.
-
In the Firewall Rules section, click .
-
Click Select TSV File to locate the files that contains the exported firewall rules and click Open. The Import window shows the file name and how many rules are being imported.
-
Select the Direction and then click Proceed.
-
Repeat these steps for Outbound Rules to export them from Windows and import them into Enforce.
If the file you are importing does not include a Service column, a warning occurs. If your firewall rules depend on the Service field, add the Service column and re-export the firewall rules from Windows.
-
On a Windows endpoint, go to Windows Firewall with Advanced Security.
-
Click .
-
Select Service from Available columns, click Add and then click OK.
-
Right-click on Inbound Rules or Outbound Rules, click Export List... and then save the file as a Text (Tab Delimited) .txt file.
Note: Before you can import firewall rules into Enforce from a Windows TSV file, you must export them from Windows.-
In the Firewall Rules section, click .
-
In the Import Rules from Tanium Endpoints window, select a Computer Group or Computer Name and select the existing rules on Tanium Client managed endpoints that you want to import.
-
Click Import Rules.
-