Files
wireguard-admin/config/wireguard-admin.example.toml

18 lines
755 B
TOML

# Copy this file to wireguard-admin.toml beside the wireguard-admin executable.
# Relative paths are resolved from that executable directory, never from the
# process working directory. This example uses documentation-only addresses.
interface_name = "wg0"
server_config_path = "etc/wireguard/wg0.conf"
client_source_directory = "clients"
server_endpoint = "vpn.example.invalid:51820"
ipv4_allocation_range = "192.0.2.0/24"
ipv6_allocation_range = "2001:db8:1::/64"
dns_addresses = ["192.0.2.1", "2001:db8:1::1"]
systemd_unit = "wg-quick@wg0.service"
restart_timeout_seconds = 30
# Optional. Defaults to Backup beside the executable. The application stores
# current data in <data_root>/data and archives in <data_root>/archives.
# data_root = "Backup"