mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
i2p: Show port forwarding information
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
ad5b34ed35
commit
4bfb1accfb
@ -60,6 +60,12 @@ proxies_service = None
|
|||||||
|
|
||||||
manual_page = 'I2P'
|
manual_page = 'I2P'
|
||||||
|
|
||||||
|
port_forwarding_info = [
|
||||||
|
('TCP', 4444),
|
||||||
|
('TCP', 4445),
|
||||||
|
('TCP', 6668),
|
||||||
|
]
|
||||||
|
|
||||||
tunnels_to_manage = {
|
tunnels_to_manage = {
|
||||||
'I2P HTTP Proxy': 'i2p-http-proxy-freedombox',
|
'I2P HTTP Proxy': 'i2p-http-proxy-freedombox',
|
||||||
'I2P HTTPS Proxy': 'i2p-https-proxy-freedombox',
|
'I2P HTTPS Proxy': 'i2p-https-proxy-freedombox',
|
||||||
|
|||||||
@ -49,6 +49,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% include "port-forwarding-info.html" with service_name=title %}
|
||||||
|
|
||||||
<h3>{% trans "Configuration" %}</h3>
|
<h3>{% trans "Configuration" %}</h3>
|
||||||
|
|
||||||
<form class="form form-configuration" method="post">
|
<form class="form form-configuration" method="post">
|
||||||
|
|||||||
@ -56,6 +56,7 @@ class I2PServiceView(ServiceView):
|
|||||||
context['clients'] = i2p.clients
|
context['clients'] = i2p.clients
|
||||||
context['manual_page'] = i2p.manual_page
|
context['manual_page'] = i2p.manual_page
|
||||||
context['subsubmenu'] = subsubmenu
|
context['subsubmenu'] = subsubmenu
|
||||||
|
context['port_forwarding_info'] = i2p.port_forwarding_info
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user