说明:老毛子系统路由器使用v2ray科学上网的配置方法。本文使用新路由3 h大的最新版固件 配置前请确认节点状态可用。

导出节点

1.在电脑上将正常的节点导出为客户端json
TIM截图20190607105234.png
2.修改json第10行"listen"为路由器的管理地址
TIM截图20190607105402.png

路由器上v2ray设置

1.搭建Web环境==>v2ray==>v2ray proxy 开关 打开==>粘贴v2ray_config_script==>应用本页设置
TIM截图20190607105551.png

transocks设置

广告屏蔽功能==>transocks==>transocks 开关 打开
透明重定向的代理服务器IP、域名:路由器的管理IP
透明重定向的代理服务器端口:json文件第9行的端口
远端服务器IP、域名:v2ray节点的域名或者IP
TIM截图20190607111955.png

标签: 域名, 服务器, 路由器, json, 端口, 地址, v2ray, transocks

已有 16 条评论

  1. Yougie Yougie

    Sep 26 19:39:46 【v2ray】: 重启
    Sep 26 19:39:51 【v2ray】: /opt/ 在内存储存
    Sep 26 19:39:58 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Sep 26 19:39:58 【v2ray】: 运行 v2ray_script
    Sep 26 19:40:01 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
    Sep 26 19:40:07 【v2ray】: 错误! /opt/bin/v2ray_config.pb 内容为空, 10 秒后自动尝试重新启动
    Sep 26 19:40:21 【v2ray】: /opt/ 在内存储存
    Sep 26 19:40:28 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Sep 26 19:40:28 【v2ray】: 运行 v2ray_script
    Sep 26 19:40:31 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
    Sep 26 19:40:36 【v2ray】: 错误! /opt/bin/v2ray_config.pb 内容为空, 10 秒后自动尝试重新启动
    Sep 26 19:40:51 【v2ray】: /opt/ 在内存储存
    Sep 26 19:40:58 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Sep 26 19:40:58 【v2ray】: 运行 v2ray_script
    Sep 26 19:41:01 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
    Sep 26 19:41:06 【v2ray】: 错误! /opt/bin/v2ray_config.pb 内容为空, 10 秒后自动尝试重新启动
    Sep 26 19:41:16 【v2ray】: 多次尝试启动失败,等待【19分钟】后自动尝试重新启动
    求教大佬,这个怎么解决,希望得到您的回复,感谢!

  2. 小朱 小朱

    大佬,求助,一直说v2ray启动失败,日志如下
    Sep 13 04:21:01 【v2ray】: 启动失败,10 秒后自动尝试重新启动
    Sep 13 04:21:11 dnsmasq[11447]: exiting on receipt of SIGTERM
    Sep 13 04:21:11 dnsmasq[11559]: started, version 2.80 cachesize 1536
    Sep 13 04:21:11 dnsmasq[11559]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
    Sep 13 04:21:11 dnsmasq[11559]: warning: ignoring resolv-file flag because no-resolv is set
    Sep 13 04:21:11 dnsmasq-dhcp[11559]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
    Sep 13 04:21:11 dnsmasq-dhcp[11559]: DHCP, sockets bound exclusively to interface br0
    Sep 13 04:21:11 dnsmasq[11559]: using 5507 more nameservers
    Sep 13 04:21:11 dnsmasq[11559]: read /etc/hosts - 4 addresses
    Sep 13 04:21:11 dnsmasq[11559]: read /etc/storage/dnsmasq/hosts - 0 addresses
    Sep 13 04:21:11 dnsmasq-dhcp[11559]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
    Sep 13 04:21:11 dnsmasq[11559]: using 5508 more nameservers
    Sep 13 04:21:13 【v2ray】: /opt/ 在内存储存
    Sep 13 04:21:13 【v2ray】: 找到 /opt/bin/v2ray
    Sep 13 04:21:13 【v2ray】: 运行 v2ray_script
    Sep 13 04:21:17 【v2ray】: V2Ray 4.28.1 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.15.2 linux/mipsle)
    Sep 13 04:21:17 【v2ray】: A unified platform for anti-censorship.
    Sep 13 04:21:17 【v2ray】: main: failed to read config files: [/opt/bin/v2ray_config.pb] > proto: cannot parse reserved wire type
    Sep 13 04:21:19 dnsmasq[11559]: exiting on receipt of SIGTERM
    Sep 13 04:21:20 dnsmasq[11696]: started, version 2.80 cachesize 1536
    Sep 13 04:21:20 dnsmasq[11696]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
    Sep 13 04:21:20 dnsmasq[11696]: warning: ignoring resolv-file flag because no-resolv is set
    Sep 13 04:21:20 dnsmasq-dhcp[11696]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
    Sep 13 04:21:20 dnsmasq-dhcp[11696]: DHCP, sockets bound exclusively to interface br0
    Sep 13 04:21:20 dnsma

  3. 陈皮糖 陈皮糖

    Aug 16 20:47:26 【v2ray】: /opt/ 在内存储存
    Aug 16 20:47:33 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Aug 16 20:47:33 【v2ray】: 运行 v2ray_script
    Aug 16 20:47:37 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
    Aug 16 20:47:42 【v2ray】: 错误! /opt/bin/v2ray_config.pb 内容为空, 10 秒后自动尝试重新启动
    Aug 16 20:47:56 crond[2720]: crond (busybox 1.29.3) started, log level 8
    Aug 16 20:47:58 【v2ray】: /opt/ 在内存储存
    Aug 16 20:48:05 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Aug 16 20:48:05 【v2ray】: 运行 v2ray_script
    Aug 16 20:48:09 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
    Aug 16 20:48:13 【v2ray】: 错误! /opt/bin/v2ray_config.pb 内容为空, 10 秒后自动尝试重新启动
    Aug 16 20:48:23 【v2ray】: 多次尝试启动失败,等待【19分钟】后自动尝试重新启动

    1. Johnny Johnny

      您好,请问您现在是否解决了此问题

  4. webspider webspider

    一直卡在这一步了
    Aug 15 22:01:47 crond[23658]: crond (busybox 1.29.3) started, log level 8
    Aug 15 22:01:47 【transocks】: 找不到 /opt/bin/transocks,安装 opt 程序
    Aug 15 22:01:47 【opt】: opt 挂载正常:tmpfs
    Aug 15 22:01:47 【transocks】: 找不到 /opt/bin/transocks ,安装 transocks 程序
    Aug 15 22:01:47 【transocks】: 开始下载 transocks

  5. Aurora Aurora

    Aug 6 12:43:25 【v2ray】: /opt/ 在内存储存
    Aug 6 12:43:32 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Aug 6 12:43:32 【v2ray】: 运行 v2ray_script
    Aug 6 12:43:39 dnsmasq[31772]: exiting on receipt of SIGTERM
    Aug 6 12:43:39 dnsmasq[2060]: started, version 2.80 cachesize 1024
    Aug 6 12:43:39 dnsmasq[2060]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
    Aug 6 12:43:39 dnsmasq-dhcp[2060]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
    Aug 6 12:43:39 dnsmasq-dhcp[2060]: DHCP, sockets bound exclusively to interface br0
    Aug 6 12:43:39 dnsmasq[2060]: read /etc/hosts - 4 addresses
    Aug 6 12:43:39 dnsmasq[2060]: read /etc/storage/dnsmasq/hosts - 0 addresses
    Aug 6 12:43:39 dnsmasq-dhcp[2060]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
    Aug 6 12:43:39 【v2ray】: 启动成功 V2Ray 4.26.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.4 linux/mipsle)
    Aug 6 12:43:40 【v2ray】: 守护进程启动
    请问楼主能不能帮我看一下为什么还是连不上谷歌吗

  6. 单机侠 单机侠

    大佬,请看下列我的路由器日志:
    Jul 1 22:03:15 【vmess】: 开始生成vmess配置
    Jul 1 22:03:19 crond[24351]: crond (busybox 1.29.3) started, log level 8
    Jul 1 22:03:32 【vmess】: 方案三全局代理,全部IP走代理
    Jul 1 22:03:42 【vmess】: 完成!生成配置,请刷新web页面查看!(应用新配置需按F5)
    Jul 1 22:03:47 crond[26064]: crond (busybox 1.29.3) started, log level 8
    Jul 1 22:03:48 【v2ray】: /opt/ 在内存储存
    Jul 1 22:03:56 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
    Jul 1 22:03:56 【v2ray】: 运行 v2ray_script
    Jul 1 22:03:59 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
    Jul 1 22:04:10 dnsmasq[10624]: exiting on receipt of SIGTERM
    Jul 1 22:04:10 dnsmasq[26261]: started, version 2.80 cachesize 1024
    Jul 1 22:04:10 dnsmasq[26261]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua no-TFTP no-conntrack ipset no-auth no-DNSSEC no-loop-detect no-inotify no-dumpfile
    Jul 1 22:04:10 dnsmasq-dhcp[26261]: DHCP, IP range 192.168.123.2 -- 192.168.123.244, lease time 1d
    Jul 1 22:04:10 dnsmasq-dhcp[26261]: DHCP, sockets bound exclusively to interface br0
    Jul 1 22:04:10 dnsmasq[26261]: read /etc/hosts - 4 addresses
    Jul 1 22:04:10 dnsmasq[26261]: read /etc/storage/dnsmasq/hosts - 0 addresses
    Jul 1 22:04:10 dnsmasq-dhcp[26261]: read /etc/dnsmasq/dhcp/dhcp-hosts.rc
    Jul 1 22:04:10 【v2ray】: 启动成功 V2Ray 4.25.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.14.4 linux/mipsle)
    Jul 1 22:04:11 【v2ray】: 守护进程启动

    下一步我要在那打开才能科学上网?

    1. 用新版本的固件 新固件已经很简单了

      1. 单机侠 单机侠

        大佬,我的已经是3.4.3.9-099_20-07-1了,但每次开启v2ray的时候都会弹出以下错误,好烦啊。
        开始生成vmess配置
        Jul 4 10:18:05 【vmess】: 方案一chnroutes,国外IP走代理
        Jul 4 10:18:15 【vmess】: 完成!生成配置,请刷新web页面查看!(应用新配置需按F5)
        Jul 4 10:18:25 【v2ray】: /opt/ 在内存储存
        Jul 4 10:18:32 【v2ray】: 找到 /opt/bin/v2ray /opt/bin/v2ctl
        Jul 4 10:18:32 【v2ray】: 运行 v2ray_script
        Jul 4 10:18:36 【v2ray】: 配置文件转换 Protobuf 格式配置 /opt/bin/v2ray_config.pb
        Jul 4 10:18:42 【v2ray】: 错误! /opt/bin/v2ray_config.pb 内容为空, 10 秒后自动尝试重新启动
        Jul 4 10:18:52 【v2ray】: 多次尝试启动失败,等待【19分钟】后自动尝试重新启动

        1. 伊尔姆 伊尔姆

          我跟你一样 解决了吗?

  7. 123123 123123

    v2ray订阅地址 https://subscribe.fqvps.xyz

  8. Starlight Starlight

    博主开v2有出现找不到key说权限不足的问题吗,用的是ws+tls

    1. 用 mixbox 这个工具箱 方便很多

  9. wade wade

    [secret]为什么我也这样配置了,但是不成功呢。能否再详细一点。[/secret]

    1. 先确定你的节点可用。现在新版的老毛子可以直接导入节点了,更方便

添加新评论