diff --git a/plinth/templates/port-forwarding-info.html b/plinth/templates/port-forwarding-info.html index 6de46add7..3af138b7f 100644 --- a/plinth/templates/port-forwarding-info.html +++ b/plinth/templates/port-forwarding-info.html @@ -7,52 +7,56 @@ {% if port_forwarding_info.ports %}

{% trans "Port Forwarding" %}

-

- {% url 'networks:index' as networks_url %} - {% if port_forwarding_info.network_topology_type != "to_router" %} + {% url 'networks:index' as networks_url %} + {% if port_forwarding_info.network_topology_type != "to_router" %} +

{% blocktrans trimmed %} Your FreedomBox is not behind a router. No action is necessary. {% endblocktrans %} - {% elif port_forwarding_info.router_configuration_type == 'dmz' %} +

+ {% elif port_forwarding_info.router_configuration_type == 'dmz' %} +

{% blocktrans trimmed %} Your FreedomBox is behind a router and you are using the DMZ feature to forward all ports. No further router configuration is necessary. {% endblocktrans %} - {% else %} +

+ {% else %} +

{% blocktrans trimmed %} Your FreedomBox is behind a router and you are not using the DMZ feature. You will need to set up port forwarding on your router. You should forward the following ports for {{ service_name }}: {% endblocktrans %} +

-
- - - - - - - - - - - {% for port in port_forwarding_info.ports %} - - - - - - - {% endfor %} - -
{% trans "Service Name" %}{% trans "Protocol" %}{% trans "From Router/WAN Ports" %}{% blocktrans %}To {{box_name}} Ports{% endblocktrans %}
{{ port.name }}{{ port.protocol }}{{ port.ports }}{{ port.ports }}
-
- {% endif %} -

+
+ + + + + + + + + + + {% for port in port_forwarding_info.ports %} + + + + + + + {% endfor %} + +
{% trans "Service Name" %}{% trans "Protocol" %}{% trans "From Router/WAN Ports" %}{% blocktrans %}To {{box_name}} Ports{% endblocktrans %}
{{ port.name }}{{ port.protocol }}{{ port.ports }}{{ port.ports }}
+
+ {% endif %} {% endif %}