[新设备] GL-XE300新路由器来用4G/有线/无线中继上网+科学上网
date
Jan 6, 2022
slug
新设备-科学上网-4G卡路由器打开即可翻墙-Glinet
status
Published
summary
直连4G移动路由器的wifi即可做到科学上网 - 可以根据目标IP是否海外决定自动翻墙
tags
新设备
科学上网
router
type
Post
介绍进入界面,修改wifi和管理密码,开启luci(才有ssh)luci管理界面 - http://192.168.8.1/#/luciShadowSocksR - 下载并安装对应的插件ipkShadowSocksR Plus的设置界面安装ShellClash拓展存储卡 - 最多512GB截屏ssh错误出国后暂时停止翻墙回国后开启自动翻墙

介绍
- CPU 是QCA9531,所以是mips_24kc (mips 32bit - softfloat) 不带FPU (硬浮点)
进入界面,修改wifi和管理密码,开启luci(才有ssh)
luci管理界面 - http://192.168.8.1/#/luci


ShadowSocksR - 下载并安装对应的插件ipk



# 开启luci后,ssh到路由器
ssh root@192.168.8.1
mkdir -p /tmp/tmp/ssr
exit
scp /Path/GL-XE300_SSRP/*.ipk root@192.168.8.1:/tmp/tmp/ssr/
ssh root@192.168.8.1
cd /tmp/tmp/ssr && opkg update && opkg install *
# 中间搞定libustream-openssl的幺蛾子
opkg install *
opkg install luci-compat
# relog in luci or reboot
ShadowSocksR Plus的设置界面
- 在Services下面



安装ShellClash
ssh root@192.168.8.1
cd /tmp
sh -c "$(curl -kfsSl https://cdn.jsdelivr.net/gh/juewuy/ShellClash@master/install.sh)" && source /etc/profile &> /dev/null
# 选择fake-ip模式
# 设置本机代理服务: 已开启 ————使本机流量经过clash内核
# 开机自动启动
# 每天自动更新订阅并重启


拓展存储卡 - 最多512GB
截屏

ssh错误
# 在 ~/.ssh/config 添加这部分
Host 192.168.8.1
IdentityFile ~/.ssh/id_rsa
IdentitiesOnly yes
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
出国后暂时停止翻墙
ssh root@192.168.8.1
clash
# 选4,禁用 开机启动
# 选3,停止clash
回国后开启自动翻墙
ssh root@192.168.8.1
clash
# 选4,开启 开机自动启动
# 选1,这次手动起动
# 打开验证 http://192.168.8.1:9999/ui
