Skip to content

Firewall Objects

Firewall rules become complex when you need to match against large sets of sources, destinations, or applications. Instead of listing individual IPs or FQDNs directly in every rule, you can define a Firewall Object — a named group of entries — and reference it by name in any rule that needs it.

This keeps rules concise and maintainable: update the object once and every rule that references it is updated automatically, without touching the rules themselves.

Firewall Objects support four entry types that can be combined freely:

Type Description
net A static IP address or subnet in CIDR notation (e.g., 10.0.0.0/8, 203.0.113.0/24)
fqdn A fully qualified domain name. Resolved to IPs via DNS at configuration time and refreshed every 10 minutes.
app An app from Apps & Categories (or a Custom App). The object gets the app's own networks plus the IP addresses its domains resolve to as clients look them up.
category A category from Apps & Categories — every app and domain in the category, filled the same way as app.

App and category lists come from mFusion and are updated on the router in the background. How the addresses are learned differs by platform (the XE-300 uses the app's networks only) — see Apps and Categories below.

Note

Firewall Objects are distinct from Network Groups used in static routing. Network Groups take net and fqdn entries only; Firewall Objects are referenced in firewall and traffic steering rules, Network Groups in static routes.

Blocking apps

Objects match by IP address, and large services share CDN addresses. To block an app or category by name, DNS filtering is more precise; use objects with apps and categories to steer traffic or for connection-level rules.

To view the app and category lists, create Custom Apps, or look up which app a domain belongs to, see Managing Apps & Categories.


GUI Configuration

Navigate to ORCHESTRATOR → Configuration → Object Groups. On the Firewall Object tab, click New Firewall Object.

Object Groups - Firewall Object list

The list shows each object's content, e.g. 2 apps, 1 category, and the Used by column shows how many devices and firewall templates use it, e.g. 2 devices, 1 template (hover over it to see their names; Not used when nothing references it). Check Used by before deleting or changing an object.

Enter an object name and turn on the item types under Object Items:

Create Firewall Object

  • Applications — select apps from Apps & Categories (Custom Apps are listed first).
  • Categories — select categories from Apps & Categories.
  • FQDN — enter a domain name. The system resolves it immediately and re-resolves every 10 minutes to track IP changes.
  • IP/Network — enter a prefix in CIDR notation. Multiple prefixes can be added to the same object.

Once saved, the object becomes available for selection in any firewall rule under Device Settings → Security → Firewall Policies.

When adding or editing a rule, set the Source or Destination type to Object and select the object name from the list.

Selecting a Firewall Object in a rule


CLI Configuration

Define the object and its members:

object-group firewall_obj
  net 2.2.2.2/32
  net 203.0.113.0/24
  fqdn docs.ransnet.com
  app WhatsApp
  category "Social Media"

Reference the object in a firewall rule using src_object or dst_object:

firewall-access 200 permit all src 10.0.0.0/8 dst_object firewall_obj
firewall-access 201 deny all src_object firewall_obj

Key points:

  • object-group <name> enters the object configuration view. Add members with net, fqdn, app, or category; remove them with the no prefix (e.g., no fqdn docs.ransnet.com). Quote app and category names with spaces (e.g., category "Social Media").
  • src_object <name> and dst_object <name> are available in firewall-access, firewall-input, firewall-dnat, and firewall-snat rules.
  • An object can be used alongside direct IP entries in the same rule — for example, a rule can specify both a src IP range and a dst_object simultaneously.

Apps and Categories

An app or category entry lets a rule match an application by name instead of IP addresses. The object gets, for each app:

  1. The app's own networks — the address ranges listed for the app in Apps & Categories, and the networks of a Custom App.
  2. The IP addresses its domains resolve to — learned from DNS answers as clients look the app up.
Platform App networks Learned IP addresses
Gateway series (HSG, CMG) Yes Yes — from all DNS answers passing through the router, including clients that use an external DNS server
Branch series (UA-520, HSA-520) Yes Yes — from lookups answered by the router's DNS server (clients must use the router for DNS)
XE-300 Yes No — the app's networks only

The lists come from mFusion and are updated in the background every 10 minutes; removing an app from the object removes its addresses.

Deny an app category on the guest network:

object-group social
  category "Social Media"
!
firewall-access 150 deny inbound vlan20 dst_object social remark "Guest: no social media"

Shared CDN addresses

Large services share CDN addresses, and objects match by IP address: a deny on an app or category can also block an unrelated site served from the same address. To block by name, use DNS filtering; use objects with apps and categories for connection-level rules and to steer traffic.


Verification

Show the resolved members of an object:

show object-list firewall_obj

Example output:

Name: firewall_obj
Type: hash:net
Revision: 6
Header: family inet hashsize 1024 maxelem 65536
Size in memory: 824
References: 1
Members:
2.2.2.2
185.199.108.153
185.199.109.153
185.199.110.153
185.199.111.153
3.33.192.0/18
15.197.192.0/19
31.13.64.0/19
34.192.181.12

The member list includes all statically configured net entries, all IPs currently resolved from fqdn entries, and the networks and learned IPs of app and category entries.

Confirm the object is referenced correctly in the active firewall rule chain:

show firewall access-list

Example output:

 pkts bytes target     prot opt in     out     source               destination
 ------------------------------------------------------------------------------
 1922  792K ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0            /* access-list 000 */
    0     0 ACCEPT     all  --  *      *       10.0.0.0/8           0.0.0.0/0            /* access-list 200 */ match-set firewall_obj dst

The match-set firewall_obj dst entry confirms the object is active and being matched against destination addresses in the forwarding chain.