Marzban Management Suite - a unified tool for managing Marzban panels with multi-server support.
- VLESS Flow Management - Set/clear
xtls-rprx-visionflow on all users - IP Limiting - Automatic IP limiting per user with iptables banning
- Counter - Track users per admin (500MB threshold, 7-day expire gap)
- VCounter - Track volume per admin with anti-cheat rules
- Volume Limiter - Disable users exceeding configurable GB limit
- Telegram Bot - Full-featured bot with inline keyboard menus
- Multi-Server - Master/node architecture for managing multiple Marzban servers
curl -sSL https://raw.githubusercontent.com/liwyd/marzTool/main/install.sh | bashOr clone manually:
git clone https://github.com/liwyd/marzTool.git /opt/marztool
cd /opt/marztool
pip install requests
python3 marzTool.pypython3 marzTool.py # Interactive TUI
python3 marzTool.py --auto # Start daemon with saved settings
python3 marzTool.py --stop # Stop daemon
python3 marzTool.py --logs # View daemon logs
python3 marzTool.py --master # Start master API server- Runs an HTTP API server (default port 8888)
- Aggregates counter/vcounter/volume data from all nodes
- Pushes config updates to nodes
- View aggregated dashboard in TUI
- Connects to master for config overrides
- Pushes local data (counter/vcounter/volume) to master
- Runs independently if master is unreachable
- Full TUI and daemon like standalone mode
- Master: Install on one server, run TUI, configure Master/Node > Master mode
- Nodes: Install on other servers, run TUI, configure Master/Node > Node mode with master URL
- Daemon: Start daemon on all servers (
python3 marzTool.py --auto)
curl -sSL https://raw.githubusercontent.com/liwyd/marzTool/main/uninstall.sh | bashOr run from within the tool:
marztool --uninstallThis will:
- Stop the daemon and web dashboard processes
- Remove the
/usr/local/bin/marztoolcommand - Delete the
/opt/marztooldirectory - Clean up all temp files from
/tmp/marztool
- Python 3.10+
requestslibraryflask(only for master mode)python-telegram-bot(optional, for Telegram bot)- Linux:
iptablesfor IP limiting
All settings stored in SQLite database (marztool.db). Configure via TUI:
- Server URL and credentials
- Flow mode (set/clear)
- IP limiting
- Counter/VCounter (mutually exclusive)
- Volume limit
- Telegram bot
- Master/Node mode