Configure tunnel rules
Configure tunnel rules to control how encapsulated tunnel traffic is processed by the firewall system.
-
Provide early blocking for unwanted encapsulated tunnel traffic.
-
Fast path tunnels that do not benefit from access control inspection.
-
Place encapsulated tunnels into a tunnel zone, called rezoning, so that you can write access control rules to apply inspection to the connections within the tunnel as a whole.
The prefilter policy's default action applies to encapsulated tunnels. Thus, create rules for tunnel traffic only to apply different actions to specific tunnels.
For example, if the default action is to analyze tunnels, this means that all tunnels are passed on to the access control policies AND other policies that inspect, allow, AND potentially block connections, AND these policies will evaluate the inner connections. If that default action is what you want for all tunnels, then you do not need to create any tunnel rules.
If instead:
-
The default action is to block encapsulated tunnels, use rules to exempt specific tunnels from blocking AND either pass them to other access control policies (analyze action) OR bypass any additional processing (fastpath).
-
There are tunnels where you want to apply access control rules to all encapsulated connections, create rules to rezone the tunnels to the appropriate tunnel zone tag AND also write rules in the access control policy for those tunnel zone tags.
Procedure
Step 1 | Choose . Create or edit a prefilter policy. |
Step 2 | Click Add Tunnel Rule. You can also right-click a rule AND select Insert New Tunnel Rule. |
Step 3 | Select the Action to be taken on matching traffic.
|
Step 4 | Select one of these options to set the direction for the rule:
|
Step 5 | Click the Encapsulation & Ports tab and select the protocols for this rule. You must select at least one of these options in a tunnel rule to specify the encapsulation protocol used. The list includes the IP protocol number for the option.
|
Step 6 | Configure the traffic matching conditions for the rule. The rule is applied to connections that match all of the conditions. Within a condition type, separate elements are OR'ed, so that matching any of the selected items counts as a match. For the rule as a whole, all condition types are AND'ed: a connection must match at least one item on each tab to match the rule. You can use these types of conditions:
|
Step 7 | (Fastpath AND Block rules only.) Click Logging AND configure how matching connections should be logged. |
Step 8 | (Optional.) Click Comment AND add comments to the rule. Use comments to help you understand the purpose of the rule AND its change history. |
Step 9 | Click Add. If you need to move the rule, do so now. Click Save to save the policy. |