mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 19:20:10 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
46187995e5
commit
3ce461ab05
@ -13,12 +13,12 @@ CLIENT_DIR := $(SERVER_DIR)/clients/
|
|||||||
|
|
||||||
CLIENT_IPS ?= 10.42.0.0/16
|
CLIENT_IPS ?= 10.42.0.0/16
|
||||||
ENDPOINT_PORT ?= 51820
|
ENDPOINT_PORT ?= 51820
|
||||||
ENDPOINT ?= 1.2.3.4
|
ENDPOINT ?= ${DOMAIN}
|
||||||
|
|
||||||
|
DNS ?= ${NS_LAN_IP}
|
||||||
|
ALLOWED_IPS ?= 0.0.0.0/0
|
||||||
# XXX need to generate this...
|
# XXX need to generate this...
|
||||||
CLIENT_IP ?= 10.42.0.1/32
|
CLIENT_IP ?= 10.42.0.1/32
|
||||||
DNS ?= 10.1.1.1
|
|
||||||
ALLOWED_IPS ?= 0.0.0.0/0
|
|
||||||
|
|
||||||
|
|
||||||
%_id:
|
%_id:
|
||||||
|
|||||||
@ -93,9 +93,6 @@ echo "# Setup: wireguard default profile..."
|
|||||||
echo "# client config:"
|
echo "# client config:"
|
||||||
@ mkdir -p clients
|
@ mkdir -p clients
|
||||||
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
@ pct pull $ID /etc/wireguard/clients/default.conf clients/default.conf
|
||||||
echo "# ---"
|
|
||||||
@ lxc-attach $ID -- cat /etc/wireguard/clients/default.conf
|
|
||||||
echo "# ---"
|
|
||||||
|
|
||||||
#echo "# Setup: bridge device..."
|
#echo "# Setup: bridge device..."
|
||||||
@ lxc-attach $ID wg-quick up wg0
|
@ lxc-attach $ID wg-quick up wg0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user