What AFTAB is
AFTAB is a web panel for your own VPN server. You install it on a rented Linux server with one command, then make and manage clients from your browser. It works with WireGuard and AmneziaWG, and it is built for people whose users are in Iran.
What you do with it
Section titled “What you do with it”- Make clients. Pick the traffic and the number of days, then share a link or a QR code. Each client gets a page with their usage and the right config for their app: WireGuard, AmneziaWG, sing-box, Clash / Mihomo, v2rayN and others.
- Put a bridge in Iran. The panel runs on a server abroad, and a small bridge on a server inside Iran passes the traffic on. Every few minutes AFTAB tests each connection from Iran, so clients can see which one works right now.
- Choose the route. Iranian sites can skip the VPN. Rules work by country, domain list or port, and exits can fail over to each other.
- Sell. Plans and renewals, resellers with credit or a traffic pool and their own branding, and a shop in Telegram.
- Use it in your language. The panel is in Persian and English, right to left, with the Solar Hijri calendar, on phones as well as computers.
AmneziaWG packets do not carry WireGuard’s usual signature, which is why it is offered next to plain WireGuard.
How it runs
Section titled “How it runs”AFTAB is one program with one database, /etc/aftab/aftab.db. The panel writes what you set to that database, then makes the server match it: the WireGuard links, the routes and the firewall rules. It only ever touches network interfaces it created itself, named aftab, aftabx or aftabb followed by a number, for inbounds, exits and bridges.
Releases are compiled and signed. The installer checks the signature, and nothing is compiled on your server. AFTAB is free to install and use under its licence; the source code is not published.
Where to go next
Section titled “Where to go next”Read Requirements to choose a server, then Install. After that, First sign-in shows the panel and your first client, and HTTPS puts a padlock on the panel. The groups after Start cover setting things up, selling, keeping the panel healthy, and the reference.