You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
216 B
11 lines
216 B
#!/bin/sh
|
|
set -e
|
|
|
|
CONNECT="${CONNECT_ADDR:?CONNECT_ADDR is required}"
|
|
|
|
TCP_FLAG=""
|
|
if [ "${TCP_MODE}" = "true" ]; then
|
|
TCP_FLAG="-tcp"
|
|
fi
|
|
|
|
exec ./vk-turn-proxy -listen 0.0.0.0:56000 -connect "$CONNECT" $TCP_FLAG
|
|
|