Skip to content

All settings

Every setting on the panel’s Settings page (AFTAB 0.0.0), with its key, its label in the panel and its default. Read one with aftab get KEY and change it with aftab set KEY VALUE. Secrets, such as the hash of the admin password, the signing keys and the Telegram bot token, are not in this list, and aftab get and aftab set refuse them.

“Owner only”: only the owner’s account may change it, even an admin who has the Settings section. “Restarts”: changing it makes the panel start its web server again. “Kind” is one of string (text), int (a whole number) and bool (true or false).

Key Label in the panel Kind Default Owner only Restarts
brand_name Brand name string AFTAB — —
full_mode Selling and operator tools bool false — —
web_listen Listen IP string "" — yes
web_port Panel port int 2053 — yes
web_base_path Panel path string / — yes
web_domain Panel domain string "" yes —
web_cert_file TLS certificate file string "" yes yes
web_key_file TLS private key file string "" yes yes
session_hours Session length (hours) int 168 yes —
admin_username Admin username string admin — —
public_host Public address string "" yes —
sub_enabled Subscription service bool true — yes
status_page Public status page bool false — —
sub_listen Listen IP string "" — yes
sub_port Subscription port int 2096 — yes
sub_path Subscription path string /sub/ — yes
sub_cert_file TLS certificate file string "" yes yes
sub_key_file TLS private key file string "" yes yes
sub_public_url Public subscription URL string "" yes —
sub_title Page title (empty = brand name) string "" — —
sub_logo Logo string "" — —
sub_support_url Support link string "" — —
default_dns Default DNS string 1.1.1.1, 8.8.8.8 — —
default_mtu Default MTU int 1232 — —
perf_bbr BBR congestion control bool true — —
perf_fastpath Software fast path (experimental) bool false — —
perf_conntrack Connection tracking tuning bool true — —
perf_rps Use all CPU cores for packets (RPS) bool true — —
traffic_interval Traffic update interval (s) int 5 — —
perf_cake CAKE queue on the uplink bool false — —
perf_cake_mbit Uplink speed (Mbit/s) int 0 — —
house_expired_days Delete clients expired for (days) int 0 — —
house_unused_days Disable clients unused for (days) int 0 — —
shared_action One config on several devices at once string alert — —
guard_enabled Block repeated failed sign-ins bool true yes —
guard_attempts Failed attempts int 5 yes —
guard_window Within (minutes) int 10 yes —
guard_ban Block for (minutes) int 60 yes —
autobackup_enabled Daily backups bool true yes —
autobackup_keep Backups to keep int 7 yes —
autobackup_hour Backup time int 3 yes —
update_auto_download Download new updates automatically bool true — —
update_channel Update channel string stable — —
tg_enabled Telegram bool false yes —
tg_chats Telegram chats string "" yes —
tg_lang Telegram language string en yes —
tg_alerts Telegram alerts string bridges,security,system yes —
tg_backup Daily backup to Telegram bool false yes —
node_addresses Node panel addresses string "" yes —
tg_bot Telegram commands bool true yes —
tg_api Telegram API address string https://api.telegram.org yes —
tg_clients Telegram alerts for clients bool false yes —
geo_sources Routing lists string "" — —
geo_auto_hours Routing list interval int 24 — —
trusted_proxies Trusted proxies string "" yes —
privacy_hide_ips Hide clients’ IP addresses bool false yes —
require_2fa Require two-factor sign-in for admins and resellers bool false yes —
hsts Tell browsers to use HTTPS only (HSTS) bool false yes —
backup_encrypt Encrypt backups bool true yes —
time_zone Time zone string Asia/Tehran — —