-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
直接把这个bat和下载的客户端文件 client_windows_amd64.exe 放到一起,双击打开即可使用
- Loading branch information
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
cls | ||
@ECHO OFF | ||
: 设置你的链接KEY即可 | ||
SET LANPROXY_CLIENT_KEY=你的CLIENTKEY放到这里即可 | ||
: LAN PROXY SERVER HOST | ||
SET LANPROXY_SERVER_HOST=jp.cdjxt.net | ||
: LAN PROXY SERVER PORT | ||
SET LANPROXY_SERVER_PORT=5993 | ||
: 以下配置不用修改 | ||
SET LANPROXY_PATH=./ | ||
SET LANPROXY_DIR=./ | ||
color 0a | ||
TITLE lanproxy Management | ||
GOTO MENU | ||
:MENU | ||
CLS | ||
ECHO. | ||
ECHO. * * * * lanproxy Management * * * * * * * * * * * | ||
ECHO. * * | ||
ECHO. * 1 start * | ||
ECHO. * * | ||
ECHO. * 2 close * | ||
ECHO. * * | ||
ECHO. * 3 restart* | ||
ECHO. * * | ||
ECHO. * 4 exit * | ||
ECHO. * * | ||
ECHO. * * * * * * * * * * * * * * * * * * * * * * * * | ||
ECHO. | ||
ECHO.plase choose list: | ||
set /p ID= | ||
IF "%id%"=="1" GOTO cmd1 | ||
IF "%id%"=="2" GOTO cmd2 | ||
IF "%id%"=="3" GOTO cmd3 | ||
IF "%id%"=="4" EXIT | ||
PAUSE | ||
:cmd1 | ||
ECHO. | ||
ECHO.start lanproxy...... | ||
IF NOT EXIST %LANPROXY_DIR%client_windows_amd64.exe ECHO %LANPROXY_DIR%client_windows_amd64.exe不存在 | ||
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 | ||
ECHO.OK | ||
PAUSE | ||
GOTO MENU | ||
:cmd2 | ||
ECHO. | ||
ECHO.close lanproxy...... | ||
taskkill /F /IM client_windows_amd64.exe > nul | ||
ECHO.OK | ||
PAUSE | ||
GOTO MENU | ||
:cmd3 | ||
ECHO. | ||
ECHO.close lanproxy...... | ||
taskkill /F /IM client_windows_amd64.exe > nul | ||
ECHO.OK | ||
GOTO cmd1 | ||
GOTO MENU |
79ecb2f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
windows 客户端BAT管理工具
直接把这个bat和下载的客户端文件 client_windows_amd64.exe 放到一起,双击打开即可使用