Endurance

Firewall marks

Updated

Firewall marks tag the packets that match a given set of ports and protocols with a mark number, so that the traffic can be handled as a group. The mark is used as a match condition in routing - both Local Routes and Policy Based Routing (PBR) routes offer a Match firewall mark field.

Firewall marks are not used to define a service. To load balance several ports as a single service, for example HTTP on port 80 and HTTPS on port 443, specify all of the ports on the service’s frontend instead - see Layer 4 Services and Layer 7 Services.

To add a firewall mark:

  1. Using the WebUI, navigate to Network > Firewall marks and click Add firewall mark.

    configure firewall mark
  2. Specify a relevant Name.

  3. Specify the Number - the firewall mark value to apply to matching packets.

  4. Select the required Protocol, the options are None, TCP, UDP and TCP + UDP. Selecting any option other than None reveals additional Source port(s) and Destination port(s) sections.

  5. In each of those sections, choose how the ports are matched. Individual port(s) and Port range(s) are checkboxes, and each one enables its own fields:

    • Individual port(s) is selected by default, and its first Port field is pre-filled with 80 - change it as required, and click Add another for each further port.

    • Port range(s) reveals From and To fields, which stay disabled until the checkbox is selected. Click Add another for each further range.

  6. Configure the traffic to match. At least one Source IP/subnet or Destination IP/subnet must be specified. For each, select the Type and specify the Value:

    Type Value

    Manual IP

    A single IP address entered manually.

    Manual Subnet

    A subnet in CIDR notation entered manually.

    Floating IP

    An existing Floating IP, selected from a drop-down.

    IP Group (Subnet)

    An existing IP group, selected from a drop-down.

  7. To match on more than one address, click Add another under the relevant section. To remove an entry, click Delete.

  8. Click Submit.

The Firewall marks list shows each mark’s Name, its Number and its Usage - the objects that reference it. The Usage column is blank for a mark that is not referenced.

To change or remove a mark, click the actions (⋮) menu at the end of its row and choose:

  • Duplicate - opens the Add firewall mark page pre-filled with a copy of the mark’s settings, named <mark name> (duplicate). Nothing is saved until Submit is clicked.

  • Edit - reopens the mark so that any of its settings can be changed.

  • Delete - removes the mark.