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
dde5503ab0
commit
07797e95b4
@ -58,7 +58,7 @@ $(SERVER_CONF): $(SERVER_TPL) $(SERVER_KEY)
|
|||||||
-e 's/\$${ENDPOINT}/$(ENDPOINT)/g' \
|
-e 's/\$${ENDPOINT}/$(ENDPOINT)/g' \
|
||||||
-e 's/\$${ENDPOINT_PORT}/$(ENDPOINT_PORT)/g' \
|
-e 's/\$${ENDPOINT_PORT}/$(ENDPOINT_PORT)/g' \
|
||||||
-e 's/\$${CLIENT_PUBLIC_KEY}/'$$(cat "$(CLIENT_DIR)/$*_id.pub" | sed -e 's/\//\\\//g')'/g' \
|
-e 's/\$${CLIENT_PUBLIC_KEY}/'$$(cat "$(CLIENT_DIR)/$*_id.pub" | sed -e 's/\//\\\//g')'/g' \
|
||||||
-e 's/\$${SERVER_PUBLIC_KEY}/'$$(cat "$(SERVER_PUBLIC_KEY)" | sed -e 's/\//\\\//')g'/g' \
|
-e 's/\$${SERVER_PUBLIC_KEY}/'$$(cat "$(SERVER_PUBLIC_KEY)" | sed -e 's/\//\\\//g')'/g' \
|
||||||
>> "$(SERVER_CONF)"
|
>> "$(SERVER_CONF)"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[Interface]
|
[Interface]
|
||||||
PrivateKey = ${CLIENT_PRIVATE_KEY}
|
PrivateKey = ${CLIENT_PRIVATE_KEY}
|
||||||
Address = ${CLIENT_IP}/32
|
Address = ${CLIENT_IP}
|
||||||
DNS = ${DNS}
|
DNS = ${DNS}
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = ${CLIENT_PUBLIC_KEY}
|
PublicKey = ${CLIENT_PUBLIC_KEY}
|
||||||
AllowedIPs = ${CLIENT_IP}/32
|
AllowedIPs = ${CLIENT_IP}
|
||||||
Endpoint = ${ENDPOINT}:${ENDPOINT_PORT}
|
Endpoint = ${ENDPOINT}:${ENDPOINT_PORT}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user