相关文章推荐
  1. 如果从 上一篇 结尾处过来,请从1开始;
  2. 如果已经安装好v2ray-core(-mini),请从6开始;
  1. 下载v2ray的luci-app插件:
    https://github.com/kuoruan/luci-app-v2ray/releases
  2. 下载v2ray-core核心组件:
    https://github.com/kuoruan/openwrt-v2ray/releases
    (如果/挂载点的可用空间低于32MB,建议使用v2ray-core-mini版本,再手动拷贝 geoip.dat geosite.dat /usr/bin/ 下)
    这里分享一个小技巧,在不知道路由器具体架构的情况下,可以通过SSH登录到路由器中,执行 opkg print-architecture 查看已安装的应用是面向什么架构的,从而反推出本机的CPU架构,如我本机的示例如下,由此可得应该下载 mipsel_24kc 架构的版本:
		~# opkg print-architecture
		arch all 1
		arch noarch 1
		arch mipsel_24kc 10
  1. 不要使用路由器管理页面自带的Upload功能安装;将下载的IPK文件通过scp拷贝到路由器中:
    scp luci-app-v2ray_2.0.0-1_all.ipk root@192.168.1.1:/tmp/
    scp v2ray-core_4.40.1-1_mipsel_24kc.ipk root@192.168.1.1:/tmp/
    (具体的文件名与目标IP地址根据实际情况修改)
  2. SSH登录到路由器,并依次执行如下命令:
    opkg update
    opkg remove dnsmasq
    opkg install /tmp/luci-app-v2ray_2.0.0-1_all.ipk
    opkg install /tmp/v2ray-core_4.40.1-1_mipsel_24kc.ipk
    如果安装过程中发现如下报错信息,则需要再执行一下mv /etc/config/dhcp-opkg /etc/config/dhcp
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/dhcp is different from the conffile in the new package. The new conffile will be placed at /etc/config/dhcp-opkg.
root@OpenWrt:~# mv /etc/config/dhcp-opkg /etc/config/dhcp
  1. 重启路由器
  2. 登录账号后可以看到顶部导航栏多了一个Services(服务):
    在这里插入图片描述
    在这里插入图片描述
  3. 配置如图:
    Global Settings
    在这里插入图片描述
    Inbound -> dokodemo_door
    在这里插入图片描述
    Outbound -> vmess
    在这里插入图片描述
    Transparent Proxy
    在这里插入图片描述
  4. 添加防火墙规则
    Network -> Firewall -> Traffic Rules -> Add
    在这里插入图片描述
  5. 重新启动V2Ray即可;
SD卡驱动、USB 2.0 驱动 固件教程 将 HC5861-uboot.bin 和 XXXXXX-openwrt-ramips-mt7620-hiwifi-hc5861-squashfs-sysupgrade.bin 上传到路由器 /tmp 目录中 将U-boot替换成解锁版 mtd wri 传统的Linux操作系统在编译某一个软件的时候,会检查其依赖软件及头文件是否存在,如果没有安装,则会报缺少头文件或缺少链接库等错误,编译将退出。install:安装软件包以及它所依赖的软件包,从feeds目录安装到package目录,即在“package/feeds”目录创建软件包的软链接。feeds代码处理过程是这样的:这个命令首先读取并解析feeds.conf配置文件,然后执行相应的命令,例如install时,将安装应用程序包和它所有直接或间接依赖的所有软件包。-a表示更新所有的软件包。 1、准备 OpenWrt 镜像包,我已经转好了 vmdk 格式的,更多的可以去。6、一直下一步至,这里选择 "使用现在虚拟磁盘",选择vmdk格式的。(4)切换基本设置,选择一个节点,点击勾选 主开关,保存成功。切换节点订阅,拉下最下面,点击 “添加”,然后保存并应用。5、一直下一步至,这里选择 NAT 方式。7、启动系统,密码默认为空,修改网卡地址。(2)点击手动订阅,查看所有节点。3、创建虚拟机,选择自定义方式。10、设置 PassWall。2、网络选择 NAT 模式。9、进入系统,默认为空。 * resolve_conffiles: Existing conffile /etc/config/dhcp is different from the conffile in the new package. The new conffile will be placed at /etc/config/dhcp-opkg.这个提示是正常的,是配置文件冲突,保留了原来的配置而已,... 基本配置其实路由4、路由4 pro、路由B70都是一个型号的(HC5962)CPU:Barrier Breaker 14.07版本)CPU是ramips架构的,常用于嵌入式设备如路由器。cpu架构的还有x86、ARM等,x86就是我们常用的台式机、服务器、笔记本电脑的架构,ARM即手机用的架构。安装python步骤其实自己重OpenWrt固件也是可以的,但毕竟会有变砖的风险,另外官方固件挺... https://github.com/ntlf9t/openwrt_oscamhttps://github.com/ntlf9t/luci-app-oscamhttps://github.com/hyeos/luci-app-syncdial-1https://github.com/hyeos/luci-app-ssr-plushttps://github.com/hyeos/smartdnsht... https://github.com/ntlf9t/openwrt_oscam https://github.com/ntlf9t/luci-app-oscam https://github.com/hyeos/luci-app-syncdial-1 https://github.com/hyeos/luci-app-ssr-plus https://github.com/hyeos/smartd...
 
推荐文章