mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
32d5ce9d96
commit
4b2c3819ce
@ -41,9 +41,13 @@ xread "Wireguard endpoint: " ENDPOINT
|
||||
DFL_ENDPOINT_PORT=${DFL_ENDPOINT_PORT:=51820}
|
||||
xread "Wireguard endpoint port: " ENDPOINT_PORT
|
||||
|
||||
|
||||
readVars
|
||||
|
||||
|
||||
DNS=${NS_LAN_IP/\/*}
|
||||
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -12,10 +12,10 @@ CLIENT_TPL := templates/client.conf
|
||||
CLIENT_DIR := $(SERVER_DIR)/clients/
|
||||
|
||||
CLIENT_IPS ?= 10.42.0.0/16
|
||||
ENDPOINT_PORT ?= 51820
|
||||
ENDPOINT_PORT ?= ${ENDPOINT_PORT}
|
||||
ENDPOINT ?= ${ENDPOINT}
|
||||
|
||||
DNS ?= ${NS_LAN_IPn}
|
||||
DNS ?= ${DNS}
|
||||
ALLOWED_IPS ?= 0.0.0.0/0
|
||||
# XXX need to generate this...
|
||||
CLIENT_IP ?= 10.42.0.1/32
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user