+965 9727 1175 info@a1-soft.com
AR | EN | FR

مرجع سطر الأوامر (a1ctl)CLI Reference (a1ctl)

أداة a1ctl تدير الجهاز بالكامل من الطرفية أو SSH — مثالية للأتمتة والنسخ الاحتياطي وخطوط CI.The a1ctl tool manages the whole appliance from the terminal or SSH — ideal for automation, backups, and CI pipelines.

الأوامر الأساسيةCore Commands

a1ctl status            # حالة النظام والخدمات
a1ctl iface list        # الواجهات والعناوين
a1ctl nat add ...       # إضافة قاعدة NAT
a1ctl fw rule add ...   # قاعدة جدار حماية
a1ctl wan status        # حالة Multi-WAN
a1ctl config backup     # نسخة احتياطية للإعداد
a1ctl status            # system & services status
a1ctl iface list        # interfaces & addresses
a1ctl nat add ...       # add a NAT rule
a1ctl fw rule add ...   # firewall rule
a1ctl wan status        # Multi-WAN status
a1ctl config backup     # back up the config

النسخ الاحتياطي والاستعادةBackup & Restore

a1ctl config backup --out fw.json يصدّر الإعداد كاملًا؛ a1ctl config restore fw.json يستعيده. الملفات نصية (JSON) قابلة للإصدار في Git.
a1ctl config backup --out fw.json exports the full config; a1ctl config restore fw.json restores it. Files are plain JSON, versionable in Git.

الأتمتةAutomation

كل أمر يدعم --json لمخرجات قابلة للتحليل، وأكواد خروج معيارية (0 نجاح) — مناسب للسكربتات وأنابيب النشر.
Every command supports --json for parseable output and standard exit codes (0 = success) — suitable for scripts and deployment pipelines.

العودة إلى الوثائقBack to Docs