{% extends "base.html" %} {% import "_macros.html" as m with context %} {% block title %}Firewall{% endblock %} {% block content %}
Incoming connections are blocked unless a rule below allows them. Rules for SSH and this panel are protected.
The firewall is turned off. Every port of the server is reachable. Turn it on with ufw enable.
| # | Port | Action | From | ||
|---|---|---|---|---|---|
| {{ r.num }} | {{ r.to }} | {% if r.action == "ALLOW" %}Allow{% elif r.action == "LIMIT" %}Limit{% else %}{{ r.action|capitalize }}{% endif %} | {{ r["from"] }} | {% if base in fw.protected and r.action in ("ALLOW", "LIMIT") %}{{ m.icon("lock") }}Protected {% else %}{% endif %} | |
| No rules. | |||||