1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-14 12:21:56 +00:00

Fix DSVPN support

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-02-26 10:38:43 +01:00
parent 9445e8e939
commit 868ea9de25
2 changed files with 6 additions and 6 deletions

View file

@ -10,10 +10,10 @@ fi
. "$(readlink -f "$1")"
exec dsvpn \
${MODE:+server} \
${MODE} \
"$1".key \
auto \
${PORT:+65401} \
${DEV:+dsvpn0} \
${LOCALTUNIP:+10.255.251.1} \
${REMOTETUNIP:+10.255.251.1}
${PORT} \
${DEV} \
${LOCALTUNIP} \
${REMOTETUNIP}

View file

@ -2,4 +2,4 @@ PORT=65401
DEV=dsvpn0
MODE=server
LOCALTUNIP=10.255.251.1
REMOTETUNIP=10.255.251.2
REMOTETUNIP=10.255.251.2