AminMGMT/BackPack
حول
BackPack is a high-performance tunnel engine for connecting Iran ⇄ abroad (kharej) servers
الأنظمة والبنية التحتيةالنمو المقاس للنجوم
- خلال 24 ساعة
- +١
- خلال 7 أيام
- +٤
- خلال 15 يومًا
- +٢٣
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل
BackPack
High-performance tunneling between Iran and abroad — built in Go.
Tutorials · Documentation · فارسی · Русский · Telegram · Community
Quick Start
1. Install
On both servers:
bash <(curl -fsSL https://raw.githubusercontent.com/AminMGMT/BackPack/main/install.sh)
Then:
sudo backpack
The installer downloads the release for the server architecture, verifies its published checksum, installs it and opens the CLI.
Supported release architectures currently include:
x86_64 → amd64
aarch64 → arm64
If the server cannot reach GitHub, BackPack also supports a completely offline installation.
See Installation.
2. Configure the Iran server
sudo backpack
Then:
1. Setup Iran
→ Reverse
→ Transport
→ Iran IP Or Domain (the detected one is the default)
→ Tunnel Port
→ Forwarded Ports
→ Tunnel Name
→ Security Token (generated — press Enter)
→ Carry UDP As Well As TCP
→ the transport's own questions (certificate for WSS, flags for PCK, …)
→ How Should The Tunnel Be Tuned?
The summary before Create This Tunnel shows a one-line Setup Link (backpack://…). Copy it.
For a first deployment, TCP is the simplest starting point.
3. Configure the kharej server
sudo backpack
Then:
2. Setup Kharej
→ Reverse
→ Same transport
→ Setup Link → paste the link → Tunnel Name → Create This Tunnel
Manual is there too: Iran IP, the same tunnel port, a name, the same token, the same preset.
4. Check the tunnel
Use:
Manage → Status
Then:
Manage → Health Check
If you are unsure which transport to use:
Manage → Link Test
Link Test measures the route over TCP, including latency, jitter and packet loss, and recommends a suitable transport.
See Choosing a transport.
Documentation
BackPack intentionally separates setup tutorials from technical reference.
Tutorials
The tutorial/ directory explains how to actually build a tunnel, step by step, following the CLI wizard.
Start here
Reverse transports
- TCP
- TCP Mux
- TCP + Stealth
- TCP + PCK
- UDP
- UDP + KCP + FEC
- UDP + QUIC
- WS / WS Mux
- WSS / WSS Mux
- xDi / ICMP
Special deployments
- Forwarded UDP
- Behind X-UI / 3x-ui / Marzban
- Direct tunnel (stream engine) — removed in v2.0.0
- IP Spoofing
Documentation reference
Architecture & internals
Transports & networking
- Transports
- Choosing a transport
- Transport fallback
- Direct layer-3 tunnel
- Direct stream tunnel — removed in v2.0.0
- TCP + PCK
- IP Spoofing
- Port mappings
- Forwarded UDP
- TCP MSS clamp
- Filtered / dirty IP
- WSS camouflage
Operations
- Installation
- CLI menu
- Server layout
- Web Panel
- Web Panel screens
- Managed servers
- Health Check
- Tunnel Metrics
- Monitor service
- Troubleshooting
Reliability & maintenance
- Failover & load balancing
- Transport fallback
- Backup & Restore
- Updates & rollback
- Performance presets
- Per-tunnel limits
- Real client IP
Management & security
Development
Every documentation page includes a Persian summary where applicable.
License
Copyright © 2026 Amin Mohammadi (AminMGMT).
BackPack is released under the GNU Affero General Public License v3.0 (AGPL-3.0).
See:
You may use, study, modify, redistribute and build a business on BackPack under the terms of the license.
Additional attribution and trademark conditions apply.
Attribution
Modified versions must keep this line, unaltered, in their README (and in NOTICE):
Based on BackPack by Amin Mohammadi (AminMGMT)
https://github.com/AminMGMT/BackPack
Name & logo
BackPack, its name and logo are not licensed as part of the source code.
Forks should use their own name and branding.
It is permitted to truthfully state that a project is based on or compatible with BackPack.
See TRADEMARK.md for the complete terms.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…