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:
parent
11eb98aa91
commit
f89e40f9d9
2 changed files with 5 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue