{% extends "app.html" %} {% comment %} # # This file is part of FreedomBox. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% endcomment %} {% load bootstrap %} {% load i18n %} {% load static %} {% block page_head %} {% if config_running %} {% endif %} {% endblock %} {% block status %} {% if config_running %}

{% trans "Status" %}

{% trans "Tor configuration is being updated" %}

{% else %} {{ block.super }} {% if status.hs_enabled %}
{% trans "Onion Service" %} {% trans "Status" %} {% trans "Ports" %}
{{ status.hs_hostname }} {{ status.hs_status }} {{ status.hs_services|join:', ' }}
{% endif %} {% endif %} {% endblock %} {% block internal_zone %} {% if not config_running %} {{ block.super }} {% endif %} {% endblock %} {% block configuration %} {% if not config_running %} {{ block.super }} {% if status.relay_enabled %}

{% trans "Relay" %}

{% blocktrans trimmed %} If your {{ box_name }} is behind a router or firewall, you should make sure the following ports are open, and port-forwarded, if necessary: {% endblocktrans %}

{% for name, port in status.ports.items %} {% endfor %}
{% trans "Service" %} {% trans "Port" %}
{{ name }} {{ port }}
{% endif %}

{% trans "SOCKS" %}

{% blocktrans trimmed %} A Tor SOCKS port is available on your {{ box_name }} on TCP port 9050. {% endblocktrans %}

{% endif %} {% endblock %} {% block page_js %} {% if config_running %} {% endif %} {% endblock %}