108 lines
1.7 KiB
Plaintext
108 lines
1.7 KiB
Plaintext
# --------------------
|
|
# Configuration for a n instanze of the WireGuard Service
|
|
# --------------------
|
|
|
|
# COMPANY_TOKEN
|
|
#
|
|
# Example
|
|
# COMPANY_TOKEN="wf"
|
|
# COMPANY_TOKEN="o.open"
|
|
#
|
|
# No default Value
|
|
#
|
|
#COMPANY_TOKEN=""
|
|
|
|
|
|
# WG_LISTEN_PORT
|
|
#
|
|
# Port on whixh WireGuard Service is listen
|
|
#
|
|
# Defaults to:
|
|
# WG_LISTEN_PORT=51820
|
|
#
|
|
#WG_LISTEN_PORT=51820
|
|
|
|
|
|
# WG_SERVER_DIR
|
|
#
|
|
# The directory containing wireguard confiuration files
|
|
#
|
|
# Defaukts to:
|
|
# WG_SERVER_DIR="/etc/wireguard"
|
|
#
|
|
#WG_SERVER_DIR="/etc/wireguard"
|
|
|
|
|
|
# WG_CLIENT_BASE_DIR
|
|
#
|
|
# Base directory containg client configs
|
|
#
|
|
# Defaults to:
|
|
# WG_CLIENT_BASE_DIR="${WG_SERVER_DIR}/Clients
|
|
#
|
|
#WG_CLIENT_BASE_DIR=""
|
|
|
|
|
|
# WG_SERVER_CONFIG
|
|
#
|
|
# then servers configuration file
|
|
#
|
|
# Defaults to
|
|
# WG_SERVER_CONFIG="${WG_SERVER_DIR}/wg-${COMPANY_TOKEN}-${WG_INSTANCE_NAME}.conf"
|
|
#
|
|
#WG_SERVER_CONFIG=""
|
|
|
|
|
|
# WG_NETWORK
|
|
#
|
|
# CLASS C Networkaddress for wireguard connections
|
|
#
|
|
# Example:
|
|
# WG_NETWORK==10.10.52.0
|
|
#
|
|
# No default value
|
|
#
|
|
#WG_NETWORK=""
|
|
|
|
|
|
# WG_DNS
|
|
#
|
|
# DNS server pushed to the clients
|
|
#
|
|
# Example:
|
|
# WG_DNS=I192.168.52.1"
|
|
#
|
|
# No default value
|
|
#
|
|
#WG_DNS=""
|
|
|
|
|
|
# WG_ALLOWED_IPS
|
|
#
|
|
# IP ranges, which is allowed to access throug wireguard connection
|
|
#
|
|
# !! Note !!:
|
|
# Servers IP Address on wireguaed device is automatically added
|
|
#
|
|
# Example:
|
|
# WG_ALLOWED_IPS="192.168.52.0/24 192.168.42.0/24"
|
|
#
|
|
# No Default Value
|
|
#
|
|
# Blank separated list of Network addresses
|
|
#
|
|
#WG_ALLOWED_IPS=""
|
|
|
|
|
|
# WG_SERVER_ENDPOINT
|
|
#
|
|
# Usually the server name or the server IP address under which the Wireguard service
|
|
# can be reached from the Internet.
|
|
#
|
|
# Example:
|
|
# WG_SERVER_ENDPOINT="gw-d11.oopen.de"
|
|
#
|
|
# No default value
|
|
#
|
|
#WG_SERVER_ENDPOINT=""
|