Compare commits

...
5 Commits
Author SHA1 Message Date
V-LiuShuang 7ce698cf60 d 2026-10-19 11:23:32 +08:00
V-LiuShuang 6f31f52708 d 2026-10-19 11:16:11 +08:00
V-LiuShuang 2a52700fe0 d 2026-10-19 11:12:59 +08:00
V-LiuShuang 9612862f61 Merge branch 'main' of https://git.jkwlstv.cn/doc/docs 2026-10-19 11:09:48 +08:00
V-LiuShuang 59a8e5e16d add 2026-10-19 11:09:37 +08:00
+147 -50
View File
@@ -1,49 +1,13 @@
# 客户端下载 # 目录
| 系统 | 点击下载 | - [客户端下载](#客户端下载)
|:-----|:-----| - [配置订阅](#配置订阅)
| Windows |[x86](https://stf.jkwlstv.cn/app/cfw_x86.exe) [Arm](https://stf.jkwlstv.cn/app/cfw_arm.exe)| - [设置局域网代理](#设置局域网代理)
| Mac |[Intel](https://stf.jkwlstv.cn/app/cfm_intel.dmg) [Arm](https://stf.jkwlstv.cn/app/cfm_arm.dmg)|
| Android |[通用](https://stf.jkwlstv.cn/app/cmfa.apk)|
## 代理服务器设置 ## 配置订阅
### Linux ### Android
```bash
# 打开用户环境变量配置
nano ~/.bashrc
# 添加以下片段
export HTTP_PROXY="http://127.0.0.1:7890"
export HTTPS_PROXY="http://127.0.0.1:7890"
export http_proxy="http://127.0.0.1:7890"
export https_proxy="http://127.0.0.1:7890"
export NO_PROXY="localhost,127.0.0.1,::1,192.168.*,10.*,.jkwlstv.cn"
export no_proxy="localhost,127.0.0.1,::1,192.168.*,10.*,.jkwlstv.cn"
```
### Git
```bash
# 设置
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
# 查看
git config --global --get http.proxy
git config --global --get https.proxy
```
### Windows
```text
以Windows 11举例:使用 Win + I 快捷键打开设置,搜索"代理服务器"。
点击"代理服务器设置"或者"更改手动代理服务器设置",在"使用代理服务器"行点击编辑。
点亮"使用代理服务器"开关,代理IP地址:"127.0.0.1",端口:"7890"。
在"请勿对以下条目开头的地址使用代理服务器"输入框中粘贴以下内容:
localhost;127.*;192.168.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.21.*;172.22.*;172.23.*;172.24.*;172.25.*;172.26.*;172.27.*;172.28.*;172.29.*;172.30.*;172.31.*;.jkwlstv.cn
```
## Android
<div style="display: flex; flex-wrap: wrap; gap: 10px;"> <div style="display: flex; flex-wrap: wrap; gap: 10px;">
<img src="./img/cfa-1.png" width="48%"> <img src="./img/cfa-1.png" width="48%">
<img src="./img/cfa-2.png" width="48%"> <img src="./img/cfa-2.png" width="48%">
@@ -52,7 +16,7 @@ localhost;127.*;192.168.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.
<img src="./img/cfa-5.png" width="48%"> <img src="./img/cfa-5.png" width="48%">
</div> </div>
## iOS ### iOS
需要切换到美区 App Store 下载安装 **Potatso** 这款 APP,所以需要先注册一个美区的 Apple ID。 需要切换到美区 App Store 下载安装 **Potatso** 这款 APP,所以需要先注册一个美区的 Apple ID。
@@ -62,7 +26,9 @@ localhost;127.*;192.168.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.
Potatso 是**免费**的,不差钱可以用 Shadowrocket。 Potatso 是**免费**的,不差钱可以用 Shadowrocket。
## Mac/Win ### PC
以clash-verge-rev举例:
### 添加订阅 ### 添加订阅
<img src="./img/clash-pc-1.png" width="70%"> <img src="./img/clash-pc-1.png" width="70%">
@@ -75,7 +41,7 @@ Potatso 是**免费**的,不差钱可以用 Shadowrocket。
<img src="./img/clash-pc-4.png" width="70%"> <img src="./img/clash-pc-4.png" width="70%">
<img src="./img/clash-pc-5.png" width="70%"> <img src="./img/clash-pc-5.png" width="70%">
## Docker ### Docker
```bash ```bash
# 创建主目录 # 创建主目录
@@ -92,7 +58,7 @@ mkdir data && cd data
wget https://stf.jkwlstv.cn/app/Country.mmdb wget https://stf.jkwlstv.cn/app/Country.mmdb
``` ```
### 目录结构 目录结构:
```text ```text
clash/ clash/
@@ -102,7 +68,7 @@ clash/
└── docker-compose.yaml └── docker-compose.yaml
``` ```
### docker-compose.yaml docker-compose.yaml:
```yaml ```yaml
services: services:
@@ -121,9 +87,7 @@ services:
- TZ=Asia/Shanghai - TZ=Asia/Shanghai
``` ```
### config.yaml config.yaml示例:
**这是示例,真实有效的文件需要找群主要。**
```yaml ```yaml
port: 7890 port: 7890
@@ -282,4 +246,137 @@ rules:
- GEOIP,LAN,DIRECT - GEOIP,LAN,DIRECT
- GEOIP,CN,DIRECT - GEOIP,CN,DIRECT
- MATCH,DIRECT - MATCH,DIRECT
```
## 客户端下载
| 系统 | 点击下载 |
|:-----|:-----|
| Windows |[x86](https://stf.jkwlstv.cn/app/cfw_x86.exe) [Arm](https://stf.jkwlstv.cn/app/cfw_arm.exe)|
| Mac |[Intel](https://stf.jkwlstv.cn/app/cfm_intel.dmg) [Arm](https://stf.jkwlstv.cn/app/cfm_arm.dmg)|
| Android |[通用](https://stf.jkwlstv.cn/app/cmfa.apk)|
## 设置局域网代理
### Linux
```bash
# 打开用户环境变量配置
nano ~/.bashrc
# 添加以下片段
export HTTP_PROXY="http://127.0.0.1:7890"
export HTTPS_PROXY="http://127.0.0.1:7890"
export http_proxy="http://127.0.0.1:7890"
export https_proxy="http://127.0.0.1:7890"
export NO_PROXY="localhost,127.0.0.1,::1,192.168.*,10.*,.jkwlstv.cn"
export no_proxy="localhost,127.0.0.1,::1,192.168.*,10.*,.jkwlstv.cn"
```
### Git
```bash
# 设置
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890
# 查看
git config --global --get http.proxy
git config --global --get https.proxy
```
### Windows
1. 以Windows 11举例:使用 Win + I 快捷键打开设置,搜索"代理服务器"。
2. 点击"代理服务器设置"或者"更改手动代理服务器设置",在"使用代理服务器"行点击编辑。
3. 点亮"使用代理服务器"开关,代理IP地址:"127.0.0.1",端口:"7890"。
4. 在"请勿对以下条目开头的地址使用代理服务器"输入框中粘贴以下内容:
```text
localhost;127.*;192.168.*;10.*;172.16.*;172.17.*;172.18.*;172.19.*;172.20.*;172.21.*;172.22.*;172.23.*;172.24.*;172.25.*;172.26.*;172.27.*;172.28.*;172.29.*;172.30.*;172.31.*;.jkwlstv.cn
```
### Docker(Linux)
**前提条件**:以root用户建立ssh连接。
1. 创建`docker.service.d`配置文件。
```bash
sudo mkdir -p /etc/systemd/system/docker.service.d
```
2. 把下面的片段复制到文本编辑器后把`192.168.31.9:7890`替换成运行clash的HOST局域网IP,如果是本机运行的clash就填`127.0.0.1:7890`。
```
[Service]
Environment="HTTP_PROXY=http://192.168.31.9:7890"
Environment="HTTPS_PROXY=http://192.168.31.9:7890"
Environment="NO_PROXY=localhost,127.0.0.1"
```
复制、粘贴并保存至此文件:
```bash
sudo vi /etc/systemd/system/docker.service.d/http-proxy.conf
```
3. 重载 docker 守护进程。
```bash
sudo systemctl daemon-reload
```
4. 重启 docker。
```bash
sudo systemctl restart docker
```
5. 验证代理配置是否生效。
```bash
sudo systemctl show --property=Environment docker
```
### Docker(群晖)
**前提条件**:以root用户建立ssh连接。
1. 创建`docker.service.d`配置文件。
```bash
mkdir -p /etc/systemd/system/pkg-ContainerManager-dockerd.service.d
```
2. 把下面的片段复制到文本编辑器后把`192.168.31.9:7890`替换成运行clash的HOST局域网IP,如果是本机运行的clash就填`127.0.0.1:7890`。
```
[Service]
Environment="HTTP_PROXY=http://192.168.31.9:7890"
Environment="HTTPS_PROXY=http://192.168.31.9:7890"
Environment="NO_PROXY=localhost,127.0.0.1"
```
复制、粘贴并保存至此文件:
```bash
vi /etc/systemd/system/pkg-ContainerManager-dockerd.service.d/http-proxy.conf
```
3. 重载 docker 守护进程。
```bash
systemctl daemon-reload
```
4. 重启 docker。
```bash
systemctl restart pkg-ContainerManager-dockerd.service
```
5. 验证代理配置是否生效。
```bash
systemctl show --property=Environment pkg-ContainerManager-dockerd.service
``` ```