If this document does not correspond to your current software version, you can go to Download Center to find other available document versions.

QNAP

QNE Network 1.0.x

Download (PDF)

Adding a Rule to a Firewall Profile

You can add rules that allow or deny connections based on specific criteria, including the network interface, connection source, and IP protocol.

  1. Open QuFirewall.
  2. Click Firewall Profiles.
  3. Identify an existing profile.
  4. Under Action, click .

    The Edit Profile window appears.

  5. Click Add Rule.
    Tip:

    You can edit an existing rule instead. Identify an existing rule and click under Action. The remaining steps are identical for editing a rule.

    The Add Rule window opens.

  6. Select whether to allow or deny matching connections.
  7. Select the network interface to monitor for connections.
  8. Select a connection source.

    Source

    User Action

    Any

    No further action is necessary.

    Note:

    This option applies the rule to all connections.

    IP

    Select one of the following:

    • Single IP address: Enter an IP address.

    • IP subnet: Enter an IP address and subnet mask.

    • IP range: Enter an IP range with a lower bound and an upper bound.

    Note:

    This option applies the rule to a single IP address, a specific subnet, or every IP within a specific range.

    Region

    Click the selection menu to select one or more regions.

    Note:
    • This option applies the rule to IPs originating from one or more specified regions.

    • You can specify up to 14 regions.

  9. Select an IP protocol type.
  10. Select a service port.
    Note:

    This field is only available if you select TCP or UDP in the previous step.

    Service Ports

    User Action

    Any

    No further action is necessary.

    Note:

    This option applies the rule to all service ports.

    Custom

    Enter up to 15 service ports.

    Note:
    • This option applies the rule to the specified ports.

    • Ports must be between 1 and 65535.

    • Separate multiple ports with commas (,).

    • Use hyphens (-) without a space to indicate a port range.

    Built-in applications

    Click the selection menu to select one or more built-in applications.

    Note:

    This option applies the rule to the specified built-in applications.

  11. Click Apply.

    QuFirewall saves the rule in the Edit Profile window.

  12. Optional: Under ON, select the checkbox to activate the rule.
  13. Optional: Under Priority, click and drag to change the rule’s priority within the list.
    Note:

    Rules higher on the list have priority over rules lower on the list.