{% extends "operator/base.html" %} {% load i18n %} {% block op_title %}{% translate "Routing (server)" %}{% endblock %} {% block op_content %}
{% blocktranslate trimmed %}Phones connect to the server (interface “phones”); the server forwards only the released ports to the devices of their customer (SNAT into the uplink). The service forgeiec-rivet-wg reports the state below.{% endblocktranslate %}
{{ phones_endpoint }}{{ phones_public_key }}{% else %}{% translate "not set" %} {% translate "FORGEIEC_RIVET_PHONES_PUBLIC_KEY is empty: phones are still shown the old path via the gateway." %}{% endif %}{% translate "WG service not configured (FORGEIEC_RIVET_WG_SOCKET is empty)." %}
{% elif error %}{% blocktranslate trimmed %}The state of the server cannot be read: {{ error }}{% endblocktranslate %}
{% else %}{{ status.phones.public_key|default:"–" }}| {% translate "Phone" %} | {% translate "Address" %} | {% translate "Last handshake" %} | {% translate "Data volume" %} |
|---|---|---|---|
| {% if p.phone %}{{ p.phone.name }} {{ p.phone.gateway.name }}{% else %} {{ p.public_key|truncatechars:12 }} {% translate "(unknown)" %}{% endif %} |
{{ p.allowed_ip|default:"–" }}{% if p.endpoint %} {% blocktranslate trimmed with endpoint=p.endpoint %}from {{ endpoint }}{% endblocktranslate %}{% endif %} |
{% if p.seen %}{{ p.seen|date:"SHORT_DATETIME_FORMAT" }}{% else %}{% translate "never connected" %}{% endif %} | {% blocktranslate trimmed with rx=p.rx_bytes|filesizeformat tx=p.tx_bytes|filesizeformat %}received {{ rx }} · sent {{ tx }}{% endblocktranslate %} |
| {% translate "No phone peers." %} | |||
{% translate "The service does not report an interface “phones” (older version?)." %}
{% endif %}{{ status.firewall }}
{% else %}{% translate "The service does not report a firewall table." %}
{% endif %}{% blocktranslate trimmed with n=status.n_uplink_peers %}Uplink: {{ n }} gateway peer(s).{% endblocktranslate %}