diff --git a/master/documentation/configuration/overview/index.html b/master/documentation/configuration/overview/index.html index d4e9256..ecd32c5 100644 --- a/master/documentation/configuration/overview/index.html +++ b/master/documentation/configuration/overview/index.html @@ -92,7 +92,7 @@ authentication: "" timeout: 10s

Below you will find sections like core, backend, advanced, database, statistics, mail, auth, web and webhook.
Each section describes the individual configuration keys, their default values, and a brief explanation of their purpose.


Core

These are the primary configuration options that control fundamental WireGuard Portal behavior. More advanced options are found in the subsequent Advanced section.

admin_user

admin_password

disable_admin_user

admin_api_token

editable_keys

create_default_peer (deprecated)

create_default_peer_on_creation (deprecated)

create_default_peer_on_login

create_default_peer_on_user_creation

create_default_peer_on_interface_creation

re_enable_peer_after_user_enable

delete_peer_after_user_deleted

self_provisioning_allowed

import_existing

restore_state


Backend

Configuration options for the WireGuard backend, which manages the WireGuard interfaces and peers. The current MikroTik backend is in BETA and may not support all features.

default

rekey_timeout_interval

local_resolvconf_prefix

ignored_local_interfaces

Mikrotik

The mikrotik array contains a list of MikroTik backend definitions. Each entry describes how to connect to a MikroTik RouterOS instance that hosts WireGuard interfaces.

Below are the properties for each entry inside backend.mikrotik:

id

display_name

api_url

api_user

api_password

api_verify_tls

api_timeout

concurrency

ignored_interfaces

debug

For more details on configuring the MikroTik backend, see the Backends documentation.


Advanced

Additional or more specialized configuration options for logging and interface creation details.

log_level

log_pretty

log_json

start_listen_port

start_cidr_v4

start_cidr_v6

use_ip_v6

config_storage_path

expiry_check_interval

rule_prio_offset

route_table_offset

api_admin_only

limit_additional_user_peers


Database

Configuration for the underlying database used by WireGuard Portal. Supported databases include SQLite, MySQL, Microsoft SQL Server, and Postgres.

If sensitive values (like private keys) should be stored in an encrypted format, set the encryption_passphrase option.

debug

slow_query_threshold

type

dsn

encryption_passphrase


Statistics

Controls how WireGuard Portal collects and reports usage statistics, including ping checks and Prometheus metrics.

use_ping_checks

ping_check_workers

ping_unprivileged

ping_check_interval

data_collection_interval

collect_interface_data

collect_peer_data

collect_audit_data

listening_address


Mail

Options for configuring email notifications or sending peer configurations via email. By default, emails will only be sent to peers that have a valid user record linked. To send emails to all peers that have a valid email-address as user-identifier, set allow_peer_email to true.

host

port

encryption

cert_validation

username

password

auth_type

from

allow_peer_email

templates_path


Auth

WireGuard Portal supports multiple authentication strategies, including OpenID Connect (oidc), OAuth (oauth), Passkeys (webauthn) and LDAP (ldap). Each can have multiple providers configured. Below are the relevant keys.

Some core authentication options are shared across all providers, while others are specific to each provider type.

min_password_length

hide_login_form


OIDC

The oidc array contains a list of OpenID Connect providers. Below are the properties for each OIDC provider entry inside auth.oidc:

provider_name

display_name

base_url

client_id

client_secret

extra_scopes

allowed_domains

allowed_user_groups

field_map

admin_mapping

registration_enabled

log_user_info

log_sensitive_info

logout_idp_session


OAuth

The oauth array contains a list of plain OAuth2 providers. Below are the properties for each OAuth provider entry inside auth.oauth:

provider_name

display_name

client_id

client_secret

auth_url

token_url

user_info_url

scopes

allowed_domains

allowed_user_groups

field_map

admin_mapping

registration_enabled

log_user_info

log_sensitive_info


LDAP

The ldap array contains a list of LDAP authentication providers. Below are the properties for each LDAP provider entry inside auth.ldap:

provider_name

url

start_tls

cert_validation

tls_certificate_path

tls_key_path

base_dn

bind_user

bind_pass

field_map

login_filter

encryption_passphrase


Statistics

Controls how WireGuard Portal collects and reports usage statistics, including ping checks and Prometheus metrics.

use_ping_checks

ping_check_workers

ping_unprivileged

ping_check_interval

data_collection_interval

collect_interface_data

collect_peer_data

collect_audit_data

listening_address


Mail

Options for configuring email notifications or sending peer configurations via email. By default, emails will only be sent to peers that have a valid user record linked. To send emails to all peers that have a valid email-address as user-identifier, set allow_peer_email to true.

host

port

encryption

cert_validation

username

password

auth_type

from

allow_peer_email

templates_path


Auth

WireGuard Portal supports multiple authentication strategies, including OpenID Connect (oidc), OAuth (oauth), Passkeys (webauthn) and LDAP (ldap). Each can have multiple providers configured. Below are the relevant keys.

Some core authentication options are shared across all providers, while others are specific to each provider type.

min_password_length

hide_login_form


OIDC

The oidc array contains a list of OpenID Connect providers. Below are the properties for each OIDC provider entry inside auth.oidc:

provider_name

display_name

base_url

client_id

client_secret

extra_scopes

allowed_domains

allowed_user_groups

field_map

admin_mapping

registration_enabled

log_user_info

log_sensitive_info

logout_idp_session


OAuth

The oauth array contains a list of plain OAuth2 providers. Below are the properties for each OAuth provider entry inside auth.oauth:

provider_name

display_name

client_id

client_secret

auth_url

token_url

user_info_url

scopes

allowed_domains

allowed_user_groups

field_map

admin_mapping

registration_enabled

log_user_info

log_sensitive_info


LDAP

The ldap array contains a list of LDAP authentication providers. Below are the properties for each LDAP provider entry inside auth.ldap:

provider_name

url

start_tls

cert_validation

tls_certificate_path

tls_key_path

base_dn

bind_user

bind_pass

field_map

login_filter

interface_filter