{% extends "base.html" %} {% block content %}

{% if rule.id or rule.id == 0 %}Edit{% else %}Add{% endif %} Firewall Rule

Reject sets block-policy to return. Block drops the packet silently.

Source

CIDR Format. eg '192.168.1.0/24'
Port Type
From
To
Specify the source port or port range for this rule. The "To" field may be left empty if only filtering a single port. Both fields may be left empty if "Any" is chosen.

Destination

CIDR Format. eg '192.168.1.0/24'
Port Type
From
To
Specify the destination port or port range for this rule. The "To" field may be left empty if only filtering a single port. Both fields may be left empty if "Any" is chosen.

Extra Options

Log packets matched to this rule
Stop evaluating rules when matched
Enable stateful tracking
Cancel
{% endblock %} {% block footer %} {{ super() }} {% endblock %}