ランキングに戻る

taamarin/box_for_magisk

Shellt.me/nothing_taamarin

Transparent Proxy for Android(root)

clashmagisk-moduleshell-scriptssing-boxv2rayxrayandroidhysteriahysteria2mihomoroottunnel
スター成長
スター
2.5k
フォーク
277
週間成長
Issue
82
1k2k
2022年11月2024年1月2025年4月2026年7月
README

Box for Root

ID EN ZH

BOX
BOX

Transparent Proxy for Android (Root)

Introduction

Box for Root (BFR) is a Magisk, KernelSU, APatch, module that provides a suite of proxy tools, including clash, sing-box, v2ray, hysteria and xray. It allows you to configure a transparent proxy on Android devices with root access.

Features

  • Support for multiple proxy tools: clash, sing-box, v2ray, hysteria, and xray.
  • Transparent proxy for Android with root access.
  • Seamless integration with Magisk, KernelSU, and APatch.
  • Manage proxy services with ease.

Apk Manager

You can use the BFR Manager app (optional) to manage Box for Root on your device. Download BFR Manager

⚠️ If you receive continuous notifications, open Magisk Manager, navigate to SuperUser, search for BoxForRoot, and disable logs and notifications.

Module Directory

The core files of the module are stored in the following directories:

  • MODDIR=/data/adb/box
  • MODLOG=/data/adb/box/run
  • SETTINGS=/data/adb/box/settings.ini

⚠️ Before editing the settings.ini file located at /data/adb/box/settings.ini, ensure that BFR is turned off to avoid configuration issues.

Manage Service Start/Stop

The following core services are collectively referred to as BFR. By default, the BFR service auto-starts after a system boot. You can manage the service through Magisk/KernelSU Manager App, with the service start taking a few seconds, and stopping it taking effect immediately.

To start the service:

su -c /data/adb/box/scripts/box.service start && su -c /data/adb/box/scripts/box.iptables enable

To stop the service:

su -c /data/adb/box/scripts/box.iptables disable && su -c /data/adb/box/scripts/box.service stop

Here are some additional instructions:

  • When modifying any of the core configuration files, ensure that the tproxy-related configurations match the definitions in the /data/adb/box/settings.ini file.
  • If your device has a public IP address, you can add that IP address to the internal network in the /data/adb/box/scripts/box.iptables file to prevent loopback traffic.
  • The logs for the BFM service can be found in the directory /data/adb/box/run.
  • Please note that modifying these files requires appropriate permissions. Make sure to carefully follow the instructions and validate any changes made to the configuration files.

You can run the following command to get other related operating instructions:

  su -c /data/adb/box/scripts/box.tool
  # usage: {check|geosub|geox|subs|upkernel|upxui|upyq|upcurl|reload|all}
  su -c /data/adb/box/scripts/box.service
  # usage: $0 {start|stop|restart|status|cron|kcron}
  su -c /data/adb/box/scripts/box.iptables
  # usage: $0 {enable|disable|renew}

Uninstall

Remove the module from Magisk/KernelSU/APatch Manager and run the following command to wipe the data:

su -c rm -rf /data/adb/box
su -c rm -rf /data/adb/service.d/box_service.sh
su -c rm -rf /data/adb/modules/box_for_root

Credits

License

This project is licensed under the GPL-3.0 license - see the LICENSE file for details.

関連リポジトリ
clash-verge-rev/clash-verge-rev

A modern GUI client based on Tauri, designed to run in Windows, macOS and Linux for tailored proxy experience

TypeScriptnpmGNU General Public License v3.0clashclash-meta
clashverge.dev
133k9.6k
Alvin9999/new-pac

翻墙-科学上网、自由上网、免费科学上网、免费翻墙、fanqiang、油管youtube/视频下载、软件、VPN、一键翻墙浏览器,vps一键搭建翻墙服务器脚本/教程,免费shadowsocks/ss/ssr/v2ray/goflyway账号/节点,翻墙梯子,电脑、手机、iOS、安卓、windows、Mac、Linux、路由器翻墙、科学上网、youtube视频下载、youtube油管镜像/免翻墙网站、美区apple id共享账号、翻墙-科学上网-梯子

PythonPyPIfanqiangfree-ssr
59.2k9.8k
chen08209/FlClash

A multi-platform proxy client based on ClashMeta,simple and easy to use, open-source and ad-free.

DartGNU General Public License v3.0clashclash-meta
46.4k2.9k
hiddify/hiddify-app

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.

DartOtherproxysingbox
hiddify.com
31.6k2.9k
Z-Siqi/Clash-for-Windows_Chinese

clash for windows汉化版. 提供clash for windows的汉化版, 汉化补丁及汉化版安装程序

JavaScriptnpmclashwindows
28.4k3.2k
Loyalsoldier/clash-rules

🦄️ 🎃 👻 Clash Premium 规则集(RULE-SET),兼容 ClashX Pro、Clash for Windows 等基于 Clash Premium 内核的客户端。

GNU General Public License v3.0clashgeosite
27.7k2.2k
vernesong/OpenClash

A Clash Client For OpenWrt

HTMLMIT Licenseclashopenwrt
26.8k4k
mihomo-party-org/clash-party

:electron: Another Mihomo GUI.

TypeScriptnpmGNU General Public License v3.0clash-metamihomo
clashparty.org
25.6k2k
zzzgydi/clash-verge

A Clash GUI based on tauri. Supports Windows, macOS and Linux.

TypeScriptnpmrustclash
22k3.2k
Pawdroid/Free-servers

🚀 免费订阅地址,🚀 免费节点,🚀 6小时更新一次,共享节点,节点质量高可用,完全免费。免费clash订阅地址,免费翻墙、免费科学上网、免费梯子、免费ss/v2ray/trojan节点、谷歌商店、翻墙梯子。🚀 Free subscription address, 🚀 Free node, 🚀 Updated every 6 hours, shared node, high-quality node availability, completely free. Free clash subscription address, free ss/v2ray/trojan node.

shadowrocketshadowsocks
v2cross.com
18.3k1.2k
tindy2013/subconverter

Utility to convert between various subscription format

C++GNU General Public License v3.0clashclashr
16.9k3.8k
free-nodes/clashfree

clash节点、免费clash节点、免费节点、免费梯子、clash科学上网、clash翻墙、clash订阅链接、clash for Windows、clash教程、免费公益节点、最新clash免费节点订阅地址、clash免费节点每日更新

clashfreefq
clashgithub.com
16.1k1.3k