Modern terminal manager for creating and operating Backhaul tunnels with a clean interactive workflow.
Join the Telegram channel for updates, notes, and more BackhaulManager content: @B3hnamR
- Interactive Iran/Kharej role selection with auto-detection
- One-command Backhaul binary install/update flow
- Guided tunnel creation for
tcp,tcpmux,wsmux, andwssmux - Preset and advanced tuning modes for production-style configs
- Systemd service generation, start/stop/restart, live logs, and deletion
- Config backup/restore and firewall helper for UFW or iptables
- Built-in two-way link test for ping and TCP reachability checks
- WSSMUX TLS certificate generation with OpenSSL
- Linux server with
systemd - Root access
bash,curlorwget,tar- Optional:
ufw,iptables,openssl
chmod +x backhaul-manager.sh
sudo ./backhaul-manager.shUse Install / Update Binary first if Backhaul is not installed yet, then create a tunnel from the main menu.
For the best default experience, choose WSSMUX as the tunnel transport and use Preset mode for tuning parameters.
- Run the script on the Iran server and choose
IRAN. - Create a tunnel and copy the generated transport, port, and token.
- Run the script on the Kharej server and choose
KHAREJ. - Create the matching tunnel using the Iran server address and the same token.
- Use Manage Tunnels to inspect status, follow logs, restart, edit, or delete services.
- Generated configs are stored in
/etc/backhaul. - Services are created as
backhaul-<role>-<transport>-<port>.service. - Existing configs are backed up before overwrite/edit/delete operations.
- For WSSMUX, the script can generate a self-signed TLS certificate automatically.
No license has been added yet.
