Browse Source

* Updated readme for when ipv6 fails to start.

pull/32/head
Per-Arne Andersen 4 years ago
parent
commit
fd44c7c6f8
  1. 4
      README.md
  2. 3
      wg_dashboard_backend/main.py

4
README.md

@ -198,6 +198,10 @@ networks:
| CLIENT_X_SERVER_INTERFACE | The wg-interface to create client on e.g"wg0". See docs | string |
| CLIENT_X_API_KEY | A valid API-Key that is active on the server. Works well with SERVER_STARTUP_API_KEY | string |
# Q&A
I'm trying to start the device but recieve the message: `Perhaps ip6tables or your kernel needs to be upgraded.`.
Try: `modprobe ip6table_nat` on the host.
# Showcase
![Illustration](docs/images/0.png)

3
wg_dashboard_backend/main.py

@ -89,7 +89,8 @@ if const.SERVER_INIT_INTERFACE is not None:
db.wireguard.server_add_on_init(_db)
if const.SERVER_STARTUP_API_KEY is not None:
db.api_key.add_initial_api_key_for_admin(_db, const.SERVER_STARTUP_API_KEY, ADMIN_USERNAME=ADMIN_USERNAME)
ADMIN_USERNAME = os.getenv("ADMIN_USERNAME")
db.api_key.add_initial_api_key_for_admin(_db, const.SERVER_STARTUP_API_KEY, ADMIN_USERNAME)
_db.close()

Loading…
Cancel
Save