mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Common template for showing port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
3 files changed
+40
-36
No files matched your search
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user