mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 03:00:09 +00:00
added endpoint config...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0a58cdc734
commit
ba132992e4
@ -35,6 +35,9 @@ LAN_GATE=-
|
||||
|
||||
REBOOT=${REBOOT:=1}
|
||||
|
||||
DFL_ENDPOINT=${DFL_ENDPOINT:=${DOMAIN}}
|
||||
xread "Wireguard endpoint: " ENDPOINT
|
||||
|
||||
readVars
|
||||
|
||||
|
||||
@ -80,7 +83,7 @@ echo "# Copying assets..."
|
||||
echo "# Setup: wireguard default profile..."
|
||||
@ lxc-attach $ID -- bash -c "cd /root && \
|
||||
ENDPOINT_PORT=51820
|
||||
ENDPOINT=${DOMAIN}
|
||||
ENDPOINT=${ENDPOINT}
|
||||
CLIENT_IP=10.42.0.1/32
|
||||
DNS=${NS_LAN_IP}
|
||||
ALLOWED_IPS=0.0.0.0/0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user