mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
更新frps版本
This commit is contained in:
@@ -12,6 +12,10 @@
|
|||||||
|
|
||||||
### 更新日志
|
### 更新日志
|
||||||
|
|
||||||
|
* 2020-03-06
|
||||||
|
* 更新frps到0.31.2
|
||||||
|
* 修复工具箱下载插件失败的问题
|
||||||
|
|
||||||
* 2020-03-05-2
|
* 2020-03-05-2
|
||||||
* 由于cdn缓存不刷新,还是滚回了`coding`源:`https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master`
|
* 由于cdn缓存不刷新,还是滚回了`coding`源:`https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master`
|
||||||
* 新增`DLNA`插件`DMS`
|
* 新增`DLNA`插件`DMS`
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#copyright by monlor
|
||||||
|
|
||||||
eval `mbdb export dms`
|
eval `mbdb export dms`
|
||||||
source "$(mbdb get mixbox.main.path)"/bin/base
|
source "$(mbdb get mixbox.main.path)"/bin/base
|
||||||
@@ -11,7 +12,7 @@ if [ "$enable" == '1' ]; then
|
|||||||
readsh "请输入${appname}媒体服务器名称" "servername" "mixbox-dms"
|
readsh "请输入${appname}媒体服务器名称" "servername" "mixbox-dms"
|
||||||
# readsh "请输入${appname}外网访问配置[1/0]" "openport" "0"
|
# readsh "请输入${appname}外网访问配置[1/0]" "openport" "0"
|
||||||
readsh "重启${appname}服务[1/0] " "res" "1"
|
readsh "重启${appname}服务[1/0] " "res" "1"
|
||||||
[ "$res" = '1' -o -z "$res" ] && return 1
|
[ "$res" = '1' -o -z "$res" ] && return 0
|
||||||
else
|
else
|
||||||
return 0
|
return 1
|
||||||
fi
|
fi
|
||||||
BIN
apps/frps/bin/frps_darwin_x86_64
Normal file → Executable file
BIN
apps/frps/bin/frps_darwin_x86_64
Normal file → Executable file
Binary file not shown.
BIN
apps/frps/bin/frps_linux_arm
Normal file → Executable file
BIN
apps/frps/bin/frps_linux_arm
Normal file → Executable file
Binary file not shown.
BIN
apps/frps/bin/frps_linux_mips
Normal file → Executable file
BIN
apps/frps/bin/frps_linux_mips
Normal file → Executable file
Binary file not shown.
BIN
apps/frps/bin/frps_linux_x86_64
Normal file → Executable file
BIN
apps/frps/bin/frps_linux_x86_64
Normal file → Executable file
Binary file not shown.
@@ -4,5 +4,5 @@ needver="0.0.1"
|
|||||||
openport="1"
|
openport="1"
|
||||||
supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64"
|
supports="linux_arm,linux_mips,linux_x86_64,darwin_x86_64"
|
||||||
appinfo="内网穿透工具Frp服务端"
|
appinfo="内网穿透工具Frp服务端"
|
||||||
newinfo="frp程序更新到0.21.0"
|
newinfo="frp程序更新到0.31.2"
|
||||||
version="1.1.2"
|
version="1.1.3"
|
||||||
|
|||||||
@@ -1,39 +0,0 @@
|
|||||||
#------------------【Frps】--------------------
|
|
||||||
frps() {
|
|
||||||
|
|
||||||
eval `mbdb export frps`
|
|
||||||
source /etc/mixbox/bin/base
|
|
||||||
uciset="mbdb set $appname.main"
|
|
||||||
echo "********* $service ***********"
|
|
||||||
echo "[${appinfo}]"
|
|
||||||
echo "技巧:回车表示默认或历史设置,-1表示还原默认或不启用"
|
|
||||||
readsh "启动${appname}服务[1/0] " "enable" "1"
|
|
||||||
|
|
||||||
if [ "$enable" == '1' ]; then
|
|
||||||
# Scripts Here
|
|
||||||
read -p "修改${appname}配置信息?[1/0] " res
|
|
||||||
if [ "$res" = '1' ]; then
|
|
||||||
readsh "请输入${appname}运行端口号" "port" "7000"
|
|
||||||
readsh "请输入${appname}的udp端口号" "udp_port" "7001"
|
|
||||||
readsh "请输入${appname}的kcp配置[1/0]" "kcp" "1"
|
|
||||||
readsh "请输入${appname}用于http穿透的端口号" "http_port" "90"
|
|
||||||
readsh "请输入${appname}用于https穿透的端口号" "https_port" "91"
|
|
||||||
readsh "请输入${appname}访问密钥" "token" "12345678"
|
|
||||||
readsh "请输入${appname}子域名" "subdomain"
|
|
||||||
read -p "是否启用${appname}的web控制面板?[1/0] " res
|
|
||||||
[ -n "$res" ] && mbdb set $appname.main.dashboard="$res"
|
|
||||||
if [ "$res" = '1' ]; then
|
|
||||||
readsh "请输入${appname}控制面板端口号" "dashboard_port" "7500"
|
|
||||||
readsh "请输入${appname}控制面板用户名" "dashboard_user" "admin"
|
|
||||||
readsh "请输入${appname}控制面板密码" "dashboard_pwd" "admin"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
readsh "请输入${appname}外网访问配置[1/0]" "openport" "1"
|
|
||||||
|
|
||||||
${mbroot}/apps/${appname}/scripts/${appname}.sh restart
|
|
||||||
else
|
|
||||||
${mbroot}/apps/${appname}/scripts/${appname}.sh stop
|
|
||||||
fi
|
|
||||||
|
|
||||||
}
|
|
||||||
#------------------【Frps】--------------------
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
1.0.4
|
|
||||||
35
apps/frps/scripts/config.sh
Normal file
35
apps/frps/scripts/config.sh
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#copyright by monlor
|
||||||
|
|
||||||
|
eval `mbdb export frps`
|
||||||
|
source /etc/mixbox/bin/base
|
||||||
|
uciset="mbdb set $appname.main"
|
||||||
|
echo "********* $service ***********"
|
||||||
|
echo "[${appinfo}]"
|
||||||
|
echo "技巧:回车表示默认或历史设置,-1表示还原默认或不启用"
|
||||||
|
readsh "启动${appname}服务[1/0] " "enable" "1"
|
||||||
|
|
||||||
|
if [ "$enable" == '1' ]; then
|
||||||
|
# Scripts Here
|
||||||
|
read -p "修改${appname}配置信息?[1/0] " res
|
||||||
|
if [ "$res" = '1' ]; then
|
||||||
|
readsh "请输入${appname}运行端口号" "port" "7000"
|
||||||
|
readsh "请输入${appname}的udp端口号" "udp_port" "7001"
|
||||||
|
readsh "请输入${appname}的kcp配置[1/0]" "kcp" "1"
|
||||||
|
readsh "请输入${appname}用于http穿透的端口号" "http_port" "90"
|
||||||
|
readsh "请输入${appname}用于https穿透的端口号" "https_port" "91"
|
||||||
|
readsh "请输入${appname}访问密钥" "token" "12345678"
|
||||||
|
readsh "请输入${appname}子域名" "subdomain"
|
||||||
|
read -p "是否启用${appname}的web控制面板?[1/0] " res
|
||||||
|
[ -n "$res" ] && mbdb set $appname.main.dashboard="$res"
|
||||||
|
if [ "$res" = '1' ]; then
|
||||||
|
readsh "请输入${appname}控制面板端口号" "dashboard_port" "7500"
|
||||||
|
readsh "请输入${appname}控制面板用户名" "dashboard_user" "admin"
|
||||||
|
readsh "请输入${appname}控制面板密码" "dashboard_pwd" "admin"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
readsh "请输入${appname}外网访问配置[1/0]" "openport" "1"
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#copyright by monlor
|
||||||
source /etc/mixbox/bin/base
|
source /etc/mixbox/bin/base
|
||||||
eval `mbdb export ngrok`
|
eval `mbdb export ngrok`
|
||||||
|
|
||||||
|
|||||||
BIN
appsbin/frp-bin/0.31.2/frpc_darwin_x86_64
Executable file
BIN
appsbin/frp-bin/0.31.2/frpc_darwin_x86_64
Executable file
Binary file not shown.
BIN
appsbin/frp-bin/0.31.2/frpc_linux_arm
Executable file
BIN
appsbin/frp-bin/0.31.2/frpc_linux_arm
Executable file
Binary file not shown.
BIN
appsbin/frp-bin/0.31.2/frpc_linux_mips
Executable file
BIN
appsbin/frp-bin/0.31.2/frpc_linux_mips
Executable file
Binary file not shown.
BIN
appsbin/frp-bin/0.31.2/frpc_linux_x86_64
Executable file
BIN
appsbin/frp-bin/0.31.2/frpc_linux_x86_64
Executable file
Binary file not shown.
Reference in New Issue
Block a user