1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-vps.git synced 2025-03-09 15:50:00 +00:00

Update glorytun UDP

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-11-23 15:42:15 +00:00
parent 11eb98aa91
commit f89e40f9d9
2 changed files with 5 additions and 3 deletions

View file

@ -12,8 +12,8 @@ fi
DEV="gt${HOST:+c}-udp-$(basename "$1")"
exec glorytun \
bind $BIND $BIND_PORT \
bind from addr $BIND port $BIND_PORT \
keyfile "$1".key \
${DEV:+dev "$DEV"} \
${HOST:+to "$HOST" "$PORT"} \
${HOST:+to addr "$HOST" port "$PORT"} \
${OPTIONS:+$OPTIONS}