✓ ✕ ℹ
{{ t.title }}
{{ t.message }}

JayaNet VPN Platform

Control Plane Authentication

⚠ {{ loginError }}
JayaNet Autonomous NOC System • Phase 4A Ready

{{ viewTitles[currentView] || 'Infrastructure NOC Dashboard' }}

SYSTEM HEALTHY
Total VPN Servers
{{ stats.total_nodes || 0 }}
Dedicated Server Nodes
Total Clients
{{ stats.total_clients || 0 }}
Connected peers
WireGuard Clients
{{ stats.wireguard_clients || 0 }}
High speed peers
OpenVPN Clients
{{ stats.openvpn_clients || 0 }}
SSL/TLS peers
L2TP/IPsec Clients
{{ stats.l2tp_clients || 0 }}
IPsec encrypted
MikroTik Routers
{{ mtRouters.length }}
Managed ROS devices

VPN Server Nodes

Pengelolaan node fisik dan VPS yang menjalankan engine VPN

Node Name Host IP & Port Auth Type Status SSH Latency Last Tested Actions
{{ n.name }} {{ n.host_ip }}:{{ n.ssh_port }} {{ n.ssh_auth_type }} {{ n.status }} {{ n.latency_ms ? n.latency_ms + ' ms' : '—' }} {{ formatDate(n.last_tested) }}

MikroTik RouterOS Dashboard

Ringkasan status perangkat RouterOS, kompatibilitas versi, dan koneksi API

Total MikroTik
{{ mtDashboard.total_routers || 0 }}
Semua unit terdaftar
API Online
{{ mtDashboard.api_online || 0 }}
Port 8728 responsif
API Offline
{{ mtDashboard.api_offline || 0 }}
Belum tersambung
API Error
{{ mtDashboard.api_error || 0 }}
Autentikasi / Timeout
RouterOS v6
{{ mtDashboard.ros6_count || 0 }}
Legacy kernel
RouterOS v7
{{ mtDashboard.ros7_count || 0 }}
Modern WireGuard & OVPN UDP
Fully Compatible
{{ mtDashboard.compatible_count || 0 }}
Siap untuk VPN provisioning
Requires Review
{{ mtDashboard.requires_review || 0 }}
Perlu mitigasi konfigurasi

Distribusi Protokol VPN TARGET BINDING

{{ proto }} {{ cnt }}

Distribusi Area Operasional LOKASI NOC

{{ area }} {{ cnt }}

MikroTik Router Inventory

Daftar inventaris router MikroTik, parameter koneksi, dan status asosiasi VPN

Router & Identity Area / Model RouterOS VPN Binding API Status VPN Status Last Checked Actions
Belum ada router MikroTik terdaftar. Klik 'Tambah Router' di atas.
{{ r.name }}
{{ r.identity || 'MikroTik' }}
{{ r.area || '—' }}
{{ r.model || r.architecture || 'RB Device' }}
{{ r.ros_version ? 'v' + r.ros_version : r.ros_family }}
{{ r.vpn_protocol || 'NONE' }}
{{ r.vpn_ip || 'No IP' }}
{{ r.api_status }} {{ r.vpn_status || 'DISCONNECTED' }} {{ formatDate(r.last_checked_at) }}

RouterOS API Connection Manager

Pengujian konektivitas API asynchronous, diagnostik Port 8728/8729, dan verifikasi read-only allowlist

Test Router API

Simulation / Mock Mode:

Mode simulasi aman digunakan saat router fisik tidak dapat diakses langsung dari host Control Plane.

Read-Only Allowlist Protocol
• /system/identity/print
• /system/resource/print
• /system/routerboard/print
• /interface/print
• /ip/address/print
Write operations STRICTLY FORBIDDEN di Phase 4A.

Hasil Diagnostik API {{ apiTestResult.success ? 'SUCCESS' : 'FAILED' }} ({{ apiTestResult.latency_ms }} ms)

Silakan pilih router dan klik 'Jalankan Uji Koneksi API' untuk melihat telemetry hardware dan resource.
{{ apiTestResult.message }}
IDENTITY
{{ apiTestResult.identity || '—' }}
ROUTEROS
{{ apiTestResult.ros_version || '—' }}
MODEL / BOARD
{{ apiTestResult.model || '—' }}
ARCHITECTURE
{{ apiTestResult.architecture || '—' }}
System Resources
CPU Load: {{ apiTestResult.resources.cpu_load || 0 }}%
Uptime: {{ apiTestResult.resources.uptime || '—' }}
Free Memory: {{ Math.round((apiTestResult.resources.free_memory || 0) / 1024 / 1024) }} MB

RouterOS Compatibility Checker

Analisis kompatibilitas fitur VPN (WireGuard, OpenVPN, L2TP/IPsec) antara RouterOS v6 dan v7

Pilih versi umum: ,
HASIL EVALUASI UNTUK: RouterOS v{{ compatResult.version_info.raw_version }} {{ compatResult.version_info.ros_family }}
Kernel: {{ compatResult.version_info.kernel_version }}
⚡ WireGuard {{ compatResult.wireguard.supported ? 'SUPPORTED' : 'UNSUPPORTED' }}

{{ compatResult.wireguard.recommendation }}

• {{ w }}
🔒 OpenVPN {{ compatResult.openvpn.supported ? 'SUPPORTED' : 'UNSUPPORTED' }}

{{ compatResult.openvpn.recommendation }}

Mode Transport: {{ compatResult.openvpn.transport_modes.join(', ') }}
• {{ w }}
🛡 L2TP/IPsec {{ compatResult.l2tp_ipsec.supported ? 'SUPPORTED' : 'UNSUPPORTED' }}

{{ compatResult.l2tp_ipsec.recommendation }}

IKE Versions: {{ compatResult.l2tp_ipsec.ike_versions.join(', ') }}
• {{ w }}

VPN Provisioning Simulator

Simulasi dan preview konfigurasi RouterOS (.rsc) tanpa menyentuh perangkat fisik

⚠️
SIMULATION ONLY — READ-ONLY SAFETY LOCK ACTIVE

Pada Phase 4A, seluruh eksekusi bersifat simulasi terisolasi di memori. Tidak ada perintah CLI atau API write yang dikirimkan ke router MikroTik fisik maupun VPN Server Node. Fitur provisioning otomatis fisik ditahan hingga Phase 4B setelah persetujuan eksplisit.

Generate Provisioning Script

STATUS TRANSAKSI: {{ currentSimResult.protocol_name || currentSimResult.target_protocol }} {{ currentSimResult.status }} MODE: MOCK_ONLY (ZERO WRITE)
Preview SHA-256 Hash:
{{ currentSimResult.preview_hash || 'N/A' }}
Hasil Eksekusi State Machine: {{ provExecutionResult.status }} ID: {{ provExecutionResult.transaction_id }}
🚨 PERHATIAN: Rollback otomatis gagal atau terjadi inkonsistensi status. Intervensi manual Super Admin diperlukan! Jangan mengeksekusi provisioning ulang sebelum router diperiksa.
🔒 Backup: {{ provExecutionResult.backup_metadata.backup_name }} (Re-enkripsi Vault AES-256-GCM Terverifikasi)
Riwayat Rollback Kompensasi LIFO ({{ provExecutionResult.rollback_count }} langkah dibatalkan):
↩️ {{ rb.command }} [{{ rb.status }}]
Deteksi Konflik / Batasan:
• {{ w }}
{{ currentSimResult.rsc_script || currentSimResult.script_preview }}
{{ idx + 1 }}. {{ cmd.cli || cmd }}
↩️ {{ idx + 1 }}. {{ cmd.cli }}

RouterOS Connection Audit Logs

Riwayat jejak audit koneksi API, status endpoint, latensi, dan pesan diagnostik

Timestamp Action / Endpoint Status Duration Error / Details
Belum ada log koneksi tercatat.
{{ formatDate(l.created_at) }} {{ l.action }} {{ l.status }} {{ l.duration_ms }} ms {{ l.error_message || '—' }}

{{ isEditingNode ? 'Edit Server Node' : 'Tambah Server Node Baru' }}

Node Health Telemetry

OS: {{ healthData.os_release }}
Kernel: {{ healthData.kernel }}
Uptime: {{ healthData.uptime }}
CPU
{{ healthData.cpu_usage_pct }}%
RAM
{{ healthData.ram_pct }}%
DISK
{{ healthData.disk_pct }}%

{{ isEditingRouter ? 'Edit Router MikroTik' : 'Tambah Router MikroTik Baru' }}

RouterOS API Connection (Port 8728/8729)
VPN Binding Associations

{{ selectedRouter.name }} ({{ selectedRouter.identity || 'MikroTik' }})

{{ selectedRouter.area || 'Operational Area' }} • {{ selectedRouter.location || 'Location' }}
API STATUS
{{ selectedRouter.api_status }}
VPN STATUS
{{ selectedRouter.vpn_status || 'DISCONNECTED' }}
ROUTEROS
{{ selectedRouter.ros_version ? 'v' + selectedRouter.ros_version : selectedRouter.ros_family }}
LAST CHECKED
{{ formatDate(selectedRouter.last_checked_at) }}
Model / Board: {{ selectedRouter.model || '—' }}
Serial Number: {{ selectedRouter.serial_number || '—' }}
Architecture: {{ selectedRouter.architecture || '—' }}
Identity: {{ selectedRouter.identity || '—' }}
RouterOS Family: {{ selectedRouter.ros_family }}
API Address: {{ selectedRouter.api_address }}:{{ selectedRouter.api_port }}
Username: {{ selectedRouter.api_username }}
Credential Vault: {{ selectedRouter.credential_ref ? 'STORED (AES-256-GCM)' : 'NOT SET' }}
VPN Protocol: {{ selectedRouter.vpn_protocol || 'NONE' }}
Assigned Client VPN IP: {{ selectedRouter.vpn_ip || '—' }}
Target VPN Node ID: {{ selectedRouter.vpn_node_id || '—' }}
Memuat kompatibilitas...
Evaluasi RouterOS v{{ detailCompatData.version_info.raw_version }}
Kernel: {{ detailCompatData.version_info.kernel_version }}
WireGuard
{{ detailCompatData.wireguard.supported ? 'SUPPORTED' : 'UNSUPPORTED' }}
OpenVPN
{{ detailCompatData.openvpn.supported ? 'SUPPORTED' : 'UNSUPPORTED' }}
L2TP/IPsec
{{ detailCompatData.l2tp_ipsec.supported ? 'SUPPORTED' : 'UNSUPPORTED' }}
Belum ada riwayat aktivitas untuk router ini.
{{ l.action }} {{ formatDate(l.created_at) }}
{{ l.status }} ({{ l.duration_ms }} ms)