使用Trojan作为代理,主要三个步骤
- 配置Trojan for padavan
- 配置config.josn
- 路由器客户端配置
下面是详细的操作。
1. 下载trojan for Padavan
https://github.com/maskedeken/trojan-gfw/releases/download/1.15.1/trojan-1.15.1-linux-mipsel.tar.gz
2. 解压trojan-1.15.1-linux-mipsel.tar.gz
3. 创建config.json配置文件
客户中心 - 产品详情中的单个节点的Trojan配置内容保存为 config.json
1 | { |
4. 打开路由器ssh连接
高级设置-系统管理-服务-终端服务
5. 上传程序和配置文件到路由器
Mac下打开terminal,执行下面两行命令。
1 | scp ./trojan-1.15/config.json admin@192.168.123.1:/etc/storage |
默认密码是admin
6. 启动程序
进入路由器/etc/storage目录,执行三行下面指令
1 | chmod 777 config.json |
启动成功后关闭terminal
7. 路由器客户端配置
扩展功能-广告屏蔽功能-transocks
参数设置如下图
fm1-4.sstr-api.xyz