{"id":16129684,"url":"https://github.com/nxhack/openwrt-gl-mt300n-v2-build","last_synced_at":"2025-03-16T09:32:16.370Z","repository":{"id":60574990,"uuid":"186958871","full_name":"nxhack/openwrt-gl-mt300n-v2-build","owner":"nxhack","description":"Build OpenWrt generic firmware for GL.iNet GL-MT300N-V2 + GL-MT6000 + GL-MT2500","archived":false,"fork":false,"pushed_at":"2024-11-17T08:37:33.000Z","size":5593,"stargazers_count":31,"open_issues_count":5,"forks_count":10,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T06:13:06.900Z","etag":null,"topics":["gl-inet","openwrt","openwrt-router"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nxhack.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-16T05:41:18.000Z","updated_at":"2024-12-01T10:51:52.000Z","dependencies_parsed_at":"2024-02-18T07:31:48.979Z","dependency_job_id":"d18217c8-f7c6-403f-bb16-195e29a72ac4","html_url":"https://github.com/nxhack/openwrt-gl-mt300n-v2-build","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/nxhack%2Fopenwrt-gl-mt300n-v2-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-gl-mt300n-v2-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-gl-mt300n-v2-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxhack%2Fopenwrt-gl-mt300n-v2-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxhack","download_url":"https://codeload.github.com/nxhack/openwrt-gl-mt300n-v2-build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809844,"owners_count":20351406,"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":["gl-inet","openwrt","openwrt-router"],"created_at":"2024-10-09T22:11:58.498Z","updated_at":"2025-03-16T09:32:16.024Z","avatar_url":"https://github.com/nxhack.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenWrt mocha firmware for GL.iNet GL-MT300N-V2\n\n## Description\n[GL.iNet](https://www.gl-inet.com/) [GL-MT300N-V2](https://www.gl-inet.com/products/gl-mt300n-v2/) is cheap Wi-Fi router. However, it is good hardware that OpenWrt works easily.\n\n## Reference\n- [Hardware Specification](https://docs.gl-inet.com/en/3/hardware/mt300n-v2/)\n- [OpenWrt](https://openwrt.org/toh/hwdata/gl.inet/gl.inet_gl-mt300n_v2)\n- [OpenWrt:Techdata](https://openwrt.org/toh/gl.inet/gl-mt300n_v2)\n\n## Build\nBuild firmware on **your Docker environment.**\n\n```bash\nmkdir Build_Path_Some_Where\ncd Build_Path_Some_Where\ngit clone https://github.com/nxhack/openwrt-gl-mt300n-v2-build.git\ncd openwrt-gl-mt300n-v2-build\ndocker build -t gl:1 .\ndocker run -it gl:1\ncd openwrt\n./build.sh\n```\n**It will take several hours.**\n\n## Setup\n### Shadowsocks\n- [forward all](https://github.com/openwrt/packages/tree/master/net/shadowsocks-libev#recipes)\n- [SIP003 plugin based on v2ray](https://github.com/shadowsocks/v2ray-plugin)\n- [v2ray-plugin OpenWrt custom package](https://github.com/nxhack/openwrt-custom-packages/tree/master/v2ray-plugin)\n\n### DNS over TLS\n- [stubby](https://openwrt.org/docs/guide-user/services/dns/stubby)\n- [Privacy-Protecting Portable Router: Adding DNS-Over-TLS support to OpenWRT (LEDE) with Unbound](https://blog.cloudflare.com/dns-over-tls-for-openwrt/)\n- [Configuring DNS over TLS with LuCI using Stubby and Dnsmasq](https://forum.openwrt.org/t/tutorial-no-cli-configuring-dns-over-tls-with-luci-using-stubby-and-dnsmasq/29143)\n\n\n### TCP BBR\n```\nCONFIG_PACKAGE_kmod-sched=y\nCONFIG_PACKAGE_kmod-tcp-bbr=y\n```\n\n```bash\nsysctl -w net.ipv4.tcp_congestion_control=bbr\nsysctl -w net.core.default_qdisc=fq\n```\n\n### TCP FAST OPEN\n```bash\nsysctl -w net.ipv4.tcp_fastopen=3\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxhack%2Fopenwrt-gl-mt300n-v2-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxhack%2Fopenwrt-gl-mt300n-v2-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxhack%2Fopenwrt-gl-mt300n-v2-build/lists"}