{% extends 'base.html' %} {% load crispy_forms_tags %} {% block content %}
{% if page_title %}

{{ page_title }}

{% endif %}
{% csrf_token %} {% crispy form %}

Get Token from WireGuard WebAdmin

Generating an API Key:

This steps should be reproduced on the host machine for wireguard_webadmin.

  • Outside the Container:
    cat /proc/sys/kernel/random/uuid > /var/lib/docker/volumes/wireguard_webadmin_wireguard/_data/routerfleet_key
  • Inside the Container:
    cat /proc/sys/kernel/random/uuid > /etc/wireguard/routerfleet_key

Remember, your routerfleet_key should be a valid UUID.

Warning:

Keep this KEY protected. Currently, It's used to authenticate users without password, including your own admin account.

Disabling the API Key:

If you ever need to disable your API key, you can generate a new one or simply delete the routerfleet_key file.

{% endblock %} {% block custom_page_scripts %} {% endblock %}