{"id":13776020,"url":"https://github.com/masssmith/smgate","last_synced_at":"2025-05-11T08:34:40.045Z","repository":{"id":53520173,"uuid":"199265926","full_name":"MassSmith/smgate","owner":"MassSmith","description":"用树莓派做v2ray透明翻墙网关","archived":false,"fork":false,"pushed_at":"2019-10-24T04:55:52.000Z","size":310,"stargazers_count":136,"open_issues_count":5,"forks_count":23,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-17T11:47:39.673Z","etag":null,"topics":["gateway","proxy","raspberry-pi","transparentproxy","v2ray","v2ray-gui","v2ray-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MassSmith.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-28T09:13:24.000Z","updated_at":"2024-08-27T11:33:48.000Z","dependencies_parsed_at":"2022-09-18T03:32:29.995Z","dependency_job_id":null,"html_url":"https://github.com/MassSmith/smgate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassSmith%2Fsmgate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassSmith%2Fsmgate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassSmith%2Fsmgate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MassSmith%2Fsmgate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MassSmith","download_url":"https://codeload.github.com/MassSmith/smgate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253540617,"owners_count":21924522,"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":["gateway","proxy","raspberry-pi","transparentproxy","v2ray","v2ray-gui","v2ray-plugin"],"created_at":"2024-08-03T17:01:57.640Z","updated_at":"2025-05-11T08:34:39.801Z","avatar_url":"https://github.com/MassSmith.png","language":"Shell","funding_links":[],"categories":["\u003ca id=\"d03d494700077f6a65092985c06bf8e8\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"dbc310300d300ae45b04779281fe6ec8\"\u003e\u003c/a\u003eV2Ray"],"readme":"使用方法，路由器局域网ip设置为192.168.99.1，关闭路由器LAN口的dhcp功能。将设置好的树莓派用网线连接路由器上去。即可。\n推荐使用一个单独的路由器，做为从路由配合树莓派使用。路由器性能不做要求，能正常使用就可。\n\n特别注意：连接到此路由器的设备网络连接属性设置必须为自动获取DNS，网关，和IP地址\n\n使用效果，树莓派与路由器组成透明翻墙网关，只要是连接到这个路由中的设备，自动翻墙，无需再安装设置翻墙软件。本例所配置的json为白名单。\n使用v2ray自带的国内IP列表与国内常用网站domain列表。列表中的网站与IP直连。不在列表中的走代理网络。DNS使用v2ray内置查询，国内外网站自动分流。\n\n---------------------安装步骤--------------------------------\n\nhttps://github.com/MassSmith/smgate/wiki\n\n如果不想按上述教程安装，这里是已经安装好的系统镜像。\n\nhttps://raw.githubusercontent.com/MassSmith/smgate/master/v2raygate.imz\n\n镜像使用方法：\n\n1。写入到TF卡。\n\n2。TF卡插入树莓派，用网线与路由器连接好。路由器能正常联网。\n\n3。进入路由器，设置LAN口IP地址为：192.168.99.1。关闭LAN口的DHCP功能。\n\n4。启动树莓派，重新启动路由器。其它设备连接路由器。即可。\n\n5。镜像内自带一个v2ray节点，仅供参考与测试用，不做任何保证。随时可能关闭或被封掉。正常使用，请更换为自己的v2ray节点。\n\n镜像说明：\n\n以debian 9制作，集成了V2ray.Fun（项目地址：https://github.com/FunctionClub/V2ray.Fun ）可用web网页进行修改v2ray节点。原项目是用于远程服务端，于是做了修改，专用于树莓派网关。感谢V2ray.Fun的作者。\n\n镜像运行WEB界面：\n\n![1.png](1.png)\n\n![2.png](2.png)\n\n![3.png](3.png)\n\n-------------------------------添加订阅的格式文件示例--------------------------------\n\n以下linux系统中操作命令，windows可使用Zip软件，注意：文件名不能变，网址和验证码可以变为自己的：\n\nzip -P 999999999 subscribe.list.zip subscribe.list\n\nhttps://github.com/MassSmith/smgate/raw/master/subscribe.list.zip\n\n验证码：999999999\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasssmith%2Fsmgate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasssmith%2Fsmgate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasssmith%2Fsmgate/lists"}