Aliases
An alias is a named list of values, such as LAN = 10.0.0.0/8, 192.168.0.0/16 or web_ports = 80, 443. Rules, policies, NAT rules and templates refer to it by name, and every deploy expands it to its current values. Change the alias once and every host that uses it picks up the change on its next deploy.
Aliases are global inside a workspace. Managing them needs the aliases.manage permission.

Create an alias
Section titled “Create an alias”- Open Aliases in the sidebar.
- Enter a Name (it must start with a letter, for example
LAN_HOSTS). - Keep Source on Static list. (Other sources make a dynamic alias.)
- Choose the Type: IP / CIDR, IP or Port(s).
- Enter the Values, one per line: addresses, networks, ports, or the name of another alias to include it.
- Optionally add a Comment, then click Create alias.
Use the alias by typing its name in a rule’s Source, Destination or port fields; names are suggested as you type, and rule tables show them as @name.
IPv4 and IPv6 values can be mixed in one alias. On iptables hosts each IP version only gets its own values (see IPv6).
Aliases of aliases
Section titled “Aliases of aliases”An alias can include other aliases by name, at any depth. For example staff = office_networks + vpn_clients + a few addresses. Pick a name from Include an alias: under the values, or type it on its own line.
- Address aliases (IP and IP / CIDR, static or dynamic) can include each other; port aliases only include port aliases.
- Unknown names, aliases of another kind, an alias including itself and loops are refused.
- The list shows the included aliases as chips with the total number of values, and an included alias shows part of ….
- An alias that another one includes cannot be deleted. Renaming it updates the aliases that include it.
- An alias that includes a dynamic alias behaves as a dynamic one: it is updated live on hosts when the feed changes.
- Template and configuration exports bring the included aliases along.
Validation
Section titled “Validation”Values are checked when you save:
- invalid addresses, ports and MAC addresses are refused;
- a network with host bits, such as
10.1.1.1/8, is refused with the network it really means (10.0.0.0/8) and the single address (10.1.1.1) as alternatives.
How aliases reach the host
Section titled “How aliases reach the host”| Backend | Rendering |
|---|---|
iptables with ipset installed |
A real ipset per alias used as source or destination: fh_<name> (IPv4) and fh_<name>_6 (IPv6), names shortened to 31 characters. Unused fh_* sets are removed on each deploy. Big sets are loaded from an uploaded file and swapped in atomically. |
iptables without ipset |
The values are written into the rules. |
| nftables | Static aliases are written into the rules. Dynamic aliases become named sets fh_<name> / fh_<name>_6 in every table that uses them. |
| ufw, firewalld | The values are written into the rules. |
Install ipset on iptables hosts with many or large aliases: rules stay short and set contents can be updated without touching the rules.
When values change
Section titled “When values change”Editing an alias’s values marks every host whose rules use it as having undeployed changes. Deploy those hosts (one by one, as a group, or with a rollout) to apply the new values. Dynamic aliases are pushed to many hosts live; see Dynamic aliases.
The Export and Import… buttons at the top of the page move aliases between FireHawk servers; see Configuration export and import.
