mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
ba132992e4
commit
6ab2e2b4c6
@ -82,11 +82,11 @@ echo "# Copying assets..."
|
||||
|
||||
echo "# Setup: wireguard default profile..."
|
||||
@ lxc-attach $ID -- bash -c "cd /root && \
|
||||
ENDPOINT_PORT=51820
|
||||
ENDPOINT=${ENDPOINT}
|
||||
CLIENT_IP=10.42.0.1/32
|
||||
DNS=${NS_LAN_IP}
|
||||
ALLOWED_IPS=0.0.0.0/0
|
||||
ENDPOINT_PORT=51820 \
|
||||
ENDPOINT=${ENDPOINT} \
|
||||
CLIENT_IP=10.42.0.1/32 \
|
||||
DNS=${NS_LAN_IP} \
|
||||
ALLOWED_IPS=0.0.0.0/0 \
|
||||
make default.client"
|
||||
@ lxc-attach $ID -- chmod 600 /etc/wireguard/wg0.conf
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user