File tree Expand file tree Collapse file tree 1 file changed +58
-0
lines changed
Expand file tree Collapse file tree 1 file changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ cls
2+ @ ECHO OFF
3+ : 设置你的链接KEY即可
4+ SET LANPROXY_CLIENT_KEY = 你的CLIENTKEY放到这里即可
5+ : LAN PROXY SERVER HOST
6+ SET LANPROXY_SERVER_HOST = jp.cdjxt.net
7+ : LAN PROXY SERVER PORT
8+ SET LANPROXY_SERVER_PORT = 5993
9+ : 以下配置不用修改
10+ SET LANPROXY_PATH = ./
11+ SET LANPROXY_DIR = ./
12+ color 0a
13+ TITLE lanproxy Management
14+ GOTO MENU
15+ :MENU
16+ CLS
17+ ECHO .
18+ ECHO . * * * * lanproxy Management * * * * * * * * * * *
19+ ECHO . * *
20+ ECHO . * 1 start *
21+ ECHO . * *
22+ ECHO . * 2 close *
23+ ECHO . * *
24+ ECHO . * 3 restart*
25+ ECHO . * *
26+ ECHO . * 4 exit *
27+ ECHO . * *
28+ ECHO . * * * * * * * * * * * * * * * * * * * * * * * *
29+ ECHO .
30+ ECHO .plase choose list:
31+ set /p ID =
32+ IF " %id% " == " 1" GOTO cmd1
33+ IF " %id% " == " 2" GOTO cmd2
34+ IF " %id% " == " 3" GOTO cmd3
35+ IF " %id% " == " 4" EXIT
36+ PAUSE
37+ :cmd1
38+ ECHO .
39+ ECHO .start lanproxy......
40+ IF NOT EXIST %LANPROXY_DIR% client_windows_amd64.exe ECHO %LANPROXY_DIR% client_windows_amd64.exe不存在
41+ IF EXIST %LANPROXY_DIR% start %LANPROXY_DIR% client_windows_amd64.exe -s %LANPROXY_SERVER_HOST% -p %LANPROXY_SERVER_PORT% -k %LANPROXY_CLIENT_KEY% -ssl true
42+ ECHO .OK
43+ PAUSE
44+ GOTO MENU
45+ :cmd2
46+ ECHO .
47+ ECHO .close lanproxy......
48+ taskkill /F /IM client_windows_amd64.exe > nul
49+ ECHO .OK
50+ PAUSE
51+ GOTO MENU
52+ :cmd3
53+ ECHO .
54+ ECHO .close lanproxy......
55+ taskkill /F /IM client_windows_amd64.exe > nul
56+ ECHO .OK
57+ GOTO cmd1
58+ GOTO MENU
You can’t perform that action at this time.
0 commit comments