NetPanel
Web dashboard untuk mengelola perangkat jaringan Cisco IOS lewat SSH, tanpa perlu membuka terminal. A web dashboard for managing Cisco IOS network devices over SSH, without opening a terminal.
FiturFeatures
- Dashboard
- Daftar semua device dari
inventory.json(host, port, tipe, role).Every device frominventory.json(host, port, type, role). - Device detail
- Lihat interface aktif, lalu ubah IP, deskripsi interface, atau port SSH.See active interfaces, then change an IP, interface description or the SSH port.
- Quick connect
- Koneksi ad-hoc ke device di luar inventory.Ad-hoc connection to a device outside the inventory.
- Batch actions
- Kirim konfigurasi ke banyak device sekaligus dengan format CSV.Push configuration to many devices at once in a CSV format.
- Kredensial per devicePer-device credentials
- Kredensial SSH tiap device disimpan di session sisi server.Each device's SSH credentials live in a server-side session.
- KonfirmasiConfirmation
- Aksi destruktif (
delete,change,ssh_port) minta konfirmasi sebelum diterapkan.Destructive actions (delete,change,ssh_port) ask for confirmation before applying.
Alur kerjaWorkflow
-
Login
Autentikasi berbasis session dengan proteksi CSRF.Session-based login with CSRF protection.
-
Dashboard
Pilih device dari inventory.Pick a device from the inventory.
-
Pilih modePick a mode
Device detail (SSH otomatis), quick connect, atau batch actions.Device detail (auto SSH), quick connect, or batch actions.
-
KonfirmasiConfirm
Aksi destruktif lewat dialog konfirmasi dulu; aksi biasa langsung jalan.Destructive actions go through a confirmation dialog; normal ones run directly.
-
Apply
Konfigurasi dikirim lewat Netmiko, lalu
write memory.Config is sent through Netmiko, thenwrite memory.
Batch actions
Satu baris = satu perubahanOne line = one change
r1;r2, GigabitEthernet0/0, add, 10.0.0.1/30r3, GigabitEthernet0/1, description, Uplink ke ISPr1, , ssh_port, 2222# Baris ini diabaikan (komentar)# This line is ignored (a comment)
- add / change
- Set IP address (CIDR).Set an IP address (CIDR).
- delete / remove
- Hapus IP dari interface.Remove an IP from the interface.
- description
- Ubah deskripsi interface.Change the interface description.
- ssh_port
- Ubah port SSH global router.Change the router's global SSH port.
KeamananSecurity
- CSRF
- Token Flask-WTF di setiap form POST.A Flask-WTF token on every POST form.
- Sanitasi CLICLI sanitising
- Karakter seperti
;|&dan newline diblokir sebelum masuk ke perintah Cisco.Characters like;|&and newlines are blocked before they reach a Cisco command. - Kredensial SSHSSH credentials
- Disimpan di session sisi server, bukan di cookie.Stored in a server-side session, not in a cookie.
- Secret key
- Dibaca dari environment variable; di development ada fallback file lokal supaya session stabil.Read from environment variables, with a local file fallback in development so sessions stay stable.