1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-02-12 19:31:54 +00:00
openmptcprouter-vps/dsvpn-run

20 lines
228 B
Text
Raw Normal View History

2020-02-21 16:17:51 +00:00
#!/bin/sh
set -e
if [ ! -f "$1" ]; then
echo "usage: $(basename "$0") FILE"
exit 1
fi
. "$(readlink -f "$1")"
exec dsvpn \
2020-02-26 09:38:43 +00:00
${MODE} \
2020-02-21 16:17:51 +00:00
"$1".key \
auto \
2020-02-26 09:38:43 +00:00
${PORT} \
${DEV} \
${LOCALTUNIP} \
${REMOTETUNIP}