taamarin / box_for_magisk

Transparent Proxy for Android(root)
GNU General Public License v3.0
1.31k stars 130 forks source link
android clash magisk-module shell-scripts sing-box v2ray xray

Box for Root

ID EN CN

BOX
BOX

Transparent Proxy for Android(root)

[![android](https://img.shields.io/badge/Android-3DDC84?style=for-the-badge&logo=android&logoColor=white)]() [![releases](https://img.shields.io/github/downloads/taamarin/box_for_magisk/total.svg?style=for-the-badge)](https://github.com/taamarin/box_for_magisk/releases)

This project is a Magisk, KernelSU, APatch module which includes clash, sing-box, v2ray and xray proxies.

Apk Manager

BFR Manager Download optional

note: notifications will appear continuously, to fix this open Magisk Manager, Click SuperUser, search BoxForRoot, disable logs and notifications

Module Directory

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

notes: before editing the file /data/adb/box/settings.ini, make sure BFR is turned off

Manage service start / stop

The following core services are collectively referred to as BFR

BFR service is auto-run after system boot up by default. You can use Magisk/KernelSU Manager App to manage it. Starting the service may take a few seconds, stopping it may take effect immediately.

notes: if it doesn't work you can use the command:


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

stop

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



## Credits
- [CHIZI-0618/box4magisk](https://github.com/CHIZI-0618/box4magisk)