I run one server
Use this order. Each step is a page of this manual; open it, do that step, then come back here.
Before you start
Section titled “Before you start”A KVM or Xen server outside the country your clients are in, with Debian, Ubuntu, RHEL-family or Fedora. See Requirements.
The path
Section titled “The path”- Install — run the installer, open the ports it prints, sign in once.
- HTTPS — a domain or an IP certificate so the panel and any later bridges can join safely.
- First sign-in — change the password, look at Overview, find the default client.
- Inbounds — one WireGuard or AmneziaWG inbound on this server.
- Clients and plans — add a client, open its link on a phone, confirm it connects.
- Backups and restore — turn on daily backups and keep one copy off the server.
How to check it worked
Section titled “How to check it worked”A client imports the link and browses. sudo aftab status is healthy. A backup file exists under /etc/aftab/backups/ or in your download folder.
If it does not
Section titled “If it does not”Troubleshooting starts with the panel not opening and a client that cannot connect. FAQ has the short answers.
What this path does not change
Section titled “What this path does not change”It does not set up Iran bridges, exits, the Telegram shop or resellers. For those see I serve clients in Iran and I sell to others.