diff --git a/plinth/modules/tahoe/__init__.py b/plinth/modules/tahoe/__init__.py index 6c4c2b626..a4b83c8ad 100644 --- a/plinth/modules/tahoe/__init__.py +++ b/plinth/modules/tahoe/__init__.py @@ -43,6 +43,11 @@ short_description = _('Distributed File Storage') service = None +port_forwarding_info = [ + ('TCP', 3456), + ('TCP', 5678), +] + tahoe_home = '/var/lib/tahoe-lafs' introducer_name = 'introducer' storage_node_name = 'storage_node' diff --git a/plinth/modules/tahoe/views.py b/plinth/modules/tahoe/views.py index ec99e6839..af042a0ba 100644 --- a/plinth/modules/tahoe/views.py +++ b/plinth/modules/tahoe/views.py @@ -55,6 +55,7 @@ class TahoeServiceView(ServiceView): template_name = 'tahoe-post-setup.html' description = tahoe.description diagnostics_module_name = 'tahoe' + port_forwarding_info = tahoe.port_forwarding_info def dispatch(self, request, *args, **kwargs): if not tahoe.is_setup():