{% load i18n rivet_static %}
{% blocktranslate trimmed %}The server does not offer the phone connection yet (FORGEIEC_RIVET_PHONES_PUBLIC_KEY is not set). These values connect the phone directly to the gateway as before.{% endblocktranslate %}
{% endif %}{% blocktranslate trimmed %}The key pair is generated on the phone. The private key stays on the phone; the portal only knows the public key. These values stay available here.{% endblocktranslate %}
{% if rekey_url %}{% blocktranslate trimmed %}The browser generates the key pair. Only the public key is sent to the portal; the private key stays in this page and goes into the QR code. In the WireGuard app tap “+” → “Scan from QR code”.{% endblocktranslate %}
{{ phone.public_key }}| {% translate "Interface" context "WireGuard app" %} | |
|---|---|
| {% translate "Addresses" context "WireGuard app" %} | {{ setup.address }} |
| {% translate "MTU" context "WireGuard app" %} | {{ setup.mtu }} |
| {% translate "DNS servers" context "WireGuard app" %} | {{ setup.dns }}{% blocktranslate trimmed with server=setup.dns_server domain=setup.search_domain %}DNS server {{ server }}, search domain {{ domain }}{% endblocktranslate %} |
| {% translate "Peer" context "WireGuard app" %} | |
| {% translate "Public key" context "WireGuard app" %} | {{ setup.peer_public_key }} |
| {% translate "Endpoint" context "WireGuard app" %} | {{ setup.endpoint }} |
| {% translate "Allowed IPs" context "WireGuard app" %} | {{ setup.allowed_ips }} |
| {% translate "Persistent keepalive" context "WireGuard app" %} | {{ setup.keepalive }} |
{{ r.address }} – {{ r.name }}{% translate "No forwards are released for this phone yet." %}
{% endif %}{% translate "Connection via the server:" %} {% if phone_server %}{% if phone_server.seen %}{% blocktranslate trimmed with when=phone_server.seen|date:"SHORT_DATETIME_FORMAT" rx=phone_server.rx_bytes|filesizeformat tx=phone_server.tx_bytes|filesizeformat %}last handshake {{ when }} · received {{ rx }} · sent {{ tx }}{% endblocktranslate %}{% else %}{% translate "never connected" %}{% endif %} {% else %}{% translate "unknown" %}{% endif %}
{% endif %}{% translate "Replace the placeholder in the line “PrivateKey” with the private key from the WireGuard app before using the template." %}
{{ config_template }}