End-of-Life (EoL)
Create a Security Policy Rule
- (Optional) Delete the default Security policy rule.By default, the firewall includes a security rule namedrule1that allows all traffic from Trust zone to Untrust zone. You can either delete the rule or modify the rule to reflect your zone naming conventions.
- Add a rule.
- Selectand clickPoliciesSecurityAdd.
- Enter a descriptiveNamefor the rule in theGeneraltab.
- Select aRule Type.
- Define the matching criteria for the source fields in the packet.
- In theSourcetab, select aSource Zone.
- Specify aSource IP Addressor leave the value set toany.
- Specify a SourceUseror leave the value set toany.
- Define the matching criteria for the destination fields in the packet.
- In theDestinationtab, set theDestination Zone.
- Specify aDestination IP Addressor leave the value set toany.As a best practice, consider using address objects in theDestination Addressfield to enable access to specific servers or groups of servers only, particularly for services such as DNS and SMTP that are commonly exploited. By restricting users to specific destination server addresses you can prevent data exfiltration and command and control traffic from establishing communication through techniques such as DNS tunneling.
- Specify the application the rule will allow or block.As a best practice, always use application-based security policy rules instead of port based rules and always set the Service to application-default unless you are using a more restrictive list of ports than the standard ports for an application.
- In theApplicationstab,AddtheApplicationto safely enable. You can select multiple applications, or use application groups or application filters.
- In theService/URL Categorytab, keep the Service set toapplication-defaultto ensure that any applications the rule allows are only allowed on their standard ports.
- (Optional) Specify a URL category as match criteria for the rule.In theService/URL Categorytab, select theURL Category.If you select a URL category, only web traffic will match the rule and only if the traffic is to the specified category.
- Define what action you want the firewall to take for traffic that matches the rule.
- Configure the log settings.
- By default, the rule is set toLog at Session End. You can clear this setting if you don’t want any logs generated when traffic matches this rule, or selectLog at Session Startfor more detailed logging.
- Select aLog Forwardingprofile.
- Attach security profiles to enable the firewall to scan all allowed traffic for threats.See Create Best Practice Security Profiles to learn how to create security profiles that protect your network from both known and unknown threats.In theActionstab, selectProfilesfrom theProfile Typedrop-down and then select the individual security profiles to attach to the rule.Alternatively, selectGroupfrom theProfile Typedrop-down and select a securityGroup Profileto attach.
- Save the policy rule to the running configuration on the firewall.ClickCommit.
- To verify that you have set up your basic policies effectively, test whether your security policy rules are being evaluated and determine which security policy rule applies to a traffic flow.To verify the policy rule that matches a flow, use the following CLI command:test security-policy-match source <IP_address> destination <IP_address> destination port <port_number> protocol <protocol_number>The output displays the best rule that matches the source and destination IP address specified in the CLI command.For example, to verify the policy rule that will be applied for a server in the data center with the IP address 208.90.56.11 when it accesses the Microsoft update server:test security-policy-match source 208.80.56.11 destination 176.9.45.70 destination-port 80 protocol 6 � "Updates-DC to Internet" { from data_center_applications; source any; source-region any; to untrust; destination any; destination-region any; user any; category any; application/service[dns/tcp/any/53 dns/udp/any/53 dns/udp/any/5353 ms-update/tcp/any/80 ms-update/tcp/any/443]; action allow; terminal yes;
Recommended For You
Recommended Videos
Recommended videos not found.