{"id":13776027,"url":"https://github.com/kyonli/asuswrt-v2ray","last_synced_at":"2025-05-11T08:34:43.991Z","repository":{"id":83164109,"uuid":"128284718","full_name":"KyonLi/asuswrt-v2ray","owner":"KyonLi","description":"Transparent proxy based on V2Ray","archived":true,"fork":false,"pushed_at":"2018-08-31T05:57:46.000Z","size":136,"stargazers_count":37,"open_issues_count":0,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T17:12:27.146Z","etag":null,"topics":["asuswrt","proxy","v2ray"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KyonLi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-06T01:43:37.000Z","updated_at":"2024-05-17T14:26:06.000Z","dependencies_parsed_at":"2024-01-07T22:48:29.105Z","dependency_job_id":"1156d02c-1b44-4270-b7d0-5fd881bffe72","html_url":"https://github.com/KyonLi/asuswrt-v2ray","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyonLi%2Fasuswrt-v2ray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyonLi%2Fasuswrt-v2ray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyonLi%2Fasuswrt-v2ray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KyonLi%2Fasuswrt-v2ray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KyonLi","download_url":"https://codeload.github.com/KyonLi/asuswrt-v2ray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225031456,"owners_count":17410077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["asuswrt","proxy","v2ray"],"created_at":"2024-08-03T17:01:57.815Z","updated_at":"2024-11-17T11:30:56.522Z","avatar_url":"https://github.com/KyonLi.png","language":"Shell","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"dbc310300d300ae45b04779281fe6ec8\"\u003e\u003c/a\u003eV2Ray"],"readme":"# asuswrt-v2ray\n使用V2Ray在华硕官方固件AsusWRT实现GFWList模式的透明代理\n\n## 运行环境\n* 华硕官方固件AsusWRT\n\n* 已激活USB应用（比如Download Master），可以使用`ipkg`命令（如不需要可以在激活后卸载）\n\n* 路由器架构满足V2Ray要求\n\n__已在 RT-AC86U(3.0.0.4.384.20467) \u0026 newifi mini(RT-AC1200HP fw 3.0.0.4.380.8228) 测试通过__\n\n## 预置规则说明\npkg_file/opt/bin/v2ray/geosite.dat 中预置两个域名表：`gfw`和`googlecn`，`googlecn`为白名单直连，优先级高于`gfw`；\n\n`googlecn`使用 @felixonmars 的 [dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list) 中Google部分。\n\n可以使用 @onplus 的 [v2ray-SiteDAT](https://github.com/onplus/v2ray-SiteDAT) 生成自己的geosite.dat\n\n## 使用方法\n1. 从 [GitHub Releases](https://github.com/KyonLi/asuswrt-v2ray/releases) 下载预构建ipk包\n\n2. 将下载的v2ray_*version*_*architecture*.ipk放入U盘，ssh执行\n```bash\nipkg update\nipkg install v2ray_[version]_[architecture].ipk\n```\n\n3. 编辑/opt/etc/v2ray/config.json，在`outboundDetour`填入自己的服务器信息\n\n4. 重启路由器生效，或运行 `/opt/etc/init.d/S60v2ray start` `/opt/etc/init.d/S60v2ray firewall-start` 手动开启。\n\n## 进阶：手动构建ipk软件包\n1. 将项目源码下载到本地\n```bash\ngit clone https://github.com/KyonLi/asuswrt-v2ray.git\n```\n\n2. 从 [V2Ray Releases](https://github.com/v2ray/v2ray-core/releases) 下载v2ray-linux-*.zip，将其中的v2ray和v2ctl放到pkg_file/opt/bin/v2ray/目录\n\n2. 编辑pkg_file/CONTROL/control：`Architecture`和`Version`与v2ray对应\n\n3. 安装 [ipkg-utils](http://downloads.buffalo.nas-central.org/ArchIndependent/Sources/ipkg-utils-050831.tar.gz)，使用ipkg-build生成v2ray_*version*_*architecture*.ipk\n```bash\nipkg-build -c -o admin -g root \u003cpkg_file目录所在路径\u003e [\u003cipk包生成路径\u003e]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyonli%2Fasuswrt-v2ray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyonli%2Fasuswrt-v2ray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyonli%2Fasuswrt-v2ray/lists"}