添加强制断开链接

This commit is contained in:
qaq
2025-06-30 17:03:11 +08:00
parent 34b943d673
commit bdaca235fb
8 changed files with 14 additions and 15 deletions
-1
View File
@@ -174,7 +174,6 @@ build/
*.dll
*.so
*.dylib
gost
your_app.exe
# Go 测试二进制文件
+1 -1
View File
@@ -75,7 +75,7 @@
不在提供gitee 自行解决github访问问题
```bash
curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
```
Executable
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
# 下载地址
DOWNLOAD_URL="https://github.com/bqlpfy/forward-panel/releases/download/gost/gost"
DOWNLOAD_URL="https://file.tes.cc/bqlpfy/forward-panel/releases/download/gost/gost"
INSTALL_DIR="/etc/gost"
# 显示菜单
+3 -3
View File
@@ -6,9 +6,9 @@ export LANG=en_US.UTF-8
export LC_ALL=C
# 全局下载地址配置
DOCKER_COMPOSEV4_URL="https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v4.yml"
DOCKER_COMPOSEV6_URL="https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v6.yml"
GOST_SQL_URL="https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/gost.sql"
DOCKER_COMPOSEV4_URL="https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v4.yml"
DOCKER_COMPOSEV6_URL="https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v6.yml"
GOST_SQL_URL="https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/gost.sql"
# 根据IPv6支持情况选择docker-compose URL
get_docker_compose_url() {
@@ -322,7 +322,7 @@ public class NodeServiceImpl extends ServiceImpl<NodeMapper, Node> implements No
StringBuilder command = new StringBuilder();
// 第一部分:下载安装脚本
command.append("curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/install.sh")
command.append("curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/install.sh")
.append(" -o ./install.sh && chmod +x ./install.sh && ");
// 处理服务器地址,如果是IPv6需要添加方括号
+4 -4
View File
@@ -48,7 +48,7 @@ journalctl -u gost -f
当您需要更新到最新版本时,使用安装脚本的更新功能:
```bash
curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
```
运行脚本后,在菜单中选择 **2. 更新面板**
@@ -80,7 +80,7 @@ curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/p
如果需要完全移除面板:
```bash
curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
```
运行脚本后,在菜单中选择 **3. 卸载面板**,然后输入 **y** 确认卸载
@@ -113,7 +113,7 @@ curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/p
在节点服务器上更新 GOST 程序:
```bash
curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh
curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh
```
运行脚本后,在菜单中选择 **2. 更新**
@@ -124,7 +124,7 @@ curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/i
完全移除节点上的 GOST 程序:
```bash
curl -L https://raw.githubusercontent.com/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh
curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/install.sh -o install.sh && chmod +x install.sh && ./install.sh
```
运行脚本后,在菜单中选择 **3. 卸载**,然后输入 **y** 确认卸载
+4 -4
View File
@@ -22,7 +22,7 @@
我们提供了交互式安装脚本,会自动检测系统环境并引导您完成配置:
```bash
curl -L https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
curl -L https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/panel_install.sh -o panel_install.sh && chmod +x panel_install.sh && ./panel_install.sh
```
### 安装流程说明
@@ -67,13 +67,13 @@ curl -L https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/panel_instal
```bash
# 下载 docker-compose 配置(IPv4)
curl -L -o docker-compose.yml https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v4.yml
curl -L -o docker-compose.yml https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v4.yml
# 或下载 IPv6 配置
curl -L -o docker-compose.yml https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/docker-compose-v6.yml
curl -L -o docker-compose.yml https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/docker-compose-v6.yml
# 下载数据库初始化文件
curl -L -o gost.sql https://github.com/bqlpfy/forward-panel/raw/refs/heads/main/gost.sql
curl -L -o gost.sql https://file.tes.cc/bqlpfy/forward-panel/refs/heads/main/gost.sql
```
### 2. 创建环境配置