Skip to content

Firewall Templates

A Firewall Template is a shared set of firewall policies defined once in the Orchestrator and pushed automatically to all devices linked to it. Instead of repeating the same rules on every device, you configure the policy in a template and attach the template to as many devices as needed.

Each device continues to maintain its own local policies alongside the inherited template rules. The rule number range determines precedence:

Rule Range Source Description
100 – 499 Local device Configured directly on the device. Evaluated first — local rules always take precedence.
500 – 999 Firewall template Inherited from the linked template. Evaluated after all local rules.

A device can have both local rules and a template active simultaneously. A packet is matched against local rules (100–499) first; if no local rule matches, template rules (500–999) are evaluated.

Note

Templates are entity-scoped — they are usable to all devices within the same entity in mfusion. A template configured in one entity is not visible to devices in a different entity.


The Templates Page

All templates of an entity — Firewall, Wireless, Hotspot and System — are listed on one page: ORCHESTRATOR → Configuration → Templates.

Templates page listing the templates of an entity with their type and the number of devices using each one

Column Description
Template Name Click the name, or anywhere in the row, to open the template editor.
Type Firewall, Wireless, Hotspot or System. Use the filter box under the header to show one type only.
Used by Number of devices using the template. Hover over it to see their names; click it to change them (see Linking Devices to a Template).
Actions Assign Devices, Rename and Delete. Deleting a template removes it from every device using it.

Use the entity filter at the top right to switch entity. Apply Config appears when saved changes have not been pushed to the devices yet.


Creating a Template

Template policies can only be configured in the Orchestrator.

Navigate to ORCHESTRATOR → Configuration → Templates and click New Template. Enter the Template Name, select Firewall as the Template Type, then click Add.

New Template with name and type

The template opens in edit mode. Configure rules exactly as you would on a per-device basis — the interface is identical to Device Settings → Security → Firewall Policies. Rule numbers in a template automatically start from 500.


Linking Devices to a Template

There are three ways to assign a template to devices. After any of them, click Apply Config (upper right corner) to push the change.

Method 1 — From the Templates page

On the Templates page, click the template's Used by count or its Assign Devices button. The Assign Devices window lists every device of the entity that can use the template; the devices already using it are ticked.

Assign Devices window for one template

Tick the devices that should use the template and untick the ones that should not (Search devices narrows the list; Tick shown and Untick all help with long lists), then click Save. Exactly the ticked devices use the template afterwards.

To assign several templates in one step, tick them in the list, then choose Selected → Assign Devices. Tick the devices, then click Add to Ticked Devices (each selected template is added to them) or Remove from Ticked Devices. The Uses column shows how many of the selected templates each device already has.

Note

Wireless templates are offered to HSA series devices only. Other devices are left out of the list, or skipped when several templates are assigned at once.

Method 2 — From the template

Open the target template, click the Linked Hosts tab.

Linked Hosts tab

Click Add Linked Host. A list of all devices within the entity appears — select the devices to link.

Add Linked Host selection

Click Save, then Apply Config (upper right corner). mfusion pushes the template policies to all linked devices immediately.

Apply Config

Method 3 — Mass update from the device list

Navigate to ORCHESTRATOR → Branch/Gateway Devices. Filter and select the target devices, then open the Selected menu and choose Mass Update → Assign Firewall Template.

Mass update assign template

Select the template to assign, click Save, then Apply Config to push the policies.


Ongoing Management

Once devices are linked, any change to the template is applied to all linked devices automatically on the next Apply Config. You do not need to touch individual device configurations for policy changes that are covered by the template.

To apply a policy that is unique to one device, configure it as a local rule (number 100–499) on that device — it will be evaluated before the template rules regardless of content.

Tip

Use templates to enforce a common baseline security policy across all sites — for example, blocking known malicious destinations or permitting SD-WAN management traffic. Use local rules for site-specific exceptions on top of that baseline.


Verification

To confirm that template rules have been applied to a device, run the following on the device CLI:

show firewall access-list all

Rules inherited from the template appear alongside local rules, identified by their rule number (500–999). Rules marked DEFAULTHIDE99 are system defaults.

show firewall input-list all

Use this command to verify template-pushed input rules in the same way.