diff --git a/plinth/modules/firewall/templates/firewall.html b/plinth/modules/firewall/templates/firewall.html
index 34684d595..08fc08ba9 100644
--- a/plinth/modules/firewall/templates/firewall.html
+++ b/plinth/modules/firewall/templates/firewall.html
@@ -43,47 +43,51 @@ firewalld'
{% else %}
-
-
- | Service/Port |
- Status |
-
+
+
+
+
+ | Service/Port |
+ Status |
+
-
- {% for service in services %}
-
- | {{ service.name }} |
-
- {% if service.is_enabled %}
- Enabled
- {% else %}
- Disabled
- {% endif %}
- |
-
+
+ {% for service in services %}
+
+ | {{ service.name }} |
+
+ {% if service.is_enabled %}
+ Enabled
+ {% else %}
+ Disabled
+ {% endif %}
+ |
+
- {% for port in service.ports %}
-
- | {{ port }} |
-
- {% if port in internal_enabled_services and port in external_enabled_services %}
- Permitted
- {% elif port in internal_enabled_services %}
- Permitted (internal only)
- {% elif port in external_enabled_services %}
- Permitted (external only)
- {% else %}
- Blocked
- {% endif %}
- |
-
- {% endfor %}
+ {% for port in service.ports %}
+
+ | {{ port }} |
+
+ {% if port in internal_enabled_services and port in external_enabled_services %}
+ Permitted
+ {% elif port in internal_enabled_services %}
+ Permitted (internal only)
+ {% elif port in external_enabled_services %}
+ Permitted (external only)
+ {% else %}
+ Blocked
+ {% endif %}
+ |
+
+ {% endfor %}
- {% endfor %}
+ {% endfor %}
-
+
-
+
+
+
The operation of the firewall is automatic. When you enable a
service it is automatically permitted in the firewall and you disable
diff --git a/plinth/modules/tor/templates/tor.html b/plinth/modules/tor/templates/tor.html
index 663ee792c..c7341ed71 100644
--- a/plinth/modules/tor/templates/tor.html
+++ b/plinth/modules/tor/templates/tor.html
@@ -56,14 +56,17 @@ can help circumvent censorship. If your {{ cfg.box_name }} is behind a router
or firewall, you should make sure the following ports are open, and
port-forwarded, if necessary:
-
- {% for name, port in tor_ports.items %}
-
- | {{ name }} |
- {{ port }} |
-
- {% endfor %}
-
+
+
+ {% for name, port in tor_ports.items %}
+
+ | {{ name }} |
+ {{ port }} |
+
+ {% endfor %}
+
+
+
SOCKS