{% extends "app.html" %} {% comment %} # # This file is part of Plinth. # # 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 %} {% block page_head %} {% if config_running %} {% endif %} {% endblock %} {% block configuration %}

{% trans "Status" %}

{% if config_running %}

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

{% else %}

{% if status.is_running %} {% trans "Tor is running" %} {% else %} {% trans "Tor is not running" %} {% endif %}

{% include "diagnostics_button.html" with module="tor" %} {% if status.hs_enabled %}
{% trans "Hidden Service" %} {% trans "Port" %}
{{ status.hs_hostname }} {{ status.hs_ports }}
{% endif %}

{% trans "Configuration" %}

{% csrf_token %} {{ form|bootstrap }}

{% trans "Bridge" %}

{% blocktrans trimmed %} Your {{ box_name }} is configured as a Tor bridge with obfsproxy, so it can help circumvent censorship. 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 }}

{% trans "SOCKS" %}

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

{% endif %} {% endblock %}