-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlproxy
executable file
·32 lines (30 loc) · 1008 Bytes
/
lproxy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
DIR=`dirname $0`
DIR="$(cd $DIR; pwd)"
act="$1"
case $act in
build)
shift
$DIR/bin/lproxy-build $*
;;
status)
shift
$DIR/bin/lproxy-status $*
;;
purge)
shift
$DIR/bin/lproxy-purge $*
;;
*)
shift
echo "lproxy <command> [options]"
echo " build -- Build local proxy container."
echo " --from-src -- Build local proxy container from source rather than docker image downloading."
echo " brook -- Build local proxy container that connect to VPN server via Brook connector"
echo " sslibev -- Build local proxy container that connect to VPN server via Shadowsocks connector"
echo " trojan -- Build local proxy container that connect to VPN server via Trojan connector"
echo " v2ray -- Build local proxy container that connect to VPN server via V2ray connector"
echo " status -- Check local proxy container status."
echo " purge -- Destory local proxy container."
;;
esac