summaryrefslogtreecommitdiff
path: root/images/obfsvpn/scripts/start_obfs4.sh
blob: c73f6047fb9ef03be0cea448a02dd20e69b1d16c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

if [ -z "$HOST_ADDR" ]
then
    HOST_ADDR='localhost'
fi

cd "${APP_INSTALL_PATH}"
./obfsvpn-server -addr ${OBFS4_HOST}:${OBFS4_PORT} -vpn ${HOST_ADDR}:${PORT} \
	-state ./obfsvpn-server-data -c ./obfsvpn-server-data/obfs4.json -v