mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Add missing files
This commit is contained in:
parent
ca9daabd14
commit
4b47717168
8 changed files with 61 additions and 0 deletions
19
dsvpn-run
Normal file
19
dsvpn-run
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ ! -f "$1" ]; then
|
||||
echo "usage: $(basename "$0") FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
. "$(readlink -f "$1")"
|
||||
|
||||
exec dsvpn \
|
||||
${MODE:+server} \
|
||||
"$1".key \
|
||||
auto \
|
||||
${PORT:+65401} \
|
||||
${DEV:+dsvpn0} \
|
||||
${LOCALTUNIP:+10.255.251.1} \
|
||||
${REMOTETUNIP:+10.255.251.1}
|
Loading…
Add table
Add a link
Reference in a new issue