diff --git a/master/documentation/configuration/overview/index.html b/master/documentation/configuration/overview/index.html index 96620d9..991ed1d 100644 --- a/master/documentation/configuration/overview/index.html +++ b/master/documentation/configuration/overview/index.html @@ -45,7 +45,7 @@ host: 127.0.0.1 port: 25 encryption: none - cert_validation: false + cert_validation: true username: "" password: "" auth_type: plain @@ -69,7 +69,7 @@ cert_file: "" key_File: ""

Below you will find sections like core, advanced, database, statistics, mail, auth and web.
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

admin_api_token

editable_keys

create_default_peer

create_default_peer_on_creation

re_enable_peer_after_user_enable

delete_peer_after_user_deleted

self_provisioning_allowed

import_existing

restore_state


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


Database

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

debug

slow_query_threshold

type

dsn


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.

host

port

encryption

cert_validation

username

password

auth_type

from


Auth

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


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

field_map

admin_mapping

registration_enabled

log_user_info


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

field_map

admin_mapping

registration_enabled

log_user_info


LDAP

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

url

start_tls

cert_validation

tls_certificate_path

tls_key_path

base_dn

bind_user

bind_pass

field_map

login_filter


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.

host

port

encryption

cert_validation

username

password

auth_type

from


Auth

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


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

field_map

admin_mapping

registration_enabled

log_user_info


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

field_map

admin_mapping

registration_enabled

log_user_info


LDAP

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

url

start_tls

cert_validation

tls_certificate_path

tls_key_path

base_dn

bind_user

bind_pass

field_map

login_filter

admin_group

sync_interval

sync_filter

disable_missing

auto_re_enable

registration_enabled

log_user_info


Web

listening_address

external_url

site_company_name

site_title

session_identifier

session_secret

csrf_secret

request_logging

cert_file

key_file