Common template for showing port forwarding information

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa committed 2019-05-13 15:54:12 -07:00
1 parent 683b70976f
commit ad5b34ed35
3 files changed
+40 -36

No files matched your search

+1 -17
View File
@@ -118,23 +118,7 @@
{% include "diagnostics_button.html" with module="openvpn" enabled=status.enabled %}
{% if port_forwarding_info %}
<h3>{% trans "Port Forwarding" %}</h3>
<p>
{% blocktrans trimmed %}
If your FreedomBox is behind a router, you will need to set up port
forwarding on your router. You should forward the following ports for
OpenVPN:
{% endblocktrans %}
</p>
<ul>
{% for port in port_forwarding_info %}
<li>{{ port.0 }} {{ port.1 }}</li>
{% endfor %}
</ul>
{% endif %}
{% include "port-forwarding-info.html" with service_name=title %}
<h3>{% trans "Configuration" %}</h3>