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/PortStatus
+ + + + - - {% for service in services %} - - - - + + {% for service in services %} + + + + - {% for port in service.ports %} - - - - - {% endfor %} + {% for port in service.ports %} + + + + + {% endfor %} - {% endfor %} + {% endfor %} - + -
Service/PortStatus
{{ service.name }} - {% if service.is_enabled %} - Enabled - {% else %} - Disabled - {% endif %} -
{{ service.name }} + {% if service.is_enabled %} + Enabled + {% else %} + Disabled + {% endif %} +
{{ 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 %} -
{{ 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 %} +
+ + +

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 %} - - - - - {% endfor %} -
{{ name }}{{ port }}
+
+ + {% for name, port in tor_ports.items %} + + + + + {% endfor %} +
{{ name }}{{ port }}
+
+

SOCKS